[BusyBox] modprobe -r

Benny Simonsen benny_bs at mail1.stofanet.dk
Tue Jul 20 09:54:52 UTC 2004


Hi

Great that the modutils is working now, but I guess there is a problem with
modprobe -r (with 2.6 kernel)

When I try to remove a module I get the following.
----------------------------------------------------------------------------
---
# modprobe -r nfs
rmmod: /lib/modules/2.6.7-gnalm0-gum0-craig/nfs.ko: No such file or
directory
rmmod: /lib/modules/2.6.7-gnalm0-gum0-craig/lockd.ko: No such file or
directory
rmmod: /lib/modules/2.6.7-gnalm0-gum0-craig/sunrpc.ko: No such file or
directory
modprobe: failed to remove module nfs
----------------------------------------------------------------------------
---
I dont know if rmmod should be able to understand the included path, but I
guess modprobe should only pass the name of the module e.g "rmmod nfs" which
does work.

My modules.dep is "hand made", but I think it is okay
----------------------------------------------------------------------------
---
/lib/modules/2.6.7-gnalm0-gum0-craig/sunrpc.ko:
/lib/modules/2.6.7-gnalm0-gum0-craig/lockd.ko:
/lib/modules/2.6.7-gnalm0-gum0-craigh/sunrpc.ko
/lib/modules/2.6.7-gnalm0-gum0-craig/nfs.ko:
/lib/modules/2.6.7-gnalm0-gum0-craig/lockd.ko
/lib/modules/2.6.5-gnalm0-gum0-craig/sunrpc.ko
----------------------------------------------------------------------------
---

Best Regards
Benny





More information about the busybox mailing list