Can't link kqemu kernel module on AMD64 system?
I have an AMD64 system with Debian pure64 distribution. My kernel is 2.6.12-rc6 (I'm stuck with it due to a particular patch fix)
Is it possible to get kqemu working on this system?
When I compile I get this:
make -C kqemu
make[1]: Entering directory `/home/jeffw/Downloads/qemu-0.7.0/kqemu'
make -C /lib/modules/2.6.12-rc6-jw9/build M=pwd modules
make[2]: Entering directory `/usr/src/linux-2.6.12-rc6'
CC [M] /home/jeffw/Downloads/qemu-0.7.0/kqemu/kmod.o
cp /home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu-mod-i386.o /home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu-mod.o
LD [M] /home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu.o
ld: Relocatable linking with relocations from format elf32-i386 (/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu-mod.o) to format elf64-x86-64 (/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu.o) is not supported make[3]: *** [/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu.o] Error 1
make[2]: *** [_module_/home/jeffw/Downloads/qemu-0.7.0/kqemu] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.12-rc6'
make[1]: *** [kqemu.ko] Error 2
make[1]: Leaving directory `/home/jeffw/Downloads/qemu-0.7.0/kqemu'
make: *** [all] Error 2
I saw the posting about a x86-64 alpha version of kqemu coming out in "the next few days" but that was a month ago. Did this happen? Or does it just not work on AMD64 systems/kernels yet?
Thanks,
Signature · 6 lines
Jeff Wiegley, PhD http://www.csun.edu/~jeffw Computer Science Assistant Professor EA1407 Engineering Addition California State University Northridge email [email protected] 18111 Nordhoff Street office phone 818.677.3887 Northridge CA 91330-8281 CS Dept. phone 818.677.3398 USA (ignore:cea2d3a38843531c7def1deff59114de)
Quoted 2 lines · Jeff Wiegley
I saw the posting about a x86-64 alpha version of kqemu coming out in "the next few days" but that was a month ago. Did this happen?
It didn't happen.
Quoted 1 line
Or does it just not work on AMD64 systems/kernels yet?
kqemu is still 32-bit only.
Paul
Short answer is no. The patch does not work for 64-bit kernel/system.
-ishwar
Quoted 47 lines · Jeff Wiegley
I have an AMD64 system with Debian pure64 distribution. My kernel is 2.6.12-rc6 (I'm stuck with it due to a particular patch fix)
Is it possible to get kqemu working on this system?
When I compile I get this:
make -C kqemu
make[1]: Entering directory/home/jeffw/Downloads/qemu-0.7.0/kqemu' make -C /lib/modules/2.6.12-rc6-jw9/build M=pwdmodules make[2]: Entering directory/usr/src/linux-2.6.12-rc6'
CC [M]/home/jeffw/Downloads/qemu-0.7.0/kqemu/kmod.o
cp/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu-mod-i386.o/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu-mod.o
LD [M]/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu.o
ld: Relocatable linking with relocations from format elf32-i386 (/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu-mod.o) to format elf64-x86-64 (/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu.o) is not supported
make[3]: *** [/home/jeffw/Downloads/qemu-0.7.0/kqemu/kqemu.o] Error 1 make[2]: *** [_module_/home/jeffw/Downloads/qemu-0.7.0/kqemu] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.12-rc6' make[1]: *** [kqemu.ko] Error 2
make[1]: Leaving directory `/home/jeffw/Downloads/qemu-0.7.0/kqemu'
make: *** [all] Error 2I saw the posting about a x86-64 alpha version of kqemu coming out in "the next few days" but that was a month ago. Did this happen? Or does it just not work on AMD64 systems/kernels yet?
Thanks,
--
Jeff Wiegley, PhD http://www.csun.edu/~jeffw
Computer Science Assistant Professor EA1407 Engineering AdditionCalifornia State University Northridge email [email protected] 18111 Nordhoff Street office phone 818.677.3887 Northridge CA 91330-8281 CS Dept. phone 818.677.3398USA (ignore:cea2d3a38843531c7def1deff59114de)
_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel