qemu-system-x86_64 crashes
Hi all,
I'm new to qemu and I'm getting this same crash on both the qemu packages in Ubuntu Hardy Heron (0.9.1) and the version in SVN.
I'm running on an 2 * dual core AMD-64 system [0] which is running Ubuntu Hardy Heron. I am trying to load debian testing AMD64 in qemu. When running from the SVN compiled sources I do:
x86_64-softmmu/qemu-system-x86_64 -L pc-bios \
-cdrom ~/Qemu/debian-testing-amd64-netinst.iso -m 512 \
-boot d ~/Qemu/debian-64.imgI get the first boots splash screen and proceed to chose a language and thats when qemu crashes with:
RAX=0000000000000000 RBX=0000000000000000 RCX=0000000000000000 RDX=0000000000000000
RSI=0000000000000000 RDI=0000000000000000 RBP=0000000000000000 RSP=00007fff6d37c000
R8 =0000000000000000 R9 =0000000000000000 R10=0000000000000000 R11=0000000000000200
R12=0000000000000000 R13=0000000000000000 R14=0000000000000000 R15=0000000000000000
RIP=00002ba53d72da60 RFL=00010202 [-------] CPL=3 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 00000000 00000000
CS =0033 0000000000000000 ffffffff 00affb00
SS =002b 0000000000000000 ffffffff 00cff300
DS =0000 0000000000000000 00000000 00000000
FS =0000 0000000000000000 00000000 00000000
GS =0000 0000000000000000 00000000 00000000
LDT=0000 0000000000000000 00000000 00008000
TR =0040 ffff810001008000 0000206f 00008900
GDT= ffffffff8051e000 00000080
IDT= ffffffff8057c000 00000fff
CR0=8005003b CR2=00002ba53d72da60 CR3=000000001feb5000 CR4=000006e0
Unsupported return value: 0xffffffffIf I add -kernel-kqemu to the command line it crashes with a slightly sooner with a slightly different register dump and the following in the messages log:
[224430.290033] kqemu: aborting: Unexpected exception 0x0d in monitor space
[224430.290038] err=0000 CS:EIP=f180:00000000f0001f6f SS:SP=0000:00000000f00c6e00Anyone have any idea what went wrong here?
I'm a reasonably advanced developer so if someone can point me in the right direction, I'mmore than willing to hack on this.
Cheers,
Erik
[0] Opteron 265 which does *not* have the hardware virtualization extensions.
Signature · 7 lines
----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "Every time microshaft's stock price drops again, I rejoice. I want to see that bunch of criminals brought to their knees. Preferably at the chopping block." -- rixt in http://linuxtoday.com/stories/20659_flat.html
Quoted 34 lines · Erik de Castro Lopo
Hi all,
I'm new to qemu and I'm getting this same crash on both the qemu packages in Ubuntu Hardy Heron (0.9.1) and the version in SVN.
I'm running on an 2 * dual core AMD-64 system [0] which is running Ubuntu Hardy Heron. I am trying to load debian testing AMD64 in qemu. When running from the SVN compiled sources I do:
x86_64-softmmu/qemu-system-x86_64 -L pc-bios \ -cdrom ~/Qemu/debian-testing-amd64-netinst.iso -m 512 \ -boot d ~/Qemu/debian-64.imgI get the first boots splash screen and proceed to chose a language and thats when qemu crashes with:
RAX=0000000000000000 RBX=0000000000000000 RCX=0000000000000000 RDX=0000000000000000 RSI=0000000000000000 RDI=0000000000000000 RBP=0000000000000000 RSP=00007fff6d37c000 R8 =0000000000000000 R9 =0000000000000000 R10=0000000000000000 R11=0000000000000200 R12=0000000000000000 R13=0000000000000000 R14=0000000000000000 R15=0000000000000000 RIP=00002ba53d72da60 RFL=00010202 [-------] CPL=3 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 00000000 00000000 CS =0033 0000000000000000 ffffffff 00affb00 SS =002b 0000000000000000 ffffffff 00cff300 DS =0000 0000000000000000 00000000 00000000 FS =0000 0000000000000000 00000000 00000000 GS =0000 0000000000000000 00000000 00000000 LDT=0000 0000000000000000 00000000 00008000 TR =0040 ffff810001008000 0000206f 00008900 GDT= ffffffff8051e000 00000080 IDT= ffffffff8057c000 00000fff CR0=8005003b CR2=00002ba53d72da60 CR3=000000001feb5000 CR4=000006e0 Unsupported return value: 0xffffffff
Quoted 9 lines
If I add -kernel-kqemu to the command line it crashes with a slightly sooner with a slightly different register dump and the following in the messages log:
[224430.290033] kqemu: aborting: Unexpected exception 0x0d in monitor space [224430.290038] err=0000 CS:EIP=f180:00000000f0001f6f SS:SP=0000:00000000f00c6e00Anyone have any idea what went wrong here?
kqemu doesn't work correctly for x86-64 guests. Try using -no-kqemu.
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net
Quoted 1 line · Aurelien Jarno
kqemu doesn't work correctly for x86-64 guests. Try using -no-kqemu.
Thank you, Aurelien. It works with -no-kqemu.
Cheers,
Erik
Signature · 7 lines
----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "Every time you get a windows programmer asking you to write some ass-backward workaround, think of it as a crack junkie asking you to help stuff his pipe because his hands are too shaky." -- Conrad Parker