public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Re: -std-vga causes crash
  2007-08-29 11:51 -std-vga causes crash mrintegrity
@ 2007-08-29  2:19 ` Izik Eidus
       [not found]   ` <1188353996.3215.1.camel-siXIhNkUrCXckEVJwWePHtCfPAL7FxvL@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Izik Eidus @ 2007-08-29  2:19 UTC (permalink / raw)
  To: mrintegrity-Re5JQEeQqe8AvxtiuMwx3w
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Wed, 2007-08-29 at 13:51 +0200, mrintegrity wrote:
> 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?
> 
what kvm version are you using?
kvm-36 should have a fix to the -std-vga problem.

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

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

* -std-vga causes crash
@ 2007-08-29 11:51 mrintegrity
  2007-08-29  2:19 ` Izik Eidus
  0 siblings, 1 reply; 7+ messages in thread
From: mrintegrity @ 2007-08-29 11:51 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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/

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

* Re: -std-vga causes crash
       [not found]   ` <1188353996.3215.1.camel-siXIhNkUrCXckEVJwWePHtCfPAL7FxvL@public.gmane.org>
@ 2007-08-29 12:51     ` Pelle
       [not found]       ` <46D56BDC.5050200-5JapdU7xTciEVqv0pETR8A@public.gmane.org>
  2007-08-29 13:21     ` mrintegrity
  1 sibling, 1 reply; 7+ messages in thread
From: Pelle @ 2007-08-29 12:51 UTC (permalink / raw)
  To: Izik Eidus
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	mrintegrity-Re5JQEeQqe8AvxtiuMwx3w

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)

Izik Eidus wrote:
> On Wed, 2007-08-29 at 13:51 +0200, mrintegrity wrote:
>   
>> 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?
>>
>>     
> what kvm version are you using?
> kvm-36 should have a fix to the -std-vga problem.
>
>   
>> 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/
> _______________________________________________
> kvm-devel mailing list
> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> 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/

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

* Re: -std-vga causes crash
       [not found]   ` <1188353996.3215.1.camel-siXIhNkUrCXckEVJwWePHtCfPAL7FxvL@public.gmane.org>
  2007-08-29 12:51     ` Pelle
@ 2007-08-29 13:21     ` mrintegrity
  2007-08-30  0:35       ` Avi Kivity
  1 sibling, 1 reply; 7+ messages in thread
From: mrintegrity @ 2007-08-29 13:21 UTC (permalink / raw)
  To: Izik Eidus; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

On Wed, 2007-08-29 at 05:19 +0300, Izik Eidus wrote:
> On Wed, 2007-08-29 at 13:51 +0200, mrintegrity wrote:
> > 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?
> > 
> what kvm version are you using?
> kvm-36 should have a fix to the -std-vga problem.
> 
> > 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/

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

* Re: -std-vga causes crash
       [not found]       ` <46D56BDC.5050200-5JapdU7xTciEVqv0pETR8A@public.gmane.org>
@ 2007-08-30  0:34         ` Avi Kivity
       [not found]           ` <46D6109B.20503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Avi Kivity @ 2007-08-30  0:34 UTC (permalink / raw)
  To: Pelle
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	mrintegrity-Re5JQEeQqe8AvxtiuMwx3w

Pelle wrote:
> 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.

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

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

* Re: -std-vga causes crash
  2007-08-29 13:21     ` mrintegrity
@ 2007-08-30  0:35       ` Avi Kivity
  0 siblings, 0 replies; 7+ messages in thread
From: Avi Kivity @ 2007-08-30  0:35 UTC (permalink / raw)
  To: mrintegrity-Re5JQEeQqe8AvxtiuMwx3w
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

mrintegrity wrote:
> 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.

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

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

* Re: -std-vga causes crash
       [not found]           ` <46D6109B.20503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-08-30  6:15             ` Pelle
  0 siblings, 0 replies; 7+ messages in thread
From: Pelle @ 2007-08-30  6:15 UTC (permalink / raw)
  To: Avi Kivity
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	mrintegrity-Re5JQEeQqe8AvxtiuMwx3w

No, I'm not,
changing to

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

fixes it, Tnx!

Avi Kivity wrote:
> Pelle wrote:
>   
>> 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.
>
>   

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

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

end of thread, other threads:[~2007-08-30  6:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-29 11:51 -std-vga causes crash mrintegrity
2007-08-29  2:19 ` Izik Eidus
     [not found]   ` <1188353996.3215.1.camel-siXIhNkUrCXckEVJwWePHtCfPAL7FxvL@public.gmane.org>
2007-08-29 12:51     ` Pelle
     [not found]       ` <46D56BDC.5050200-5JapdU7xTciEVqv0pETR8A@public.gmane.org>
2007-08-30  0:34         ` Avi Kivity
     [not found]           ` <46D6109B.20503-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-08-30  6:15             ` Pelle
2007-08-29 13:21     ` mrintegrity
2007-08-30  0:35       ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox