* [Qemu-devel] problems with kqemu module.
@ 2005-04-01 15:27 Miguel Filipe
2005-04-01 15:51 ` Paul Brook
0 siblings, 1 reply; 3+ messages in thread
From: Miguel Filipe @ 2005-04-01 15:27 UTC (permalink / raw)
To: qemu-devel
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
--
Miguel Sousa Filipe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] problems with kqemu module.
2005-04-01 15:27 [Qemu-devel] problems with kqemu module Miguel Filipe
@ 2005-04-01 15:51 ` Paul Brook
2005-04-02 0:31 ` Damien "tuX" Thebault
0 siblings, 1 reply; 3+ messages in thread
From: Paul Brook @ 2005-04-01 15:51 UTC (permalink / raw)
To: qemu-devel, Miguel Filipe
On Friday 01 April 2005 16:27, Miguel Filipe wrote:
> 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?
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] problems with kqemu module.
2005-04-01 15:51 ` Paul Brook
@ 2005-04-02 0:31 ` Damien "tuX" Thebault
0 siblings, 0 replies; 3+ messages in thread
From: Damien "tuX" Thebault @ 2005-04-02 0:31 UTC (permalink / raw)
To: qemu-devel; +Cc: Miguel Filipe
[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]
Paul Brook wrote:
> On Friday 01 April 2005 16:27, Miguel Filipe wrote:
>
>>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?
>
>
> 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.
--
Damien Thebault
public keys on http://pgp.mit.edu
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-02 0:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-01 15:27 [Qemu-devel] problems with kqemu module Miguel Filipe
2005-04-01 15:51 ` Paul Brook
2005-04-02 0:31 ` Damien "tuX" Thebault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).