On Thursday 12 March 2009 02:57:42 pm Dallas Clement wrote:
> I'm definitely using insmod and not modprobe to load these modules from
> initramfs.  This is the snippet of ash script which does the loading:
> 
> MOD_DIR=/lib/modules/2.6.21.1
> 
> insmod ${MOD_DIR}/scsi_mod.ko
> insmod ${MOD_DIR}/sd_mod.ko
> insmod ${MOD_DIR}/libata.ko
> insmod ${MOD_DIR}/ahci.ko
> insmod ${MOD_DIR}/ide-core.ko
> insmod ${MOD_DIR}/ehci-hcd.ko
> insmod ${MOD_DIR}/uhci-hcd.ko
> insmod ${MOD_DIR}/usb-storage.ko
> 
> insmod ${MOD_DIR}/via82cxxx.ko
> 
> insmod ${MOD_DIR}/ide-generic.ko
> insmod ${MOD_DIR}/ide-disk.ko
> 
> insmod ${MOD_DIR}/mbcache.ko
> insmod ${MOD_DIR}/jbd.ko
> insmod ${MOD_DIR}/ext2.ko
> insmod ${MOD_DIR}/ext3.ko
> 
> insmod ${MOD_DIR}/edd.ko
> 
> The exact error message I am getting on the target when it tries to load the
> first module is:
> 
> insmod: module '/lib/modules/2.6.21.1/scsi_mod.ko' not found

Aha! the real message is with '' !
> 
> It's going to take me some time to incorporate the strace utility into my
> app so that we can see what's happening at the system level.  I'll report
> that a bit later.  For now, please find my busybox config attached.

Bingo.

CONFIG_MODPROBE_SMALL=y

Either switch it off and use "bigger" modutils, or switch to 1.13.x, it
is fixed there.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to