When I compile recent g-s (or a vanilla kernel with the UAC patch added) on alpha, I get multiple sysctl/uac related messages (see attached dmesgt.txt). This happens on the following kernels: 2.6.24.4 2.6.24-gentoo-r4 2.6.24-gentoo-r5 2.6.25-rc8 It doesn't happen on these: 2.6.23-gentoo-r9 2.6.23.17 Note that the *functionality* added by the UAC patch is working just fine in all cases.
Created attachment 149427 [details] dmesg including sysctl/uac messages
Created attachment 149448 [details, diff] updated alpha uac patch Here's a updated alpha uac patch I created from dsd's instructions. It's untested. Can you apply it against vanilla-2.6.24.4 and let me know the results?
Vanilla 2.6.24.4 with the patch applied doesn't compile: CC arch/alpha/kernel/traps.o arch/alpha/kernel/traps.c:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uac_table’ arch/alpha/kernel/traps.c: In function ‘init_uac_sysctl’: arch/alpha/kernel/traps.c:136: error: implicit declaration of function ‘register_sysctl_table’ arch/alpha/kernel/traps.c:136: error: ‘uac_table’ undeclared (first use in this function) arch/alpha/kernel/traps.c:136: error: (Each undeclared identifier is reported only once arch/alpha/kernel/traps.c:136: error: for each function it appears in.) cc1: warnings being treated as errors arch/alpha/kernel/traps.c:136: warning: assignment makes pointer from integer without a cast arch/alpha/kernel/traps.c: In function ‘exit_uac_sysctl’: arch/alpha/kernel/traps.c:142: error: implicit declaration of function ‘unregister_sysctl_table’ make[1]: *** [arch/alpha/kernel/traps.o] Error 1 make: *** [arch/alpha/kernel] Error 2
Created attachment 149483 [details, diff] updated patch New patch.
make all CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh <stdin>:1385:2: warning: #warning syscall fallocate not implemented CHK include/linux/compile.h CC arch/alpha/kernel/traps.o cc1: warnings being treated as errors arch/alpha/kernel/traps.c:107: warning: ‘uac_sysctl_header’ defined but not used make[1]: *** [arch/alpha/kernel/traps.o] Error 1 make: *** [arch/alpha/kernel] Error 2
Created attachment 149485 [details, diff] New updated patch Thank-you, Tobias, for the alpha access. This one actually compiles.
Created attachment 149487 [details] boot messages for patch #3 It now compiles, but there still are similar error messages (yet slightly different ones) as initially.
Created attachment 149614 [details, diff] new patch number 4 Please test when you have a chance.
That seems to have done it. No more strange messages and the sysctl works as advertised. Thanks a bunch!
fixed in gentoo-sources-2.6.24-r6 / genpatches-2.6.24-7, thanks for the testing