qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-system-x86_64 crashes
@ 2008-04-26 23:47 Erik de Castro Lopo
  2008-04-27 14:50 ` Aurelien Jarno
  0 siblings, 1 reply; 3+ messages in thread
From: Erik de Castro Lopo @ 2008-04-26 23:47 UTC (permalink / raw)
  To: qemu-devel

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

I 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

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:00000000f00c6e00

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

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

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

* Re: [Qemu-devel] qemu-system-x86_64 crashes
  2008-04-26 23:47 [Qemu-devel] qemu-system-x86_64 crashes Erik de Castro Lopo
@ 2008-04-27 14:50 ` Aurelien Jarno
  2008-04-27 20:39   ` Erik de Castro Lopo
  0 siblings, 1 reply; 3+ messages in thread
From: Aurelien Jarno @ 2008-04-27 14:50 UTC (permalink / raw)
  To: qemu-devel

Erik de Castro Lopo a écrit :
> 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.img
> 
> I 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
> 
> 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:00000000f00c6e00
> 
> Anyone have any idea what went wrong here?
> 

kqemu doesn't work correctly for x86-64 guests. Try using -no-kqemu.


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

* Re: [Qemu-devel] qemu-system-x86_64 crashes
  2008-04-27 14:50 ` Aurelien Jarno
@ 2008-04-27 20:39   ` Erik de Castro Lopo
  0 siblings, 0 replies; 3+ messages in thread
From: Erik de Castro Lopo @ 2008-04-27 20:39 UTC (permalink / raw)
  To: qemu-devel

Aurelien Jarno wrote:

> kqemu doesn't work correctly for x86-64 guests. Try using -no-kqemu.

Thank you, Aurelien. It works with -no-kqemu.

Cheers,
Erik
-- 
-----------------------------------------------------------------
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

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

end of thread, other threads:[~2008-04-27 20:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-26 23:47 [Qemu-devel] qemu-system-x86_64 crashes Erik de Castro Lopo
2008-04-27 14:50 ` Aurelien Jarno
2008-04-27 20:39   ` Erik de Castro Lopo

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