lkml.org 
[lkml]   [1998]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectlinux-2.1.90: Module deletion broken
Date
From
I'm running 2.1.90 compiled with egcs-2.91.14 980315 (gcc-2.8.0 release))
and binutils-2.8.1.0.21. Very often, when deleting some module of the
system I get an oops like the following:

kfree: Bad obj c283c000
Unable to handle kernel NULL pointer dereference at virtual address 00000000
current->tss.cr3 = 0161c000, %cr3 = 0161c000
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c011f293>]
EFLAGS: 00010282
eax: 0000001b ebx: c283c000 ecx: 0000000d edx: 00000000
esi: c283c000 edi: 00000000 ebp: 00000000 esp: c15e9f58
ds: 0018 es: 0018 ss: 0018
Process rmmod (pid: 315, process nr: 5, stackpage=c15e9000)
Stack: c018e063 c283c000 c283c000 c2835000 00000000 00000000 00000000 00000000
c28376c7 c283c000 c2835000 c2836552 c283a640 c2836697 c283a640 c0115f30
c2835000 00000000 c15e9fbc c0115544 c2835000 00000000 c15e8000 00000000
Call Trace: [<c018e063>] [<c283c000>] [<c283c000>] [<c2835000>] [<c28376c7>] [<c283c000>] [<c2835000>]
[<c2836552>] [<c283a640>] [<c2836697>] [<c283a640>] [<c0115f30>] [<c2835000>] [<c0115544>] [<c2835000>]
[<c0109922>]
Code: c7 05 00 00 00 00 00 00 00 00 83 c4 08 5b 5e 5f 5d 83 c4 08

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

>>EIP: c011f293 <kfree+18b/1a0>
Trace: c018e063 <tvecs+11ab/48d8>
Trace: c283c000
Trace: c283c000
Trace: c2835000
Trace: c28376c7
Trace: c283c000
Trace: c2835000
Trace: c2836552
Trace: c283a640
Trace: c2836697
Trace: c283a640
Trace: c0115f30 <free_module+20/9c>
Trace: c2835000
Trace: c0115544 <sys_delete_module+140/1e4>
Trace: c2835000
Trace: c0109922 <system_call+3a/40>
Code: c011f293 <kfree+18b/1a0>
Code: c011f293 <kfree+18b/1a0> c7 05 00 00 00 movl $0x0,0x0
Code: c011f298 <kfree+190/1a0> 00 00 00 00 00
Code: c011f2a3 <kfree+19b/1a0> 83 c4 08 addl $0x8,%esp
Code: c011f2a6 <kfree+19e/1a0> 5b popl %ebx
Code: c011f2a7 <kfree+19f/1a0> 5e popl %esi
Code: c011f2a8 <kfree_s> 5f popl %edi
Code: c011f2a9 <kfree_s+1/1a4> 5d popl %ebp
Code: c011f2aa <kfree_s+2/1a4> 83 c4 08 addl $0x8,%esp

This has happened to me when I still had kerneld running, and it tried to
unload some modules, but modprobe -r, rmmod or kmod give the same.

Obviously, kfree is forcing an Oops so I can see what is going on.

After the above, I get:

[root@sleipnir /root]# lsmod
Module Size Used by
slip 7008 1 (autoclean)
slhc 4392 1 (autoclean) [slip]
lsmod: QM_INFO: No such file or directory

so the list of modules loaded is getting screwed up. This in turn prevents
a clean shutdown (Thanks for the SysReq key! Saves the day...)
--
Horst von Brand vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viña del Mar, Chile +56 32 672616

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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.082 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site