Re: [pfSense] KVM virtualization: Fatal trap 9: general protection fault while in kernel mode
By the way, if you ever install vncserver, that port used for the VM will cause a conflict ___ List mailing list List@lists.pfsense.org https://lists.pfsense.org/mailman/listinfo/list
Re: [pfSense] KVM virtualization: Fatal trap 9: general protection fault while in kernel mode
> Did you ever had troubles with virtio drivers? I have a pfSense guest that runs fine with all virtio drivers (lan,storage) but you might want to switch back to IDE just to see if your virtio storage driver is causing the issue. Your xml file looks very much like a pfSense guest I have running on Ubuntu 12.04, except mine has these differences: hvm (I've had problems with some OSes with the wrong 'machine' type) (I use files because I don't have a need to dedicate a disk, and pfSense uses very little drive space. Also makes it easy to back up the guest by copying the file) Speaking of drives, do you have a way to read the SMART values from the hard drives on your raid controller? Drives can fail slowly, but to know you have to read the following SMART values: Reallocated sector count Current Pending sector count Uncorrectable sector count GSense error rate (if the drive has experienced a shock while running. More likely on laptops) Also, when you're seeing weird problems, booting and running memtest86 on the host for several passes will test the systems RAM. Best to let it run 4 or 5 passes, or even letting it run overnight if possible. ___ List mailing list List@lists.pfsense.org https://lists.pfsense.org/mailman/listinfo/list
Re: [pfSense] KVM virtualization: Fatal trap 9: general protection fault while in kernel mode
Hi. Thanks for your feedback. > I have used the virtio drivers for nics, storage, and memory ballooning, but > because of the steps you have to take to switch to virtio, I'm using e1000 > and IDE emulation on this one to keep it simple. Did you ever had troubles with virtio drivers? I started using them but had some issues, so eventually stopped even if not sure that was the real issue. Also from discussions on the kvm ml I found out there's no big performance improvement compared to the e1000 emulation. > What host OS are you using, and what hardware is it running on? (real cpu, > ram, and storage) Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, RAM DDR3 1333 MHz, disk MegaRAID SAS 2208. The host OS is Ubuntu 12, libvirt 0.9.8, qemu 1.0+noroms-0ubuntu14.15. > Is it possible to see the results of virsh dumpxml for the guest? Here it is! pfsense2_1 0dffd074-abc0-2654-22b4-789b1a99f25f 2097152 2097152 2 hvm destroy restart restart /usr/bin/kvm libvirt-0dffd074-abc0-2654-22b4-789b1a99f25f libvirt-0dffd074-abc0-2654-22b4-789b1a99f25f -- Lorenzo Milesi - lorenzo.mil...@yetopen.it YetOpen S.r.l. - http://www.yetopen.it/ ___ List mailing list List@lists.pfsense.org https://lists.pfsense.org/mailman/listinfo/list
Re: [pfSense] KVM virtualization: Fatal trap 9: general protection fault while in kernel mode
> The VM is configured with VirtIO disks, emulated e1000 network cards. I use kvm and have had no problems running any of the 2.1 releases. I'm building a VM server right now that will run pfSense and one other guest OS. I have used the virtio drivers for nics, storage, and memory ballooning, but because of the steps you have to take to switch to virtio, I'm using e1000 and IDE emulation on this one to keep it simple. What host OS are you using, and what hardware is it running on? (real cpu, ram, and storage) Is it possible to see the results of virsh dumpxml for the guest? ___ List mailing list List@lists.pfsense.org https://lists.pfsense.org/mailman/listinfo/list
[pfSense] KVM virtualization: Fatal trap 9: general protection fault while in kernel mode
Hi. I'm reposting here a question I asked on the forum, hoping for a different audience. I'm running pfSense for some time now, since 2.0.something it has always been running without issues. With the latest 2.1 releases I'm very rarely running into crashes. Today I managet do catch one: Fatal trap 9: general protection fault while in kernel mode [...] Stopped at rn_match+0x25: cmpw $0,0x10(%r13) Here's a full screenshot of dump caught on console: https://dl.dropboxusercontent.com/u/706934/pfsense_crash.png The VM is configured with VirtIO disks, emulated e1000 network cards. Any hint on what it could be? Where to look at? thanks -- Lorenzo Milesi - lorenzo.mil...@yetopen.it YetOpen S.r.l. - http://www.yetopen.it/ ___ List mailing list List@lists.pfsense.org https://lists.pfsense.org/mailman/listinfo/list