[Bug 319] `modprobe -r` doesnt work

bugzilla at busybox.net bugzilla at busybox.net
Tue May 26 22:54:15 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=319





--- Comment #4 from Mike Frysinger <vapier at gentoo.org>  2009-05-26 22:54:14 UTC ---
maybe i'm missing something, but it doesnt seem to work for me ...

here's the modules.dep file snippet:
kernel/net/irda/ircomm/ircomm-tty.ko: kernel/net/irda/ircomm/ircomm.ko
kernel/net/irda/irda.ko kernel/lib/crc-ccitt.ko
kernel/net/irda/ircomm/ircomm.ko: kernel/net/irda/irda.ko
kernel/lib/crc-ccitt.ko
kernel/net/irda/irda.ko: kernel/lib/crc-ccitt.ko
kernel/lib/crc-ccitt.ko:

root:/> lsmod
    Not tainted
root:/> modprobe ircomm-tty
root:/> lsmod
    Not tainted
ircomm_tty 16628 0 - Live 0x02b08000
ircomm 7472 1 ircomm_tty, Live 0x02b54000
irda 81268 2 ircomm_tty,ircomm, Live 0x02b60000
crc_ccitt 1136 1 irda, Live 0x0292f800

root:/> modprobe -r ircomm-tty
modprobe: failed to unload module ircomm-tty: unknown symbol in module, or
unknown parameter
root:/> lsmod
    Not tainted
ircomm 7472 0 - Live 0x02b54000
irda 81268 1 ircomm, Live 0x02b60000
crc_ccitt 1136 1 irda, Live 0x0292f800
root:/> rmmod ircomm
root:/> rmmod irda
root:/> rmmod crc_ccitt
root:/> lsmod
    Not tainted

running the `modprobe -r` step through strace shows that it tries to delete the
module twice:
delete_module("ircomm_tty") = 0
delete_module("ircomm_tty") = -1 ENOENT (No such file or directory)


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list