* [Qemu-devel] kqemu: Invalid module format
@ 2005-11-21 21:42 Shaun Jackman
2005-11-25 21:42 ` [Qemu-devel] " Shaun Jackman
0 siblings, 1 reply; 2+ messages in thread
From: Shaun Jackman @ 2005-11-21 21:42 UTC (permalink / raw)
To: QEMU
I compiled kqemu 0.7.2 but when I try to insmod the module I get an error:
# insmod /lib/modules/2.6.11-9-amd64-k8/misc/kqemu.ko
insmod: error inserting
'/lib/modules/2.6.11-9-amd64-k8/misc/kqemu.ko': -1 Invalid module
format
Compiling the module seemed to go cleanly. Any suggestions on where I
might have gone wrong?
Please cc me in your reply. Thanks,
Shaun
$ uname -a
Linux jinx.pathway.internal 2.6.11-9-amd64-k8 #1 Mon Jun 27 22:07:27
MDT 2005 x86_64 GNU/Linux
$ nm /lib/modules/2.6.11-9-amd64-k8/misc/kqemu.ko | grep ' T '
0000000000000380 T cleanup_module
00000000000002a0 T init_module
0000000000000010 T kqemu_alloc_zeroed_page
0000000000000fb0 T kqemu_delete
0000000000001a70 T kqemu_exec
0000000000000090 T kqemu_free_page
0000000000001a60 T kqemu_get_cpu_state
0000000000001050 T kqemu_init
0000000000000140 T kqemu_io_map
0000000000000150 T kqemu_io_unmap
00000000000005a0 T kqemu_lock_user_page
0000000000000160 T kqemu_log
00000000000000a0 T kqemu_page_kaddr
0000000000000400 T kqemu_schedule
00000000000003b0 T kqemu_unlock_user_page
00000000000000f0 T kqemu_vfree
00000000000000d0 T kqemu_vmalloc
0000000000000100 T kqemu_vmalloc_to_phys
0000000000000a30 T s013
000000000000212c T s015
0000000000002538 T s016
0000000000000a50 T s017
0000000000000690 T s018
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] Re: kqemu: Invalid module format
2005-11-21 21:42 [Qemu-devel] kqemu: Invalid module format Shaun Jackman
@ 2005-11-25 21:42 ` Shaun Jackman
0 siblings, 0 replies; 2+ messages in thread
From: Shaun Jackman @ 2005-11-25 21:42 UTC (permalink / raw)
To: QEMU
The kqemu module wouldn't load because I had compiled the kqemu module
using gcc 4.0.2, whereas the kernel had been compiled using gcc 3.4.5.
I recompiled the module using gcc 3.4.5 and it worked wonderfully!
Cheers,
Shaun
2005/11/21, Shaun Jackman <sjackman@gmail.com>:
> I compiled kqemu 0.7.2 but when I try to insmod the module I get an error:
>
> # insmod /lib/modules/2.6.11-9-amd64-k8/misc/kqemu.ko
> insmod: error inserting
> '/lib/modules/2.6.11-9-amd64-k8/misc/kqemu.ko': -1 Invalid module
> format
>
> Compiling the module seemed to go cleanly. Any suggestions on where I
> might have gone wrong?
>
> Please cc me in your reply. Thanks,
> Shaun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-25 21:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 21:42 [Qemu-devel] kqemu: Invalid module format Shaun Jackman
2005-11-25 21:42 ` [Qemu-devel] " Shaun Jackman
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).