lkml.org 
[lkml]   [2004]   [Mar]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 9 Mar 2004 14:39:22 -0800
FromAndrew Morton <>
SubjectRe: [BUG] in generic.c, unloading alsa [Re: 2.6.4-rc2-mm1]
Malte Schröder <Malte.Schroeder@hanse.net> wrote:
>
> Hi, by trying to unload alsa (emu10k1) I get the following:
> 
> ------------[ cut here ]------------
> kernel BUG at fs/proc/generic.c:664!
> invalid operand: 0000 [#1]
> PREEMPT
> CPU:    0
> EIP:    0060:[<c0187be9>]    Not tainted VLI
> EFLAGS: 00010286
> EIP is at remove_proc_entry+0xe9/0x140
> eax: f3209cc0   ebx: f3fb85f0   ecx: f63d2140   edx: f7fece00
> esi: 00000005   edi: f375a140   ebp: 00000000   esp: f42ffe70
> ds: 007b   es: 007b   ss: 0068
> Process modprobe (pid: 1835, threadinfo=f42fe000 task=f23b7150)
> Stack: f375a140 f375a188 f375a140 f3209dc0 f375a188 f9ada470 f375a240 00000080
>        f9acfa7b f375a188 f3fb85c0 f74abe00 f74abe00 f9acf5b1 f375a240 f3fb85c0
>        f42fe000 f9acddcf f74abe00 00000002 f22989c0 c0171bde f7ff7b2c f22989c0
> Call Trace:
>  [<f9acfa7b>] snd_info_unregister+0x3b/0x70 [snd]
>  [<f9acf5b1>] snd_info_card_free+0x31/0x60 [snd]
>  [<f9acddcf>] snd_card_free+0xef/0x230 [snd]
>  [<c0171bde>] destroy_inode+0x4e/0x50
>  [<c016fca2>] dput+0x22/0x270
>  [<f9b5e3a9>] snd_card_emu10k1_remove+0x19/0x30 [snd_emu10k1]
>  [<c01f1f8b>] pci_device_remove+0x3b/0x40

This means that the driver deleted a /proc directory while it still has
live subdirectories.  Arjan says this has been observed to lead to memory
corruption later on.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:01    [from the cache]
©2003-2008