2.1.48: Unable to handle kernel NULL ... in do_follow_link

Steffen Zahn (zahn@berlin.snafu.de)
Thu, 7 Aug 1997 19:51:07 +0200

the following Oops happend on 2.1.48 while doing some normal
editing with emacs. emacs was killed, the rest of Linux continued.


Unable to handle kernel NULL pointer dereference at virtual address 0000004f
current->tss.cr3 = 031c1000, %cr3 = 031c1000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c01296b6>]
EFLAGS: 00010286
eax: c3e71f00 ebx: c33fc000 ecx: 00000000 edx: ffffffff
esi: c3e71f00 edi: c322ad60 ebp: c322ad60 esp: c176ff54
ds: 0018 es: 0018 ss: 0018
Process emacs (pid: 2994, process nr: 21, stackpage=c176f000)
Stack: c33fc000 c3e71f00 c33fc027 c0129843 c322ad60 c3e71f00 c33fc000 00000001
bffff1fc bffff23c 688c7d01 c33fc01a 0000000d 688c7d32 c01298a0 c33fc000
00000000 00000001 c176e000 bffff1fc c012789a 082c76c4 00000001 c176e000
Call Trace: [<c0129843>] [<c01298a0>] [<c012789a>] [<c010944a>]
Code: 8b 42 50 85 c0 74 5d 83 78 2c 00 74 57 89 e0 89 c3 81 e3 00

Using `/boot/System.map-2.1.48' to map addresses to symbols.

>>EIP: c01296b6 <do_follow_link+12/88>
Trace: c0129843 <lookup_dentry+117/14c>
Trace: c01298a0 <__namei+28/7c>
Trace: c012789a <sys_newstat+16/64>
Trace: c010944a <system_call+3a/40>

Code: c01296b6 <do_follow_link+12/88>
Code: c01296b6 <do_follow_link+12/88> 8b 42 50 movl 0x50(%edx),%eax
Code: c01296b9 <do_follow_link+15/88> 85 c0 testl %eax,%eax
Code: c01296bb <do_follow_link+17/88> 74 5d je c012971a <do_follow_link+76/88>
Code: c01296bd <do_follow_link+19/88> 83 78 2c 00 cmpl $0x0,0x2c(%eax)
Code: c01296c1 <do_follow_link+1d/88> 74 57 je c012971a <do_follow_link+76/88>
Code: c01296c3 <do_follow_link+1f/88> 89 e0 movl %esp,%eax
Code: c01296c5 <do_follow_link+21/88> 89 c3 movl %eax,%ebx
Code: c01296c7 <do_follow_link+23/88> 81 e3 00 00 90 andl $0x90900000,%ebx
Code: c01296cc <do_follow_link+28/88> 90
Code: c01296cd <do_follow_link+29/88> 90 nop

home email:  user@domain where domain=berlin.snafu.de, user=zahn
Use of my address for unsolicited commercial advertising is forbidden.
           "We had to destroy the net in order to save it."