Re: 2.1.50/2.1.51: that "oops" thing

Mark Orr (markorr@intersurf.com)
Wed, 20 Aug 1997 04:02:10 -0500 (CDT)


On 20-Aug-97 Linus Torvalds wrote:
> In article <XFMail.970819102313.markorr@intersurf.com>,
> <markorr@intersurf.com> wrote:

> Can you run the above through ksymoops, I'd really like to see where we
> got to this from.

Okay. Here's the original oops (from squake 1.0):

Negative d_count (-1) for dev/dsp0
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 00101000, %cr3 = 00101000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c012ec0e>]
EFLAGS: 00010282
eax: 00000023 ebx: c0302f40 ecx: 00000000 edx: c0196b58
esi: ffffffff edi: 00010000 ebp: c0082b60 esp: c0eebf7c
ds: 0018 es: 0018 ss: 0018
Process squake (pid: 212, process nr: 24, stackpage=c0eeb000)
Stack: c0b9d3c0 408e7000 c011adb4 c0302f40 c0eea000 c0082b60 fffffffc 00000000
c0b9d040 c0115d56 c0082b60 c0eea000 ffffffff fffffffc 00000000 c0115ed9
00000000 c010932a 00000000 00000000 400b0a44 ffffffff fffffffc 00000000
Call Trace: [<c011adb4>] [<c0115d56>] [<c0115ed9>] [<c010932a>]
Code: 89 0d 00 00 00 00 89 33 85 f6 75 68 8d 4b 28 8b 53 28 8b 41
Segmentation fault
Aug 20 03:53:32 darkstar kernel: Unable to handle kernel NULL pointer dereferenc
e at virtual address 00000000
Aug 20 03:53:32 darkstar kernel: current->tss.cr3 = 00101000, mr3 = 00101000
Aug 20 03:53:32 darkstar kernel: *pde = 00000000

------

and the ksymoops output:

Using `/System.map' to map addresses to symbols.

>>EIP: c012ec0e <dput+2e/a5>
Trace: c011adb4 <exit_mmap+a4/ca>
Trace: c0115d56 <do_exit+a9/21a>
Trace: c0115ed9 <sys_wait4>
Trace: c010932a <system_call+3a/40>

Code: c012ec0e <dput+2e/a5>
Code: c012ec0e <dput+2e/a5> 89 0d 00 00 00 movl %ecx,0x0
Code: c012ec13 <dput+33/a5> 00
Code: c012ec14 <dput+34/a5> 89 33 movl %esi,(%ebx)
Code: c012ec16 <dput+36/a5> 85 f6 testl %esi,%esi
Code: c012ec1e <dput+3e/a5> 75 68 jne c012ec82 <dput+a2/a5>
Code: c012ec20 <dput+40/a5> 8d 4b 28 leal 0x28(%ebx),%ecx
Code: c012ec23 <dput+43/a5> 8b 53 28 movl 0x28(%ebx),%edx
Code: c012ec26 <dput+46/a5> 8b 41 00 movl 0x0(%ecx),%eax
Code: c012ec2f <dput+4f/a5> 90 nop
Code: c012ec30 <dput+50/a5> 90 nop
Code: c012ec31 <dput+51/a5> 90 nop

-------

---
Mark Orr
markorr@intersurf.com