First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 217323
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tobias Klausmann <klausman@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dmesg.txt dmesg including sysctl/uac messages text/plain Tobias Klausmann 2008-04-11 18:37 0000 12.61 KB Details
alpha-sysctl-uac-updated.patch updated alpha uac patch patch Mike Pagano 2008-04-12 00:34 0000 4.83 KB Details | Diff
alpha-sysctl-uac-updated.patch updated patch patch Mike Pagano 2008-04-12 13:50 0000 4.82 KB Details | Diff
alpha-sysctl-uac-updated.patch New updated patch patch Mike Pagano 2008-04-12 15:07 0000 4.76 KB Details | Diff
dmesg2.txt boot messages for patch #3 text/plain Tobias Klausmann 2008-04-12 15:24 0000 6.00 KB Details
alpha-sysctl-uac-updated.patch new patch number 4 patch Mike Pagano 2008-04-13 21:26 0000 4.61 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 217323 depends on: Show dependency tree
Bug 217323 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-11 18:36 0000
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.

------- Comment #1 From Tobias Klausmann 2008-04-11 18:37:08 0000 -------
Created an attachment (id=149427) [details]
dmesg including sysctl/uac messages

------- Comment #2 From Mike Pagano 2008-04-12 00:34:54 0000 -------
Created an attachment (id=149448) [details]
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?

------- Comment #3 From Tobias Klausmann 2008-04-12 09:31:03 0000 -------
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

------- Comment #4 From Mike Pagano 2008-04-12 13:50:50 0000 -------
Created an attachment (id=149483) [details]
updated patch

New patch.

------- Comment #5 From Tobias Klausmann 2008-04-12 14:18:00 0000 -------
 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

------- Comment #6 From Mike Pagano 2008-04-12 15:07:17 0000 -------
Created an attachment (id=149485) [details]
New updated patch 

Thank-you, Tobias, for the alpha access. This one actually compiles.

------- Comment #7 From Tobias Klausmann 2008-04-12 15:24:41 0000 -------
Created an attachment (id=149487) [details]
boot messages for patch #3

It now compiles, but there still are similar error messages (yet slightly
different ones) as initially.

------- Comment #8 From Mike Pagano 2008-04-13 21:26:50 0000 -------
Created an attachment (id=149614) [details]
new patch number 4

Please test when you have a chance.

------- Comment #9 From Tobias Klausmann 2008-04-14 17:49:07 0000 -------
That seems to have done it. No more strange messages and the sysctl works as
advertised. Thanks a bunch!

------- Comment #10 From Daniel Drake 2008-04-19 21:20:01 0000 -------
fixed in gentoo-sources-2.6.24-r6 / genpatches-2.6.24-7, thanks for the testing

First Last Prev Next    No search results available      Search page      Enter new bug