LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem with kqemu in slackware64-current since 2.6.29.5 kernel (https://www.linuxquestions.org/questions/slackware-14/problem-with-kqemu-in-slackware64-current-since-2-6-29-5-kernel-734407/)

niels.horn 06-20-2009 10:41 AM

Problem with kqemu in slackware64-current since 2.6.29.5 kernel
 
Hi to all,

Since I upgraded my kernel do 2.6.29.5 in Slackware64 I cannot get the (newly compiled) kqemu module to load. It gives:
Quote:

FATAL: Error inserting kqemu (/lib/modules/2.6.29.5-custom64/misc/kqemu.ko): Invalid module format
I use the Slackbuild script slackbuilds.org. It worked fine with 2.6.29.4 and still works on 2.6.29.5 on slackware-current (32-bits) on another machine.

Any idea where to look for an answer? Googling just told me to check the header files, but all is there. :scratch:

manwichmakesameal 06-20-2009 10:46 AM

Just out of curiosity, what format are all the normal modules in? I know the installer a while back had them all in *.ko.gz. I haven't updated yet, so I don't know.

bgeddy 06-20-2009 11:01 AM

You can try /sbin/modinfo on the module and check the vermagic version reported. Apparently this has to match the kernel when trying to load the module.

niels.horn 06-20-2009 04:27 PM

@bgeddy: Thanks, you showed me the light :)

I had compiled this custom kernel on June 18th, between the two updates of the kernel-headers package.
I just compiled a new kernel, recompiled kqemu and everything is fine again!


All times are GMT -5. The time now is 08:13 PM.