2.1.90 NULL pointer

Daniel Rogers (rogersd@nanaimo.island.net)
Fri, 20 Mar 1998 07:29:40 -0800 (PST)


I just had a NULL pointer dereference with 2.1.90. Looks like kmod had a
fit, it is now running as a zombie.

The last thing before the dump was:

kfree: Bad obj c6830000

Followed by:

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:[<c011ed83>]
EFLAGS: 00010286
eax: 0000001b ebx: c6830000 ecx: c5cb8000 edx: c01c5ea8
esi: c6830000 edi: 00000001 ebp: 00000e00 esp: c5fddf40
ds: 0018 es: 0018 ss: 0018
Process kmod (pid: 4, process nr: 4, stackpage=c5fdd000)
Stack: c01ab753 c6830000 c6830000 c6829000 00000001 00000e00 00000000 00000000
00000000 c682b638 c6830000 c6829000 c682a482 c682e4f4 c682a5bf c682e4f4
c01157a0 c6829000 c6826000 00000000 c0114d80 c6829000 00000001 c5fdc000
Call Trace: [<c01ab753>] [<c6830000>] [<c6830000>] [<c6829000>] [<c682b638>] [<c6830000>] [<c6829000>]
[<c682a482>] [<c682e4f4>] [<c682a5bf>] [<c682e4f4>] [<c01157a0>] [<c6829000>] [<c6826000>] [<c0114d80>]
[<c6829000>] [<c010993a>] [<c011883c>] [<c011897b>] [<c01187dc>]
Code: c7 05 00 00 00 00 00 00 00 00 83 c4 08 5b 5e 5f 5d 83 c4 0c

Here's the ksymoops:

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

>>EIP: c011ed83 <kfree+19f/1b4>
Trace: c01ab753 <tvecs+11ab/57d8>
Trace: c6830000
Trace: c6830000
Trace: c6829000
Trace: c682b638
Trace: c6830000
Trace: c6829000
Trace: c682a482
Trace: c682e4f4
Trace: c682a5bf
Trace: c682e4f4
Trace: c01157a0 <free_module+20/9c>
Trace: c6829000
Trace: c6826000
Trace: c0114d80 <sys_delete_module+198/1d8>
Trace: c6829000
Trace: c010993a <system_call+3a/40>
Trace: c011883c <kmod_thread+60/13c>
Trace: c011897b <kmod_init+2b/7c>
Trace: c011883c <kmod_thread+60/13c>
Code: c011ed83 <kfree+19f/1b4>
Code: c011ed83 <kfree+19f/1b4> c7 05 00 00 00 movl $0x0,0x0
Code: c011ed88 <kfree+1a4/1b4> 00 00 00 00 00
Code: c011ed93 <kfree+1af/1b4> 83 c4 08 addl $0x8,%esp
Code: c011ed96 <kfree+1b2/1b4> 5b popl %ebx
Code: c011ed97 <kfree+1b3/1b4> 5e popl %esi
Code: c011ed98 <kfree_s> 5f popl %edi
Code: c011ed99 <kfree_s+1/1b4> 5d popl %ebp
Code: c011ed9a <kfree_s+2/1b4> 83 c4 0c addl $0xc,%esp

I beleive this happened while loading a sound module, probably sb.o

Let me know if you need any other info.

Dan.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu