Skip to contentSkip to conversation

kvm core dumps at random

DISCUSSION Andrew Henry 2 participants 6 messages Apr 5, 2007 – Apr 8, 2007 5 messages not in the archive KVM

lore
Share & tools
lore
#0 lore raw

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

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

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

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

A message that is not in the archive (sent off-list or not yet received): 4614E473.60708-cgr7CL/[email protected]

#2 lore raw
Quoted 6 lines · Andrew Henry

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?

Quoted 4 lines

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?.

Quoted 5 lines

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).

Quoted 11 lines

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.

Signature · 8 lines
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

A message that is not in the archive (sent off-list or not yet received): 4614EA65.5020603-atKUWr5tajBWk0Htik3J/[email protected]

#4 lore raw
Quoted 32 lines · Avi Kivity
Quoted 6 lines · Andrew Henry

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?

Quoted 4 lines

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?.

Quoted 5 lines

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).

Quoted 6 lines

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.

Quoted 10 lines
Quoted 5 lines

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

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

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

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

A message that is not in the archive (sent off-list or not yet received): 4614F46B.9000702-cgr7CL/[email protected]

#6 lore raw
Quoted 6 lines · Andrew Henry

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.

Quoted 7 lines

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.

Signature · 8 lines
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

A message that is not in the archive (sent off-list or not yet received): 4614F7E0.3050807-atKUWr5tajBWk0Htik3J/[email protected]

#8 lore raw
Quoted 3 lines · Avi Kivity

"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.

Quoted 3 lines

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

I will, thankyou for your help!

--andrew

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

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

_______________________________________________
kvm-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

A message that is not in the archive (sent off-list or not yet received): 4615370D.8070005-cgr7CL/[email protected]

#10 lore raw
Quoted 10 lines · Andrew Henry
Quoted 4 lines · Avi Kivity

"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.

Signature · 8 lines
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