LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Re: some minor issues with 2.6.25-rc6-git7-default
@ 2008-03-26 20:51 devzero
  2008-03-26 21:04 ` Randy Dunlap
  2008-03-30 16:53 ` [2.6.25 patch] sound/oss/ac97_codec.c: restore MODULE_LICENSE Adrian Bunk
  0 siblings, 2 replies; 3+ messages in thread
From: devzero @ 2008-03-26 20:51 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Andrew Morton, alan, david-b, greg, lenb, linux-acpi, linux-ide,
	linux-kernel, linux-mtd, Rafael J. Wysocki

> 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 !?


> > > > CCing Dave Brownell.
> > > > 
> > > > > 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..
> > 
> > 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: some minor issues with 2.6.25-rc6-git7-default
  2008-03-26 20:51 some minor issues with 2.6.25-rc6-git7-default devzero
@ 2008-03-26 21:04 ` Randy Dunlap
  2008-03-30 16:53 ` [2.6.25 patch] sound/oss/ac97_codec.c: restore MODULE_LICENSE Adrian Bunk
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2008-03-26 21:04 UTC (permalink / raw)
  To: devzero
  Cc: Andrew Morton, alan, david-b, greg, lenb, linux-acpi, linux-ide,
	linux-kernel, linux-mtd, Rafael J. Wysocki

devzero@web.de wrote:
>> 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 !?

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.


>>>>> CCing Dave Brownell.
>>>>>
>>>>>> 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..
>>> 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.

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

-- 
~Randy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [2.6.25 patch] sound/oss/ac97_codec.c: restore MODULE_LICENSE
  2008-03-26 20:51 some minor issues with 2.6.25-rc6-git7-default devzero
  2008-03-26 21:04 ` Randy Dunlap
@ 2008-03-30 16:53 ` Adrian Bunk
  1 sibling, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-03-30 16:53 UTC (permalink / raw)
  To: devzero, Linus Torvalds
  Cc: Randy Dunlap, Andrew Morton, alan, david-b, greg, lenb,
	linux-acpi, linux-ide, linux-kernel, linux-mtd,
	Rafael J. Wysocki

On Wed, Mar 26, 2008 at 09:51:34PM +0100, devzero@web.de wrote:
> > 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 !?
>...

My fault, fix below.

> regards
> roland

cu
Adrian


<--  snip  -->


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

Spotted by Roland <devzero@web.de>.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
c4f4fee537525836680163622dc15b045f551d40 diff --git a/sound/oss/ac97_codec.c b/sound/oss/ac97_codec.c
index 87a6726..b63839e 100644
--- a/sound/oss/ac97_codec.c
+++ b/sound/oss/ac97_codec.c
@@ -1202,3 +1202,5 @@ static int pt101_init(struct ac97_codec * codec)
 
 EXPORT_SYMBOL(ac97_probe_codec);
 
+MODULE_LICENSE("GPL");
+


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-03-30 16:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-26 20:51 some minor issues with 2.6.25-rc6-git7-default devzero
2008-03-26 21:04 ` Randy Dunlap
2008-03-30 16:53 ` [2.6.25 patch] sound/oss/ac97_codec.c: restore MODULE_LICENSE Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).