[gutsy] KVM core dumps with -std-vga

Bug #131657 reported by Stefano Rivera
8
Affects Status Importance Assigned to Milestone
KVM
Unknown
Unknown
kvm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kvm

System: MacBook running gutsy/amd64:
ii kvm 1:28-4ubuntu1 Full virtualization on x86 hardware
ii linux-image-2.6.22-9-generic 2.6.22-9.25 Linux kernel image for version 2.6.22 on x86/x86_64

I'm running XP SP2 as a guest:
Works fine:
$ kvm -hda qemu/xp.img

Spews errors and crahes when XP tries to switch the display mode:
$ kvm -hda qemu/xp.img -std-vga
kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
kvm: get_dirty_pages returned -2
(etc... snip ...)
exception 14 (0)
rax 0000000000000010 rbx 00000000fc62b920 rcx 0000000000000008 rdx 0000000000000004
rsi 00000000e1ccd07c rdi 00000000fbbd7000 rsp 00000000fc62b728 rbp 00000000fc62b730
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000bf8c2d89 rflags 00010202
cs 0008 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type b l 0 g 1 avl 0)
ds 0023 (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
es 0023 (00000000/ffffffff p 1 dpl 3 db 1 s 1 type 3 l 0 g 1 avl 0)
ss 0010 (00000000/ffffffff p 1 dpl 0 db 1 s 1 type 3 l 0 g 1 avl 0)
fs 0030 (ffdff000/00001fff p 1 dpl 0 db 1 s 1 type 3 l 0 g 1 avl 0)
gs 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
tr 0028 (80042000/000020ab p 1 dpl 0 db 0 s 0 type b l 0 g 0 avl 0)
ldt 0000 (00000000/ffffffff p 0 dpl 0 db 0 s 0 type 0 l 0 g 0 avl 0)
gdt 8003f000/3ff
idt 8003f400/7ff
cr0 e0010031 cr2 bf818bc5 cr3 428040 cr4 6f8 cr8 0 efer 800
Aborted (core dumped)

Revision history for this message
Chris Halse Rogers (raof) wrote :

This is apparently fixed in kvm-36. I might look at merging debian's new kvm.

Revision history for this message
Casper Wilstrup (cwi-aves) wrote :

I'm experiencing this too on my Thinkpad T61p. Very annoying, since -std-vga is needed to run full-screen on wide displays. It has indeed been fixed upstream.

Revision history for this message
Matt Darcy (matt-darcy) wrote :

Is there any movement on this at all, we've had 5 months pass with no sign of a kvm update

Revision history for this message
Nick Barcet (nijaba) wrote :

Thanks a lot for your bug report. As KVM is moving to main with Hardy, we have been working very hard on it. If you are able to upgrade to the current development version, it would certainly help to know if your problem is fixed with this new version, as I would tend to think it is.

Changed in kvm:
status: New → Incomplete
Revision history for this message
Lox (gecka) wrote :

I have experienced exactly the same bug with KVM version installed from Ubuntu repositories.

Amd 64
Windows xp SP2 guest
-std-vga option

I have downloaded kvm-61 sources from sourceforge (http://sourceforge.net/project/showfiles.php?group_id=180599)

# ./configure –prefix=/usr
# make
# sudo make install

(needs gcc3.4 and libsdl-gfx1.2-dev)

then sudo modprobe kvm_amd

Lauched kvm
# qemu-system-x86_64 -no-acpi -m 512 -std-vga

No more bug.

Changed in kvm:
status: Incomplete → Confirmed
Revision history for this message
Tom Badran (tom-badran) wrote :

With the hardy version of kvm this now works correctly. This bug however has [gutsy] tag so im not sure if it should be closed as fix released or not.

Changed in kvm:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.