Skip to contentSkip to conversation

some minor issues with 2.6.25-rc6-git7-default

PATCH New [email protected] 3 participants 3 messages Mar 26, 2008 – Mar 30, 2008

Subsystems (4)
lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

Can you post the full kernel log up to this BUG?
It should show that causes the Taint.

oh - yes:

Mar 23 09:12:20 opensuse103 kernel: ac97_codec: module license 'unspecified' taints kernel.

modinfo ac97_codec

filename:       /lib/modules/2.6.25-rc6-git7-default/kernel/sound/oss/ac97_codec.ko
srcversion:     8665939D5E471F7E331BB3E

depends:
vermagic: 2.6.25-rc6-git7-default SMP mod_unload 586

seems MODULE_LICENSE is missing in ./sound/oss/ac97_codec.c !?

Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 12 lines

CCing Dave Brownell.

Quoted 10 lines
Mar 23 09:14:23 opensuse103 kernel: Generic RTC Driver v1.07
Mar 23 09:14:23 opensuse103 kernel: proc_dir_entry 'rtc' already registered
Mar 23 09:14:23 opensuse103 kernel: Pid: 3994, comm: modprobe Tainted: P         2.6.25-rc6-git7-default #1
Mar 23 09:14:23 opensuse103 kernel:  [<c019a602>] proc_register+0xf3/0x11f
Mar 23 09:14:23 opensuse103 kernel:  [<c019a719>] create_proc_entry+0x69/0x7b
Mar 23 09:14:23 opensuse103 kernel:  [<e0c5f02d>] rtc_generic_init+0x2d/0x54 [genrtc]
Mar 23 09:14:23 opensuse103 kernel:  [<c013c1de>] sys_init_module+0x16b6/0x17c9
Mar 23 09:14:23 opensuse103 kernel:  [<c0108a6a>] sys_mmap2+0x62/0x77
Mar 23 09:14:23 opensuse103 kernel:  [<c01059c4>] sysenter_past_esp+0x6d/0xa9
Mar 23 09:14:23 opensuse103 kernel:  =======================

uh, "known problem": multiple rtc drivers are being run.

I don't really understand why we haven't been able to fix this - there have been numerous reports..

Quoted 6 lines
Quoted 1 line

i will take a closer look to determine how/when this happens.

I thought that David B. sent a (Kconfig ?) patch for this...

---
~Randy

do you mean this one ?

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=55ff1aba940ff46d4f6d4fd790ea3e1a47aaa84f

ok, it may be sort of "dumb" to blindly load one module after the other but i would expect a more meaningful message.

regards
roland
_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114

#1 lore raw
Quoted 7 lines · [email protected] wrote:
Quoted 2 lines

Can you post the full kernel log up to this BUG?
It should show that causes the Taint.

oh - yes:

Mar 23 09:12:20 opensuse103 kernel: ac97_codec: module license 'unspecified' taints kernel.
Quoted 8 lines

modinfo ac97_codec

filename:       /lib/modules/2.6.25-rc6-git7-default/kernel/sound/oss/ac97_codec.ko
srcversion:     8665939D5E471F7E331BB3E

depends:
vermagic: 2.6.25-rc6-git7-default SMP mod_unload 586

seems MODULE_LICENSE is missing in ./sound/oss/ac97_codec.c !?

It was recently removed for some reason.

I get the impression that you (we) should be using ALSA drivers/codecs instead of the OSS ones that in the process of being removed.

Quoted 19 lines
Quoted 19 lines
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines

CCing Dave Brownell.

Quoted 10 lines
Mar 23 09:14:23 opensuse103 kernel: Generic RTC Driver v1.07
Mar 23 09:14:23 opensuse103 kernel: proc_dir_entry 'rtc' already registered
Mar 23 09:14:23 opensuse103 kernel: Pid: 3994, comm: modprobe Tainted: P         2.6.25-rc6-git7-default #1
Mar 23 09:14:23 opensuse103 kernel:  [<c019a602>] proc_register+0xf3/0x11f
Mar 23 09:14:23 opensuse103 kernel:  [<c019a719>] create_proc_entry+0x69/0x7b
Mar 23 09:14:23 opensuse103 kernel:  [<e0c5f02d>] rtc_generic_init+0x2d/0x54 [genrtc]
Mar 23 09:14:23 opensuse103 kernel:  [<c013c1de>] sys_init_module+0x16b6/0x17c9
Mar 23 09:14:23 opensuse103 kernel:  [<c0108a6a>] sys_mmap2+0x62/0x77
Mar 23 09:14:23 opensuse103 kernel:  [<c01059c4>] sysenter_past_esp+0x6d/0xa9
Mar 23 09:14:23 opensuse103 kernel:  =======================
Quoted 5 lines
Quoted 4 lines

uh, "known problem": multiple rtc drivers are being run.

I don't really understand why we haven't been able to fix this - there have been numerous reports..

i will take a closer look to determine how/when this happens.

I thought that David B. sent a (Kconfig ?) patch for this...

Quoted 8 lines
Quoted 2 lines

---
~Randy

do you mean this one ?

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=55ff1aba940ff46d4f6d4fd790ea3e1a47aaa84f

ok, it may be sort of "dumb" to blindly load one module after the other but i would expect a more meaningful message.

No, I meant something else, but I can't find it just now.

Signature · 1 line
~Randy
#2 lore raw

PATCH 1/1 sound/oss/ac97_codec.c: restore MODULE_LICENSE

In reply to [email protected]
Quoted 8 lines · On Wed, Mar 26, 2008 at 09:51:34PM +0100, [email protected] wrote:
Quoted 2 lines

Can you post the full kernel log up to this BUG?
It should show that causes the Taint.

oh - yes:

Mar 23 09:12:20 opensuse103 kernel: ac97_codec: module license 'unspecified' taints kernel.

modinfo ac97_codec

Quoted 8 lines
filename:       /lib/modules/2.6.25-rc6-git7-default/kernel/sound/oss/ac97_codec.ko
srcversion:     8665939D5E471F7E331BB3E

depends:
vermagic: 2.6.25-rc6-git7-default SMP mod_unload 586

seems MODULE_LICENSE is missing in ./sound/oss/ac97_codec.c !?
...

My fault, fix below.

Quoted 2 lines

regards
roland

cu
Adrian

<-- snip -->

I accidentally removed the MODULE_LICENSE("GPL") from sound/oss/ac97_codec.c

Spotted by Roland <[email protected]>.

---
c4f4fee537525836680163622dc15b045f551d40 diff --git a/sound/oss/ac97_codec.c b/sound/oss/ac97_codec.c index 87a6726..b63839e 100644

sound/oss/ac97_codec.c +2 -0
@@ -1202,3 +1202,5 @@ static int pt101_init(struct ac97_codec * codec)
 
 EXPORT_SYMBOL(ac97_probe_codec);
 
+MODULE_LICENSE("GPL");
+