Trying to insert a binary module into a Kamikaze/OpenWrt ins


#1

[html] Hi all!

I’m attempting to insert a module that was built for another Linux kernel/version. This gives me:

bs: version magic ‘2.6.16.18 preempt PENTIUM4 gcc-3.3’ should be '2.6.22.4 SMP mod_unload 386 '
insmod: cannot insert ‘/lib/modules/2.6.22.4/bs.ko’: Invalid module format (-1): Exec format error
Now I usually use ‘insmod -f’ to insert modules when I get errors like this. However, when I try this on the Kamikaze system, I get:
insmod: -f.ko: no module by that name found
.
That would suggest the insmod version in Kamikaze does not support this parameter. So then I tried ‘insmod’ and I get:
BusyBox v1.4.2 (2007-09-13 12:57:14 CEST) multi-call binary

Usage: insmod [OPTION]… MODULE [symbol=value]…

Load the specified kernel modules into the kernel

Options:
-f Force module to load into the wrong kernel version
-k Make module autoclean-able
-v Verbose output
-q Quiet output
-L Lock to prevent simultaneous loads of a module
-o NAME Set internal module name to NAME
-x Do not export externs
So then why does -f not work…? [/html]