Thank you! This is indeed the solution to my problem. It had nothing to do with insmod.<br><br>This seems like a chicken and the egg problem. I have to build the modules before the kernel so that I can embed them in my initramfs image which is contained in my bzImage. Anyhow, disabling module versioning solved everything.<br>
<br>Thanks again, and sorry to have suspected problems with insmod.<br><br><div class="gmail_quote">2009/4/13 Timo Teräs <span dir="ltr"><<a href="mailto:timo.teras@iki.fi">timo.teras@iki.fi</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">Dallas Clement wrote:<br>
> I have been using busybox version 1.13.3 just fine with the linux kernel<br>
> version 2.6.21.1. I recently upgraded my kernel to 2.6.27 and am now<br>
> getting an error when I try to insert a kernel module. For example:<br>
><br>
> ext2: no symbol version for struct_module<br>
><br>
> insmod: cannot insert '/lib/modules/2.6.27/ext2.ko': invalid module format<br>
><br>
> Does anyone have ideas for me on what might be the problem? I am<br>
> assuming that this is a problem with insmod.<br>
<br>
</div></div>You have compiled the modules without building the kernel. When you<br>
compile kernel with versioned symbols, a file called "Module.symvers"<br>
is generated, that needs to be present when compiling the modules.<br>
Otherwise you don't get module symbol versions, and the kernel<br>
refuses to load module by default.<br>
<br>
There is a way to enforce the kernel to load a module even if the<br>
symbols mismatch. But it's not implemented in busybox modutils<br>
currently. Even in module-init-tools it's not in insmod; only in<br>
modprobe.<br>
<br>
Recommended is to fix your build scripts / environment so that<br>
you do full kernel compile and preserve Module.symvers and use<br>
it when compiling modules. Or turn off "versioned symbols" from<br>
kernel configuration.<br>
<br>
Cheers,<br>
<font color="#888888"> Timo<br>
</font></blockquote></div><br>