Skip to contentSkip to conversation

-std-vga causes crash

DISCUSSION mrintegrity 4 participants 7 messages Aug 29, 2007 – Aug 30, 2007 3 messages not in the archive KVM

lore
Share & tools
lore
#1 lore raw
In reply to mrintegrity
Quoted 38 lines · mrintegrity

When starting kvm with the -std-vga option I get the following crash and terminal output:

root@lina-desktop:~# kvm -hda /home/variant/XPtest.img -m 450 -soundhw
sb16 -localtime -usb -usbdevice tablet -std-vga -snapshot
kvm: get_dirty_pages returned -2

----SNIP----

kvm: get_dirty_pages returned -2
exception 14 (0)
rax 0000000000000010 rbx 00000000f7a9b920 rcx 0000000000000008 rdx 0000000000000004
rsi 00000000e147807c rdi 00000000f6c7b000 rsp 00000000f7a9b728 rbp 00000000f7a9b730
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000bf8be45d 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 bf818b8d cr3 a91e000 cr4 698 cr8 0 efer 0 Aborted

I have Intel(R) Core(TM)2 CPU with vmx and the kvm and kvm-intel modules are loaded. The guest image has been created with qemu and has been used with qemu with those same options for a few weeks already, the only change I made was to start with kvm instead of qemu.

Quoted 6 lines

I noticed a patch on the mailing list archive for the to avoid exiting with the dirty pages warning but is that the cause of my issue? I didn't see much discussion about it.

Any tips?

what kvm version are you using?
kvm-36 should have a fix to the -std-vga problem.

Quoted 4 lines

Thanks,

Alan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

#0 lore raw

When starting kvm with the -std-vga option I get the following crash and terminal output:

root@lina-desktop:~# kvm -hda /home/variant/XPtest.img -m 450 -soundhw
sb16 -localtime -usb -usbdevice tablet -std-vga -snapshot
kvm: get_dirty_pages returned -2

----SNIP----

kvm: get_dirty_pages returned -2
exception 14 (0)
rax 0000000000000010 rbx 00000000f7a9b920 rcx 0000000000000008 rdx 0000000000000004
rsi 00000000e147807c rdi 00000000f6c7b000 rsp 00000000f7a9b728 rbp 00000000f7a9b730
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000bf8be45d 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 bf818b8d cr3 a91e000 cr4 698 cr8 0 efer 0 Aborted

I have Intel(R) Core(TM)2 CPU with vmx and the kvm and kvm-intel modules are loaded. The guest image has been created with qemu and has been used with qemu with those same options for a few weeks already, the only change I made was to start with kvm instead of qemu.

I noticed a patch on the mailing list archive for the to avoid exiting with the dirty pages warning but is that the cause of my issue? I didn't see much discussion about it.

Any tips?

Thanks,

Alan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

#3 lore raw
In reply to a message not in the archive

The message that this should be fixed was reason for me to test it again, and it fails miserably, even on kvm-36
I checked with "modinfo kvm-intel" that i am in fact using kvm-36, processor is a core 2 duo 6300

$ /usr/local/bin/qemu -hda winXP.img -hdb vdisk.img -m 256 -soundhw 
es1370 -std-vga

kvm: get_dirty_pages returned -2
-----[lots of those]
kvm: get_dirty_pages returned -2
exception 14 (0)
rax 0000000000000010 rbx 00000000f9c9c920 rcx 0000000000000008 rdx 0000000000000004
rsi 00000000e14a607c rdi 00000000f90c9000 rsp 00000000f9c9c728 rbp 00000000f9c9c730
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000bf8be45d 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 bf818b8d cr3 710f000 cr4 698 cr8 0 efer 0 Aborted (core dumped)

Quoted 59 lines · Izik Eidus
Quoted 38 lines · mrintegrity

When starting kvm with the -std-vga option I get the following crash and terminal output:

root@lina-desktop:~# kvm -hda /home/variant/XPtest.img -m 450 -soundhw
sb16 -localtime -usb -usbdevice tablet -std-vga -snapshot
kvm: get_dirty_pages returned -2

----SNIP----

kvm: get_dirty_pages returned -2
exception 14 (0)
rax 0000000000000010 rbx 00000000f7a9b920 rcx 0000000000000008 rdx 0000000000000004
rsi 00000000e147807c rdi 00000000f6c7b000 rsp 00000000f7a9b728 rbp 00000000f7a9b730
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000bf8be45d 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 bf818b8d cr3 a91e000 cr4 698 cr8 0 efer 0 Aborted

I have Intel(R) Core(TM)2 CPU with vmx and the kvm and kvm-intel modules are loaded. The guest image has been created with qemu and has been used with qemu with those same options for a few weeks already, the only change I made was to start with kvm instead of qemu.

Quoted 7 lines

I noticed a patch on the mailing list archive for the to avoid exiting with the dirty pages warning but is that the cause of my issue? I didn't see much discussion about it.

Any tips?

what kvm version are you using?
kvm-36 should have a fix to the -std-vga problem.

Quoted 5 lines

Thanks,

Alan

Quoted 11 lines

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

#8 lore raw
In reply to a message not in the archive

I think it's kvm-16 if that makes any sense? As you can see, it's the ubuntu pre packaged version:

Version: 1:16-1ubuntu2

Alan

Quoted 39 lines · Izik Eidus
Quoted 38 lines · mrintegrity

When starting kvm with the -std-vga option I get the following crash and terminal output:

root@lina-desktop:~# kvm -hda /home/variant/XPtest.img -m 450 -soundhw
sb16 -localtime -usb -usbdevice tablet -std-vga -snapshot
kvm: get_dirty_pages returned -2

----SNIP----

kvm: get_dirty_pages returned -2
exception 14 (0)
rax 0000000000000010 rbx 00000000f7a9b920 rcx 0000000000000008 rdx 0000000000000004
rsi 00000000e147807c rdi 00000000f6c7b000 rsp 00000000f7a9b728 rbp 00000000f7a9b730
r8 0000000000000000 r9 0000000000000000 r10 0000000000000000 r11 0000000000000000
r12 0000000000000000 r13 0000000000000000 r14 0000000000000000 r15 0000000000000000
rip 00000000bf8be45d 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 bf818b8d cr3 a91e000 cr4 698 cr8 0 efer 0 Aborted

I have Intel(R) Core(TM)2 CPU with vmx and the kvm and kvm-intel modules are loaded. The guest image has been created with qemu and has been used with qemu with those same options for a few weeks already, the only change I made was to start with kvm instead of qemu.

Quoted 15 lines
Quoted 6 lines

I noticed a patch on the mailing list archive for the to avoid exiting with the dirty pages warning but is that the cause of my issue? I didn't see much discussion about it.

Any tips?

what kvm version are you using?
kvm-36 should have a fix to the -std-vga problem.

Quoted 4 lines

Thanks,

Alan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/

#5 lore raw
In reply to a message not in the archive
Quoted 10 lines · Pelle

The message that this should be fixed was reason for me to test it again, and it fails miserably, even on kvm-36
I checked with "modinfo kvm-intel" that i am in fact using kvm-36, processor is a core 2 duo 6300

$ /usr/local/bin/qemu -hda winXP.img -hdb vdisk.img -m 256 -soundhw 
es1370 -std-vga

kvm: get_dirty_pages returned -2

Are you sure you're using the qemu binary from kvm-36? The fix was in userspace, not kernel.

Try /usr/local/bin/qemu-system-x86_64.

Signature · 8 lines
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
#9 lore raw
In reply to mrintegrity
Quoted 5 lines · mrintegrity

I think it's kvm-16 if that makes any sense? As you can see, it's the ubuntu pre packaged version:

Version: 1:16-1ubuntu2

Yes, that's kvm-16.

Signature · 8 lines
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
#7 lore raw
In reply to a message not in the archive

No, I'm not,
changing to

/usr/local/bin/qemu-system-x86_64

fixes it, Tnx!

Quoted 10 lines · Avi Kivity
Quoted 8 lines · Pelle

The message that this should be fixed was reason for me to test it again, and it fails miserably, even on kvm-36
I checked with "modinfo kvm-intel" that i am in fact using kvm-36, processor is a core 2 duo 6300

$ /usr/local/bin/qemu -hda winXP.img -hdb vdisk.img -m 256 -soundhw 
es1370 -std-vga
Quoted 10 lines
Quoted 3 lines

kvm: get_dirty_pages returned -2

Are you sure you're using the qemu binary from kvm-36? The fix was in userspace, not kernel.

Try /usr/local/bin/qemu-system-x86_64.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/