problems with kqemu module.
I've downloaded the kqemu package yesterday, and tried to build qemu from CVS today with that kqemu.
I've followed the instructions and the build went fine, I have /dev/kqemu, and kqemu in /lib/modules/kernel-version/misc/kqemu.ko
My kernel is 2.6.10-5-686-smp from the ubuntu distro. trying to modprobe kqemu gives me this:
miguel@garfield:/lib/modules$ sudo modprobe kqemu FATAL: Error inserting kqemu (/lib/modules/2.6.10-5-686-smp/misc/kqemu.ko): Invalid module format miguel@garfield:/lib/modules$ sudo insmod ./2.6.10-5-686-smp/misc/kqemu.ko insmod: error inserting './2.6.10-5-686-smp/misc/kqemu.ko': -1 Invalid module format
Can you ppl give me any advice?
TIA, and best regards
Signature · 1 line
Miguel Sousa Filipe
Quoted 9 lines · Miguel Filipe
I've downloaded the kqemu package yesterday, and tried to build qemu from CVS today with that kqemu.
I've followed the instructions and the build went fine, I have
/dev/kqemu, and kqemu in/lib/modules/kernel-version/misc/kqemu.koMy kernel is 2.6.10-5-686-smp from the ubuntu distro. trying to modprobe kqemu gives me this:
Quoted 8 lines
miguel@garfield:/lib/modules$ sudo modprobe kqemu FATAL: Error inserting kqemu (/lib/modules/2.6.10-5-686-smp/misc/kqemu.ko): Invalid module format miguel@garfield:/lib/modules$ sudo insmod ./2.6.10-5-686-smp/misc/kqemu.ko insmod: error inserting './2.6.10-5-686-smp/misc/kqemu.ko': -1 Invalid module formatCan you ppl give me any advice?
Most likely you used the wrong kernel sources/headers. The kernel sources you use when building kqemu must *exactly* match the kernel you're running.
Paul
Quoted 18 lines · Paul Brook
Quoted 16 lines · Miguel Filipe
I've downloaded the kqemu package yesterday, and tried to build qemu from CVS today with that kqemu.
I've followed the instructions and the build went fine, I have
/dev/kqemu, and kqemu in/lib/modules/kernel-version/misc/kqemu.koMy kernel is 2.6.10-5-686-smp from the ubuntu distro. trying to modprobe kqemu gives me this:
miguel@garfield:/lib/modules$ sudo modprobe kqemu FATAL: Error inserting kqemu (/lib/modules/2.6.10-5-686-smp/misc/kqemu.ko): Invalid module format miguel@garfield:/lib/modules$ sudo insmod ./2.6.10-5-686-smp/misc/kqemu.ko insmod: error inserting './2.6.10-5-686-smp/misc/kqemu.ko': -1 Invalid module format
Quoted 7 lines
Quoted 1 line
Can you ppl give me any advice?
Most likely you used the wrong kernel sources/headers. The kernel sources you use when building kqemu must *exactly* match the kernel you're running.
Paul
gcc must have the same version than the one used to compile the kernel.
Signature · 2 lines
Damien Thebault public keys on http://pgp.mit.edu