qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Can't link kqemu kernel module on AMD64 system?
@ 2005-06-09 16:55 Jeff Wiegley
  2005-06-10  0:07 ` Paul Brook
  2005-06-10  0:20 ` Ishwar Rattan
  0 siblings, 2 replies; 3+ messages in thread
From: Jeff Wiegley @ 2005-06-09 16:55 UTC (permalink / raw)
  To: qemu-devel

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,

-- 
Jeff Wiegley, PhD                        http://www.csun.edu/~jeffw
Computer Science Assistant Professor    EA1407 Engineering Addition
California State University Northridge       email   jeffw@csun.edu
18111 Nordhoff Street                 office phone   818.677.3887
Northridge CA 91330-8281            CS Dept. phone   818.677.3398
USA                       (ignore:cea2d3a38843531c7def1deff59114de)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Can't link kqemu kernel module on AMD64 system?
  2005-06-09 16:55 [Qemu-devel] Can't link kqemu kernel module on AMD64 system? Jeff Wiegley
@ 2005-06-10  0:07 ` Paul Brook
  2005-06-10  0:20 ` Ishwar Rattan
  1 sibling, 0 replies; 3+ messages in thread
From: Paul Brook @ 2005-06-10  0:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: Jeff Wiegley

On Thursday 09 June 2005 17:55, Jeff Wiegley wrote:
> 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.

> Or does it just not work on AMD64 systems/kernels yet?

kqemu is still 32-bit only.

Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Can't link kqemu kernel module on AMD64 system?
  2005-06-09 16:55 [Qemu-devel] Can't link kqemu kernel module on AMD64 system? Jeff Wiegley
  2005-06-10  0:07 ` Paul Brook
@ 2005-06-10  0:20 ` Ishwar Rattan
  1 sibling, 0 replies; 3+ messages in thread
From: Ishwar Rattan @ 2005-06-10  0:20 UTC (permalink / raw)
  To: qemu-devel

Short answer is no. The patch does not work for 64-bit kernel/system.

-ishwar

On Thu, 9 Jun 2005, Jeff Wiegley wrote:

> 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,
>
> --
> Jeff Wiegley, PhD                        http://www.csun.edu/~jeffw
> Computer Science Assistant Professor    EA1407 Engineering Addition
> California State University Northridge       email   jeffw@csun.edu
> 18111 Nordhoff Street                 office phone   818.677.3887
> Northridge CA 91330-8281            CS Dept. phone   818.677.3398
> USA                       (ignore:cea2d3a38843531c7def1deff59114de)
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-10  0:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-09 16:55 [Qemu-devel] Can't link kqemu kernel module on AMD64 system? Jeff Wiegley
2005-06-10  0:07 ` Paul Brook
2005-06-10  0:20 ` Ishwar Rattan

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).