[BusyBox] modultils for 2.6?

Dirk Behme dirk.behme at de.bosch.com
Mon May 3 08:07:26 UTC 2004


aeriksson2 at fastmail.fm wrote:

> Am I missing something, or is the module support for 2.6.x broken? 
> lsmod complains about QM_MODULES not being implemented (a sign of 
> lacking 2.6 support). I did enable support for 2.6 in my .config 
> file. There also seem to be some strange interactions between 
> modprobe and insmod. If I 'modprobe foo' it complains about missing 
> foo, even though foo.ko is there. 'insmod foo.ko' works though, so 
> there is some 2.6 awareness in the mix.
> 
> Any ideas?

With Linux 2.6.5, gcc 3.3.1, glibc 2.3.2 and BusyBox 1.00-pre10 on 
embedded ARM I use the following busybox and kernel configuration with 
working insmod/lsmod/rmmod:

Busybox:

#
# Linux Module Utilities
#
CONFIG_INSMOD=y
# CONFIG_FEATURE_2_2_MODULES is not set
# CONFIG_FEATURE_2_4_MODULES is not set
CONFIG_FEATURE_2_6_MODULES=y
CONFIG_LSMOD=y
# CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set
CONFIG_MODPROBE=y
CONFIG_RMMOD=y
CONFIG_FEATURE_CHECK_TAINTED_MODULE=y

Kernel:

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

Dirk



More information about the busybox mailing list