rmmoding sb driver (90pre3/2.1.90) oops

Mark Orr (markorr@intersurf.com)
Wed, 18 Mar 1998 06:20:10 -0600 (CST)


Upon further review....

It's not as bad as it looked at first...the oops/trashing that happens
when rmmod'ing the sb driver (either manually, or by kmod) doesnt stop
ppp.o/slhc.o/ppp_deflate.o from loading -- so that's good.

lets go to the videotape:

root@darkstar:~# rmmod sb
kfree: Bad obj c1818000
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 00a78000, %cr3 = 00a78000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c011f31b>]
EFLAGS: 00010282
eax: 0000001b ebx: c1818000 ecx: 00000009 edx: 00000000
esi: c1818000 edi: 00000000 ebp: bffffad8 esp: c087ff58
ds: 0018 es: 0018 ss: 0018
Process rmmod (pid: 479, process nr: 12, stackpage=c087f000)
Stack: c018262f c1818000 c1818000 c1811000 00000000 bffffad8 00000000 00000000
c18136c7 c1818000 c1811000 c1812552 c1816644 c1812697 c1816644 c0115fc4
c1811000 fffffff0 c087ffbc c01155d6 c1811000 00000000 c087e000 00000000
Call Trace: [<c018262f>] [<c1818000>] [<c1818000>] [<c1811000>] [<c18136c7>]
[<c1818000>] [<c1811000>]
[<c1812552>] [<c1816644>] [<c1812697>] [<c1816644>] [<c0115fc4>]
[<c1811000>] [<c01155d6>] [<c1811000>]
[<c010993a>]
Code: c7 05 00 00 00 00 00 00 00 00 83 c4 08 5b 5e 5f 5d 83 c4 08
Segmentation fault

--- and here's what ksymoops tells me:

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

>>EIP: c011f31b <kfree+18b/1a0>
Trace: c018262f <tvecs+11ab/453a>
Trace: c1818000
Trace: c1818000
Trace: c1811000
Trace: c18136c7
Trace: c1818000
Trace: c1811000
Trace: c1812552
Trace: c1816644
Trace: c1812697
Trace: c1816644
Trace: c0115fc4 <free_module+20/9c>
Trace: c1811000
Trace: c01155d6 <sys_delete_module+13e/1e4>
Trace: c1811000
Trace: c010993a <system_call+3a/40>
Code: c011f31b <kfree+18b/1a0>
Code: c011f31b <kfree+18b/1a0> c7 05 00 00 00 movl $0x0,0x0
Code: c011f320 <kfree+190/1a0> 00 00 00 00 00
Code: c011f32b <kfree+19b/1a0> 83 c4 08 addl $0x8,%esp
Code: c011f32e <kfree+19e/1a0> 5b popl %ebx
Code: c011f32f <kfree+19f/1a0> 5e popl %esi
Code: c011f330 <kfree_s> 5f popl %edi
Code: c011f331 <kfree_s+1/1a4> 5d popl %ebp
Code: c011f332 <kfree_s+2/1a4> 83 c4 08 addl $0x8,%esp

---

Mark Orr markorr@intersurf.com

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