[BusyBox] rmmod with kernel-2.6.7 issue ?

João Brázio jbrazio at stinkfist.org
Sun Jul 18 18:36:12 UTC 2004


Greetings,
I'm trying to load and unload modules with busybox-cvs and kernel 2.6.7 
and when I try to unload an unused module with rmmod it gives me a 
Segmentation Fault.

[ root ] # lsmod
Module                  Size  Used by
[ root ] # modprobe tulip/tulip.ko
[ root ] # lsmod
Module                  Size  Used by
tulip 26016 0 - Live 0xc100d000
[ root ] # rmmod tulip 

Unable to handle kernel NULL pointer dereference at virtual address 
00000000
  printing eip: 

00000000 

*pde = 00000000 

Oops: 0000 [#1] 

Modules linked in: tulip 

CPU:    0 

EIP:    0060:[<00000000>]    Not tainted
EFLAGS: 00000202   (2.6.7) 

eax: 00000000   ebx: c1013460   ecx: c021ac00   edx: c1013460 

esi: c021ac00   edi: 00000000   ebp: 00000880   esp: c03abf68 

ds: 007b   es: 007b   ss: 0068 

Process rmmod (pid: 296, threadinfo=c03ab000 task=c06646a0) 

Stack: c011d81a 00000000 696c7574 c0270070 00005401 bffff7a4 bffff7a4 
bffff7a4
        c02729c0 ffffffe7 00005401 c013e4a5 c0023dac c02729c0 00005401 
c013e4b1
        00000001 00000004 bffffebb 0808b50c bffffebc c03ab000 c0105087 
bffffebb
Call Trace: 

  [<c011d81a>]  [<c013e4a5>]  [<c013e4b1>]  [<c0105087>] 

Code:  Bad EIP value. 

  Segmentation fault 

[ root ] # lsmod 

Module                  Size  Used by 

tulip 26016 0 - Unloading 0xc100d000

I've just loaded the module, haven't used it and tried to remove it... 
What am I doing wrong ?

-- 

Cumprimentos,
João Pedro Brázio <http://www.stinkfist.org/~jbrazio/>




More information about the busybox mailing list