[2.2.13] Oops after sys_newlstat

Marc Lefranc (Marc.Lefranc@nordnet.fr)
27 Oct 1999 09:08:12 +0200


Hello all,

Context : Vanilla 2.2.13 + binfmt_aout.c from 2.2.14pre1. Compiled
with egcs 1.1.2, -O3 -march=pentium and without the
-fno-strength-reduce flag (Kernels compiled this way feel faster, but
perhaps I am asking for trouble ?)

I saw the following oops in /var/log/messages :

Oct 27 04:05:24 socrate kernel: Unable to handle kernel NULL pointer dereference
at virtual address 00000068
Oct 27 04:05:24 socrate kernel: CPU: 0
Oct 27 04:05:24 socrate kernel: EIP: 0010:[iget+66/252]
Oct 27 04:05:24 socrate kernel: EFLAGS: 00010203
Oct 27 04:05:24 socrate kernel: eax: 00000000 ebx: 00000000 ecx: 0001ab92
edx: c01e8d50
Oct 27 04:05:24 socrate kernel: esi: c5fd8200 edi: c37ba440 ebp: c2f4500a
esp: c506df1c
Oct 27 04:05:24 socrate kernel: ds: 0018 es: 0018 ss: 0018
Oct 27 04:05:24 socrate kernel: Process slocate (pid: 5504, process nr: 37, stac
kpage=c506d000)
Oct 27 04:05:24 socrate kernel: Stack: c37ba440 c2f4500a c2191e60 00000000 c0127
5cd c2464a80 c0143ea8 c5fd8200
Oct 27 04:05:24 socrate kernel: 0001ab92 fffffff4 c2191e60 c45541c0 c2f83
ce8 c012bb4c c37ba440 c2191e60
Oct 27 04:05:24 socrate kernel: c2f45000 c2f45000 c2f45000 0805895c c506d
f80 c37ba48c c37ba440 c506df80
Oct 27 04:05:24 socrate kernel: Call Trace: [__brelse+53/120] [ext2_lookup+84/12
4] [lookup_dentry+544/852] [__namei+163/212] [sys_newlstat+14/96] [system_call+5
2/56]
Oct 27 04:05:24 socrate kernel: Code: 39 73 68 75 05 39 4b 18 74 60 8b 03 31 db
39 d0 75 ec 85 db
Warning: trailing garbage ignored on Code: line
Text: 'Code: 39 73 68 75 05 39 4b 18 74 60 8b 03 31 db 39 d0 75 ec 85 db '
Garbage: ' '

Code: 00000000 Before first symbol 00000000 <_IP>: <===
Code: 00000000 Before first symbol 0: 39 73 68
cmpl %esi,0x68(%ebx) <===
Code: 00000003 Before first symbol 3: 75 05
jne 0000000a Before first symbol
Code: 00000005 Before first symbol 5: 39 4b 18
cmpl %ecx,0x18(%ebx)
Code: 00000008 Before first symbol 8: 74 60
je 0000006a Before first symbol
Code: 0000000a Before first symbol a: 8b 03
movl (%ebx),%eax
Code: 0000000c Before first symbol c: 31 db
xorl %ebx,%ebx
Code: 0000000e Before first symbol e: 39 d0
cmpl %edx,%eax
Code: 00000010 Before first symbol 10: 75 ec
jne fffffffe <END_OF_CODE+397a691e/????>
Code: 00000012 Before first symbol 12: 85 db
testl %ebx,%ebx

3 warnings issued. Results may not be reliable.

I hope this helps.

Marc.

-
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/