[BusyBox] rmmod problem with inline ASM
Josh Malone
jmalone at applieddata.net
Mon Dec 27 16:21:56 UTC 2004
Hello all,
I've discovered that busybox-1.00's rmmod doesn't want to unload a module
that I've written with inline assembly. The module is a fiq driver that
currently, just flashes an LED on my arm board (and ADS board).
Debian's rmmod (really insmod) can load and unload this driver fine.
Busybox insmod can load the driver and the driver works perfectly. On
unload, I get the message:
adsdebian:~# rmmod fiq-example
rmmod: fiq-example: No such file or directory
Although the driver is clearly still running and loaded:
adsdebian:~# lsmod
Module Size Used by Not tainted
fiq-example 752 0 (unused)
If I don't link in the assembly (and comment out the fiq install, etc.),
then busybox unloads the remainder of the module fine. Also, a basically
empty module that just contains (but doesn't install) the assembly won't
unload, either.
Has anybody else had any problems with rmmod and assembly? Esp. on arm?
Any thoughts appreciated. I can post code if it would help - it's just a
stipped-down example at this point. Thanks.
-Josh
Joshua Malone Linux Engineer
Applied Data Systems www.applieddata.net
434-244-9504 jmalone at applieddata.net
More information about the busybox
mailing list