Re: 2.6.10 devfs oops without devfs mounted at all

From: Andrew Morton
Date: Wed Feb 09 2005 - 19:33:54 EST


"Sergey S. Kostyliov" <rathamahata@xxxxxxxxx> wrote:
>
> Here is an oops I've just get on my smp system:
>
> Unable to handle kernel NULL pointer dereference at virtual address 0000001c
> printing eip:
> c01afe5b
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT SMP
> Modules linked in: ipt_REJECT ipt_state ip_conntrack iptable_filter
> CPU: 2
> EIP: 0060:[<c01afe5b>] Not tainted VLI
> EFLAGS: 00010286 (2.6.10)
> EIP is at devfsd_close+0x1b/0xc8
> eax: f7440a00 ebx: 00000000 ecx: c01afe40 edx: ed395280
> esi: 00000000 edi: f7f17800 ebp: f74f96c8 esp: cdc70f84
> ds: 007b es: 007b ss: 0068
> Process megamgr.bin (pid: 12844, threadinfo=cdc70000 task=dd81e520)
> Stack: ed395280 ed395280 00000000 f7f17800 c0150c76 ee9e87f8 ed395280 00000000
> f1985c80 cdc70000 c014f50f 00000003 00000003 080caa60 00000000 c01024df
> 00000003 080cc700 bfffe4f8 080caa60 00000000 bfffe4fc 00000006 0000007b
> Call Trace:
> [<c0150c76>] __fput+0x106/0x120
> [<c014f50f>] filp_close+0x4f/0x80
> [<c01024df>] syscall_call+0x7/0xb

Can you work out what file is being closed? One way of doing that would be
to work out how megamgr.bin is being invoked and to then run it by hand:

strace -f -o log megamgr.bin <args>

and we can then use the strace output to work out the pathname of the
offending file.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/