Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
On Sun, Jan 24, 2010 at 09:27:44AM +0200, Avi Kivity wrote: > On 01/22/2010 03:52 PM, Dominik Brodowski wrote: > > > >>So it seems from the Xorg log. Boot a Ubuntu 9.10 cdrom, on > >>qemu-kvm-0.11 it boots fine and fast, on 0.12 it fails on emulation > >>(unless you apply my patchset, in which case it works, but is > >>incredibly slow). > >Hm, does it work with any KVM version for you? Tried a couple of revs, but > >with no success, so I couldn't start bisecting... > > The qemu-kvm-0.11 series worked for me. Can't try the ubuntu install CD now, just my own ubuntu virtual system: $ git checkout qemu-kvm-0.11.1 HEAD is now at 60b28da... Merge commit 'v0.11.1' into stable-0.11 $ ./configure --audio-drv-list="alsa" --target-list="x86_64-softmmu" $ make -j2 $ sudo make install $ /usr/local/bin/qemu-system-x86_64 -M pc -m 1024 -smp 1 -name x86 -drive file=/dev/mapper/x86,if=ide,index=0 -net - nic,macaddr=00:16:36:44:c1:f8,vlan=0 -net user,vlan=0 -usb -usbdevice - tablet -k de -soundhw es1370 -snapshot -vga vmware -monitor stdio --enable-kvm VNC server running on `127.0.0.1:5900' QEMU 0.11.1 monitor - type 'help' for more information (qemu) unhandled vm exit: 0x11 rax 7f55d8532000 rbx rcx rdx rsi rdi 7f55d8532000 rsp 7fff9b695f78 rbp 7fff9b695f90 r8 ff80 r9 0020 r10 r11 7f55d7dbe3f0 r12 004017c0 r13 7fff9b697680 r14 r15 rip 7f55d7dbea7b rflags 00013206 cs 0033 (/ p 1 dpl 3 db 0 s 1 type b l 1 g 1 avl 0) ds (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) es (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) ss 002b (/ p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0) fs (7f55d85446f0/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) gs (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) tr 0040 (880001a03440/2087 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) ldt (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) gdt 8800019f4000/7f idt 818fd000/fff cr0 80050033 cr2 12c3000 cr3 3c42 cr4 6f0 cr8 0 efer d01 Aborted $ Best, Dominik -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
On 01/22/2010 03:52 PM, Dominik Brodowski wrote: So it seems from the Xorg log. Boot a Ubuntu 9.10 cdrom, on qemu-kvm-0.11 it boots fine and fast, on 0.12 it fails on emulation (unless you apply my patchset, in which case it works, but is incredibly slow). Hm, does it work with any KVM version for you? Tried a couple of revs, but with no success, so I couldn't start bisecting... The qemu-kvm-0.11 series worked for me. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
Hey, On Wed, Jan 20, 2010 at 07:15:02PM +0200, Avi Kivity wrote: > On 01/20/2010 07:00 PM, Anthony Liguori wrote: > >>So I have a nice patchset emulating this instruction (quite a > >>pain, since this is the first sse instruction we emulate), but > >>it doesn't help. The guest keeps using it so the display is > >>incredibly slow. > >> > >>Turns out the real problem is somewhere else - the guest is not > >>detecting VBE properly so it is forced to use the old slow vga > >>access. Not sure what the root cause is. > > > > > >Is this with -vga std or -vga vmware? > > Yes (both reported, I confirmed with -vga std). > > >Is this a VESA driver in the guest? > > So it seems from the Xorg log. Boot a Ubuntu 9.10 cdrom, on > qemu-kvm-0.11 it boots fine and fast, on 0.12 it fails on emulation > (unless you apply my patchset, in which case it works, but is > incredibly slow). Hm, does it work with any KVM version for you? Tried a couple of revs, but with no success, so I couldn't start bisecting... Best, Dominik -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
On 01/20/2010 07:00 PM, Anthony Liguori wrote: So I have a nice patchset emulating this instruction (quite a pain, since this is the first sse instruction we emulate), but it doesn't help. The guest keeps using it so the display is incredibly slow. Turns out the real problem is somewhere else - the guest is not detecting VBE properly so it is forced to use the old slow vga access. Not sure what the root cause is. Is this with -vga std or -vga vmware? Yes (both reported, I confirmed with -vga std). Is this a VESA driver in the guest? So it seems from the Xorg log. Boot a Ubuntu 9.10 cdrom, on qemu-kvm-0.11 it boots fine and fast, on 0.12 it fails on emulation (unless you apply my patchset, in which case it works, but is incredibly slow). -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
On 01/20/2010 10:46 AM, Avi Kivity wrote: On 01/14/2010 04:20 PM, Avi Kivity wrote: On 01/14/2010 04:06 PM, Dominik Brodowski wrote: x/5i $eip 0x7f317ab64a7b: movdqa %xmm0,(%rdi) 0x7f317ab64a7f: movdqa %xmm0,0x10(%rdi) 0x7f317ab64a84: movdqa %xmm0,0x20(%rdi) 0x7f317ab64a89: movdqa %xmm0,0x30(%rdi) 0x7f317ab64a8e: movdqa %xmm0,0x40(%rdi) Same values for "vga vmware" and "vga std". Yes - this has been reported. We need to start emulating movdqa and a few of its friends. So I have a nice patchset emulating this instruction (quite a pain, since this is the first sse instruction we emulate), but it doesn't help. The guest keeps using it so the display is incredibly slow. Turns out the real problem is somewhere else - the guest is not detecting VBE properly so it is forced to use the old slow vga access. Not sure what the root cause is. Is this with -vga std or -vga vmware? Is this a VESA driver in the guest? Regards, Anthony Liguori -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
On 01/14/2010 04:20 PM, Avi Kivity wrote: On 01/14/2010 04:06 PM, Dominik Brodowski wrote: x/5i $eip 0x7f317ab64a7b: movdqa %xmm0,(%rdi) 0x7f317ab64a7f: movdqa %xmm0,0x10(%rdi) 0x7f317ab64a84: movdqa %xmm0,0x20(%rdi) 0x7f317ab64a89: movdqa %xmm0,0x30(%rdi) 0x7f317ab64a8e: movdqa %xmm0,0x40(%rdi) Same values for "vga vmware" and "vga std". Yes - this has been reported. We need to start emulating movdqa and a few of its friends. So I have a nice patchset emulating this instruction (quite a pain, since this is the first sse instruction we emulate), but it doesn't help. The guest keeps using it so the display is incredibly slow. Turns out the real problem is somewhere else - the guest is not detecting VBE properly so it is forced to use the old slow vga access. Not sure what the root cause is. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
On 01/14/2010 04:06 PM, Dominik Brodowski wrote: x/5i $eip 0x7f317ab64a7b: movdqa %xmm0,(%rdi) 0x7f317ab64a7f: movdqa %xmm0,0x10(%rdi) 0x7f317ab64a84: movdqa %xmm0,0x20(%rdi) 0x7f317ab64a89: movdqa %xmm0,0x30(%rdi) 0x7f317ab64a8e: movdqa %xmm0,0x40(%rdi) Same values for "vga vmware" and "vga std". Yes - this has been reported. We need to start emulating movdqa and a few of its friends. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
Hey, On Thu, Jan 14, 2010 at 03:51:43PM +0200, Avi Kivity wrote: > On 01/14/2010 12:18 AM, Dominik Brodowski wrote: > > > > /usr/local/bin/qemu-system-x86_64 --version QEMU PC emulator version > > 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard > > > >KVM internal error. Suberror: 1 > >rax 7f53c1c96000 rbx rcx rdx > > > >rsi rdi 7f53c1c96000 rsp 7fffcd5985c8 rbp > >7fffcd5985e0 > >r8 ff80 r9 0020 r10 r11 > >7f53c15223f0 > >r12 004017c0 r13 7fffcd599cd0 r14 r15 > > > >rip 7f53c1522a7b rflags 00013206 > >cs 0033 (/ p 1 dpl 3 db 0 s 1 type b l 1 g 1 avl 0) > >ds (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) > >es (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) > >ss 002b (/ p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0) > >fs (7f53c1ca86f0/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) > >gs (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) > >tr 0040 (880001a03440/2087 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) > >ldt (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) > >gdt 8800019f4000/7f > >idt 818fd000/fff > >cr0 80050033 cr2 b27000 cr3 37d13000 cr4 6f0 cr8 0 efer d01 > >emulation failure, check dmesg for details > > > > > >dmesg contains nothing. Happens with "vga vmware" and "vga std". Seems to be > >a duplicate of > > https://bugs.launchpad.net/qemu/+bug/502107 > > http://bugs.gentoo.org/show_bug.cgi?id=299211 > >? > > > > Likely. Can you post the result of 'x/5i $eip' in the monitor when > it hangs? > > '-monitor stdio' will make cut'n'paste easier. ... cr0 80050033 cr2 7f6c775f3020 cr3 37c04000 cr4 6f0 cr8 0 efer d01 emulation failure, check dmesg for details > x/5i $eip 0x7f317ab64a7b: movdqa %xmm0,(%rdi) 0x7f317ab64a7f: movdqa %xmm0,0x10(%rdi) 0x7f317ab64a84: movdqa %xmm0,0x20(%rdi) 0x7f317ab64a89: movdqa %xmm0,0x30(%rdi) 0x7f317ab64a8e: movdqa %xmm0,0x40(%rdi) Same values for "vga vmware" and "vga std". Thanks and best, Dominik -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: vga stad / vga vmware leads to KVM internal error. Suberror: 1
On 01/14/2010 12:18 AM, Dominik Brodowski wrote: /usr/local/bin/qemu-system-x86_64 --version QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard KVM internal error. Suberror: 1 rax 7f53c1c96000 rbx rcx rdx rsi rdi 7f53c1c96000 rsp 7fffcd5985c8 rbp 7fffcd5985e0 r8 ff80 r9 0020 r10 r11 7f53c15223f0 r12 004017c0 r13 7fffcd599cd0 r14 r15 rip 7f53c1522a7b rflags 00013206 cs 0033 (/ p 1 dpl 3 db 0 s 1 type b l 1 g 1 avl 0) ds (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) es (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) ss 002b (/ p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0) fs (7f53c1ca86f0/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) gs (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) tr 0040 (880001a03440/2087 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) ldt (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) gdt 8800019f4000/7f idt 818fd000/fff cr0 80050033 cr2 b27000 cr3 37d13000 cr4 6f0 cr8 0 efer d01 emulation failure, check dmesg for details dmesg contains nothing. Happens with "vga vmware" and "vga std". Seems to be a duplicate of https://bugs.launchpad.net/qemu/+bug/502107 http://bugs.gentoo.org/show_bug.cgi?id=299211 ? Likely. Can you post the result of 'x/5i $eip' in the monitor when it hangs? '-monitor stdio' will make cut'n'paste easier. -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
vga stad / vga vmware leads to KVM internal error. Suberror: 1
Hey, On Wed, Jan 13, 2010 at 03:59:33PM -0600, Anthony Liguori wrote: > On 01/13/2010 02:29 PM, Dominik Brodowski wrote: > >Hey, > > > >On Mon, Dec 14, 2009 at 03:11:55PM +0100, Dominik Brodowski wrote: > >>using kvm with "-vga std" or "-vga vmware" leads to an > >>"unhandled vm exit: 0x11", while "-vga cirrus" works fine. > >> > >>CPU model: > >>Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz > >> > >>KVM version: > >>- QEMU PC emulator version 0.11.0 (qemu-kvm-0.11.0), Copyright (c) > >>2003-2008 Fabrice Bellard [0.11.0-0ubuntu6.3] > >>- QEMU PC emulator version 0.11.1 (qemu-kvm-0.11.1), Copyright (c) > >>2003-2008 Fabrice Bellard > >> > >>host kernel: > >>various, including 2.6.31 and Linus' latest as of today > >>(v2.6.32-6793-gf405425) > >> > >>command line: > >># QEMU_AUDIO_DRV=alsa /usr/bin/qemu-system-x86_64 -M pc -m 1024 -smp 1 > >>-name x86 -drive file=/dev/mapper/x86,if=ide,index=0,boot=on -drive > >>file=,if=ide,media=cdrom,index=2 -net nic,macaddr=,vlan=0 > >>-net user,vlan=0 -usb -usbdevice tablet -k de -soundhw es1370 -vga std > >> > >>The guest is a x86_64 ubuntu 9.10 system. > >> > >>The problem also appears with -no-kvm-irqchip or -no-kvm-pit. > >> > >>However, -no-kvm seems to work, but takes ages to run, of course. > >Still happens with 2.6.33-rc4. Any ideas? vgabios is Ubuntu's 0.6c-1 , btw. > > There's been a lot of vmware vga fixes in 0.12 so I'd suggest > upgrading your qemu-kvm version. No joy: /usr/local/bin/qemu-system-x86_64 --version QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2), Copyright (c) 2003-2008 Fabrice Bellard KVM internal error. Suberror: 1 rax 7f53c1c96000 rbx rcx rdx rsi rdi 7f53c1c96000 rsp 7fffcd5985c8 rbp 7fffcd5985e0 r8 ff80 r9 0020 r10 r11 7f53c15223f0 r12 004017c0 r13 7fffcd599cd0 r14 r15 rip 7f53c1522a7b rflags 00013206 cs 0033 (/ p 1 dpl 3 db 0 s 1 type b l 1 g 1 avl 0) ds (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) es (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) ss 002b (/ p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0) fs (7f53c1ca86f0/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) gs (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) tr 0040 (880001a03440/2087 p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0) ldt (/ p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0) gdt 8800019f4000/7f idt 818fd000/fff cr0 80050033 cr2 b27000 cr3 37d13000 cr4 6f0 cr8 0 efer d01 emulation failure, check dmesg for details dmesg contains nothing. Happens with "vga vmware" and "vga std". Seems to be a duplicate of https://bugs.launchpad.net/qemu/+bug/502107 http://bugs.gentoo.org/show_bug.cgi?id=299211 ? Best Dominik -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html