public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kvm core dumps at random
@ 2007-04-05 11:58 Andrew Henry
       [not found] ` <4614E473.60708-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Henry @ 2007-04-05 11:58 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 1175 bytes --]

I am getting core dumps when running kvm at various times.  I am trying
to install WindowsXP as a guest and kvm core dumps at various times
during install, so I have not been able to finish the install.

HP Pavilion dv9297ea Intel Core2Duo 7200, 2GB RAM
VT is enabled in the BIOS and kvm-intel module is loaded successfully
Ubuntu Feisty Fawn beta 2.6.20-13
kvm 0.9.0
Installing winxp pro as guest (no slipstreamed SP, just vanilla version)

I am a member of kvm group but I still have to chmod 777 /dev/kvm to not
get error about kvm not initialized.

Starting newly created qemu image with:

kvm -m 512 -cdrom /dev/cdrom /var/qemu-images/winXP.img

-no-acpi has no affect on core dumping.

I got almost all way through installation this morning, and it core
dumped near the end: QEMU window disappears and I get lots of text in
terminal which ends with (Core dump).  As it got so far, I can now start
WinXP, but it is very slow, as if VT is not being used at all, but I get
no errors when starting kvm.

Any help greatly appreciated.

--andrew

-- 
GnuPG Key ID: ECB18ABA
Fingerprint:  FDF3 91FC F5BC 1164 E217  315E 337E 219B ECB1 8ABA



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: kvm core dumps at random
       [not found] ` <4614E473.60708-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
@ 2007-04-05 12:24   ` Avi Kivity
       [not found]     ` <4614EA65.5020603-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Avi Kivity @ 2007-04-05 12:24 UTC (permalink / raw)
  To: Andrew Henry; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Andrew Henry wrote:
> I am getting core dumps when running kvm at various times.  I am trying
> to install WindowsXP as a guest and kvm core dumps at various times
> during install, so I have not been able to finish the install.
>
> HP Pavilion dv9297ea Intel Core2Duo 7200, 2GB RAM
>   

i386? x86_64?

> VT is enabled in the BIOS and kvm-intel module is loaded successfully
> Ubuntu Feisty Fawn beta 2.6.20-13
> kvm 0.9.0
>   

kvm versions are just integers, e.g. kvm-17, kvm-18.  please specify (or 
are you using the kvm binary provided by feisty?.

> Installing winxp pro as guest (no slipstreamed SP, just vanilla version)
>
> I am a member of kvm group but I still have to chmod 777 /dev/kvm to not
> get error about kvm not initialized.
>   

You need to chgrp /dev/kvm (or add a udev rule to do that for you).

> Starting newly created qemu image with:
>
> kvm -m 512 -cdrom /dev/cdrom /var/qemu-images/winXP.img
>
> -no-acpi has no affect on core dumping.
>
> I got almost all way through installation this morning, and it core
> dumped near the end: QEMU window disappears and I get lots of text in
> terminal which ends with (Core dump).  As it got so far, I can now start
> WinXP, but it is very slow, as if VT is not being used at all, but I get
> no errors when starting kvm.

Please post the text.  Also attach to the core file with gdb and post a 
backtrace.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: kvm core dumps at random
       [not found]     ` <4614EA65.5020603-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-04-05 13:06       ` Andrew Henry
       [not found]         ` <4614F46B.9000702-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Henry @ 2007-04-05 13:06 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 2284 bytes --]

Avi Kivity wrote:
> Andrew Henry wrote:
>> I am getting core dumps when running kvm at various times.  I am trying
>> to install WindowsXP as a guest and kvm core dumps at various times
>> during install, so I have not been able to finish the install.
>>
>> HP Pavilion dv9297ea Intel Core2Duo 7200, 2GB RAM
>>   
>
> i386? x86_64?
>
>> VT is enabled in the BIOS and kvm-intel module is loaded successfully
>> Ubuntu Feisty Fawn beta 2.6.20-13
>> kvm 0.9.0
>>   
>
> kvm versions are just integers, e.g. kvm-17, kvm-18.  please specify
> (or are you using the kvm binary provided by feisty?.
>
>> Installing winxp pro as guest (no slipstreamed SP, just vanilla version)
>>
>> I am a member of kvm group but I still have to chmod 777 /dev/kvm to not
>> get error about kvm not initialized.
>>   
>
> You need to chgrp /dev/kvm (or add a udev rule to do that for you).
>
>> Starting newly created qemu image with:
>>
>> kvm -m 512 -cdrom /dev/cdrom /var/qemu-images/winXP.img
>>
>> -no-acpi has no affect on core dumping.
>>
>> I got almost all way through installation this morning, and it core
>> dumped near the end: QEMU window disappears and I get lots of text in
>> terminal which ends with (Core dump).  As it got so far, I can now start
>> WinXP, but it is very slow, as if VT is not being used at all, but I get
>> no errors when starting kvm.
>
> Please post the text.  Also attach to the core file with gdb and post
> a backtrace.
>
>
Typically, I have now run winXP for 2 hours after it last bombed with 3
mins to go on the installation.  WinXP started up fine however, despite
not finishing the install properly.  It has not crashed so far :( so I
cannot paste the text of the core dump here.  I will post it if I get
the error again.

To answer your other questions, I run Ubuntu amd64 version and kvm is
from the Feisty repository and when I run it with -h option it says it
is version 0.9.0 but that was for qemu I guess.  kvm is in the universe
repository in fesity and is version 16.  How can I determine if VT is
really being used because it is running very slow on window
redrawing/mouse movement?

--andrew

-- 
GnuPG Key ID: ECB18ABA
Fingerprint:  FDF3 91FC F5BC 1164 E217  315E 337E 219B ECB1 8ABA



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: kvm core dumps at random
       [not found]         ` <4614F46B.9000702-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
@ 2007-04-05 13:21           ` Avi Kivity
       [not found]             ` <4614F7E0.3050807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Avi Kivity @ 2007-04-05 13:21 UTC (permalink / raw)
  To: Andrew Henry; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Andrew Henry wrote:

> Typically, I have now run winXP for 2 hours after it last bombed with 3
> mins to go on the installation.  WinXP started up fine however, despite
> not finishing the install properly.  It has not crashed so far :( so I
> cannot paste the text of the core dump here.  I will post it if I get
> the error again.
>
> To answer your other questions, I run Ubuntu amd64 version and kvm is
> from the Feisty repository and when I run it with -h option it says it
> is version 0.9.0 but that was for qemu I guess.  kvm is in the universe
> repository in fesity and is version 16.  How can I determine if VT is
> really being used because it is running very slow on window
> redrawing/mouse movement?
>   

"lsof -p `pgrep kvm` " should list /dev/kvm as an open file.  The qemu 
window should show QEMU/KVM in the title bar.

If the problem persists, please download the latest released kvm version 
and try that.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

* Re: kvm core dumps at random
       [not found]             ` <4614F7E0.3050807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
@ 2007-04-05 17:51               ` Andrew Henry
       [not found]                 ` <4615370D.8070005-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Henry @ 2007-04-05 17:51 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f


[-- Attachment #1.1: Type: text/plain, Size: 607 bytes --]

Avi Kivity wrote:
> "lsof -p `pgrep kvm` " should list /dev/kvm as an open file.  The qemu
> window should show QEMU/KVM in the title bar.
>
kvm is an open file and QEMU/KVM does show in the title bar.  I guess
its working, but maybe kvm-16 is still not fully developed/an early
release?  Speed is very poor in comparison to VMware on much older hardware.
> If the problem persists, please download the latest released kvm
> version and try that.
>
I will, thankyou for your help!

--andrew


-- 
GnuPG Key ID: ECB18ABA
Fingerprint:  FDF3 91FC F5BC 1164 E217  315E 337E 219B ECB1 8ABA



[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

* Re: kvm core dumps at random
       [not found]                 ` <4615370D.8070005-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
@ 2007-04-08  6:05                   ` Avi Kivity
  0 siblings, 0 replies; 6+ messages in thread
From: Avi Kivity @ 2007-04-08  6:05 UTC (permalink / raw)
  To: Andrew Henry; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Andrew Henry wrote:
> Avi Kivity wrote:
>   
>> "lsof -p `pgrep kvm` " should list /dev/kvm as an open file.  The qemu
>> window should show QEMU/KVM in the title bar.
>>
>>     
> kvm is an open file and QEMU/KVM does show in the title bar.  I guess
> its working, but maybe kvm-16 is still not fully developed/an early
> release?  Speed is very poor in comparison to VMware on much older hardware.
>   

kvm-16 speed should be quite good.  What workload are you testing with?

I also recommend trying kvm-18.



-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-05 11:58 kvm core dumps at random Andrew Henry
     [not found] ` <4614E473.60708-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
2007-04-05 12:24   ` Avi Kivity
     [not found]     ` <4614EA65.5020603-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-05 13:06       ` Andrew Henry
     [not found]         ` <4614F46B.9000702-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
2007-04-05 13:21           ` Avi Kivity
     [not found]             ` <4614F7E0.3050807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-04-05 17:51               ` Andrew Henry
     [not found]                 ` <4615370D.8070005-cgr7CL/LOSDk1uMJSBkQmQ@public.gmane.org>
2007-04-08  6:05                   ` Avi Kivity

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