Re: Endless kernel Oops with plain 2.3.99-pre5

From: Sascha Ziemann (szi@aibon.ping.de)
Date: Sun Apr 23 2000 - 02:30:02 EST


Manfred Spraul <manfreds@colorfullife.com> writes:

| Sascha Ziemann wrote:
| >
| > EIP: 0010:[<00000000>]
| >
| > Call Trace: [<c0123dd4>] [<c0138a52>] [<c0138b3d>] [<c0135ee9>] [<c0136098>] [<c01361be>] [<c0132f9e>]
| > [<c010956c>]
| > Code: Bad EIP value.
| >
| >
| > What goes wrong? What can I do?
|
| The kernel calls a function pointer that is NULL.
|
| If you don't have access to ksymoops, then you must manually look up the
| symbols in System.map:
| your System.map file contains a sorted list of all kernel symbols, could
| you look up the entry immediately before and after the addresses in the
| "Call Trace"?
|
| Then post these 2 lines for the 8 trace functions.

I think the problem has something to do with romfs, because I tried
the same thing with Minix and got no kernel Oops.

I tried to run ksymoops without proc and modules. I have specified
the kernel image and symbols from the crashing 2.3.99-pre5, but
ksymoops itself runs on 2.0.38 and was compiled on that. I don't
know, if the output is useful, but I don't get a warning or error, so
I think it is ok:

ksymoops 2.3.4 on i686 2.0.38. Options used
     -v kernel/vmlinux (specified)
     -K (specified)
     -L (specified)
     -O (specified)
     -m kernel/System.map (specified)

Unable to handle kernel NULL pointer dereference at virtual address 00000000
00000000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<00000000>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00000246
eax: c107a360 ebx: c106bb88 ecx: c106bba4 edx: 00000000
esi: 00000000 edi: c17fe2e8 ebp: 00000000 esp: c1077d80
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=c1077000)
Stack: c0123dd4 c107a360 c106bb88 c1076000 c107a360 c1077e1c c10a400a c0138a52
       c107bd9c 00000000 00000000 c107a360 c1076000 c0138b3d c107a360 c1077dcc
       c1076000 c107a360 00000001 00000000 c0135ee9 c107a360 c1077e1c c107bce0
Call Trace: [<c0123dd4>] [<c0138a52>] [<c0138b3d>] [<c0135ee9>] [<c0136098>] [<c011d176>] [<c0133b02>]
       [<c0134524>] [<c0119e11>] [<c010a614>] [<c0109614>] [<c0162a38>] [<c01b218d>] [<c01357d8>] [<c01b218d>]
       [<c010796b>] [<c010956c>] [<c01b218d>] [<c0107215>] [<c010753c>]
Code: Bad EIP value.

>>EIP; 00000000 Before first symbol
Trace; c0123dd4 <read_cache_page+b0/ec>
Trace; c0138a52 <page_getlink+1e/90>
Trace; c0138b3d <page_follow_link+21/c4>
Trace; c0135ee9 <walk_name+3dd/4c4>
Trace; c0136098 <lookup_dentry+2c/48>
Trace; c011d176 <timer_bh+a6/288>
Trace; c0133b02 <open_exec+e/70>
Trace; c0134524 <do_execve+34/1e4>
Trace; c0119e11 <do_softirq+51/78>
Trace; c010a614 <do_IRQ+a4/b4>
Trace; c0109614 <ret_from_intr+0/20>
Trace; c0162a38 <tty_open+214/350>
Trace; c01b218d <stext_lock+1b11/3b38>
Trace; c01357d8 <getname+a8/10c>
Trace; c01b218d <stext_lock+1b11/3b38>
Trace; c010796b <sys_execve+2f/80>
Trace; c010956c <system_call+34/38>
Trace; c01b218d <stext_lock+1b11/3b38>
Trace; c0107215 <init+a9/104>
Trace; c010753c <kernel_thread+28/38>

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



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:21 EST