KVM - The Linux Kernel-Based Virtual Machine
News, Blogs and Resources on the Linux (KVM) Kernel-Based Virtual Machine

Help with random KVM segfaulting...

1 reply [Last post]
mervbg
Offline
Joined: May 12 2010
Points: 5

Hi,

I have a debian box with libvirtd and kvm installed and 2 VMs. One of the VMs is crashing kvm with a segmentation fault every couple of days and i have no idea how to diagnose the problem. The other one running ubuntu is working perfectly.
Here are the log entries for every crash:

2010-03-31T14:49:03.330349+03:00 judge kernel: [26182562.299640] kvm[22476]: segfault at 7fff4afe8ab0 ip 4902c0 sp 7fff4ae09e60 error 4 in kvm[400000+19b000]
2010-03-31T21:48:45.750995+03:00 judge kernel: [26235333.578298] kvm[22730] general protection ip:4902a0 sp:7fff8cd42a40 error:0 in kvm[400000+19b000]
2010-04-06T16:35:31.544772+03:00 judge kernel: [27340575.327728] kvm[22968]: segfault at 7fffb2a8c910 ip 4902c0 sp 7fffb2803ab0 error 4 in kvm[400000+19b000]
2010-04-11T18:10:44.058139+03:00 judge kernel: [28314952.346427] kvm[2573] general protection ip:4902a0 sp:7fff5d82b440 error:0 in kvm[400000+19b000]
2010-04-12T11:37:51.114464+03:00 judge kernel: [28460286.484759] kvm[23533]: segfault at 7fffec327918 ip 4902c0 sp 7fffebe20b60 error 4 in kvm[400000+19b000]
2010-04-15T22:50:07.280110+03:00 judge kernel: [29110609.759291] kvm[24433]: segfault at 7fff2236af08 ip 4902c0 sp 7fff1c4e0160 error 4 in kvm[400000+19b000]
2010-04-22T14:32:28.663373+03:00 judge kernel: [929122.332582] kvm[4296]: segfault at cdbc ip 4902a0 sp 7fff084ef7e0 error 4 in kvm[400000+19b000]
2010-04-22T19:27:19.812412+03:00 judge kernel: [963319.704700] kvm[13709] general protection ip:4902a0 sp:7fffbbc57840 error:0 in kvm[400000+19b000]
2010-04-28T22:37:46.436014+03:00 judge kernel: [2035622.366764] kvm_handle_exit: unexpected, valid vectoring info and exit reason is 0x31
2010-05-02T00:37:51.351994+03:00 judge kernel: [2568610.917634] kvm[6530] general protection ip:4902a0 sp:7fff2a80c390 error:0 in kvm[400000+19b000]
2010-05-09T13:01:37.225754+03:00 judge kernel: [3866895.431107] kvm[681]: segfault at 7fffde215058 ip 4902c0 sp 7fffdddf77e0 error 4 in kvm[400000+19b000]
2010-05-11T14:05:30.210202+03:00 judge kernel: [4219084.906496] kvm[14602]: segfault at 7fff8fc4ebd0 ip 4902c0 sp 7fff8f891da0 error 4 in kvm[400000+19b000]

The vm has debian lenny and is converted from a virtualbox machine. KVM version is 72+dfsg-5~lenny5.
I will provide more information if needed i'm just not sure what is relevant.

I will greatly appreciate any help!

Thanks

mervbg
Offline
Joined: May 12 2010
Points: 5
Fixed it!

I think its finally working after a kernel upgrade of the guest. I didn't notice before the kernel package have been held back, and i thought the kernel was the latest. No crashes since the update. Also changed it from 486 to 686 if it has any relevance.

Post new comment

The content of this field is kept private and will not be shown publicly.
Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.