Skip to contentSkip to conversation

X86_64 problem

Qemu-devel Dave Dixon 3 participants 3 messages Dec 12, 2009 – Dec 13, 2009

lore
Share & tools
lore

Dave Dixon

author
#0 lore raw

Greetings,

I'm building an initrd for netbooting headless/diskless cluster members. The target platform is 64-bit ubuntu, and the development platform is 64-bit ubuntu (albeit a very different computer physically). When I try qemu with -kernel and -initrd, it says "This kernel requires an x86-64 CPU, but only detected an i686 CPU." But it's definitely a 64-bit cpu - running a 64-bit OS. If I show qeme -cpu ?, I get a list of only 32-bit cpus. What am I doing wrong?

Thanks,

-dave

#1 lore raw
Quoted 6 lines · Dave Dixon

I'm building an initrd for netbooting headless/diskless cluster members. The target platform is 64-bit ubuntu, and the development platform is 64-bit ubuntu (albeit a very different computer physically). When I try qemu with -kernel and -initrd, it says "This kernel requires an x86-64 CPU, but only detected an i686 CPU." But it's definitely a 64-bit cpu - running a 64-bit OS. If I show qeme -cpu ?, I get a list of only 32-bit cpus. What am I doing wrong?

QEMU is probably compiled for i386, not x86_64.

-Nathan

#2 lore raw
In reply to Dave Dixon

Hello,

Am 12.12.2009 um 01:33 schrieb Dave Dixon:

Quoted 5 lines

When I try qemu with
-kernel and -initrd, it says "This kernel requires an x86-64 CPU, but only
detected an i686 CPU." But it's definitely a 64-bit cpu - running a 64-bit OS. If I show qeme -cpu ?, I get a list of only 32-bit cpus. What am I doing wrong?

You need to run qemu-system-x86_64 to emulate an x86-64 CPU system. This has nothing to do with your host system.

Andreas