Bug #1834
openkvm driver hangs kernel on Xeon E3-1230
0%
Description
I've just put together a new oi-151 machine with a Xeon E3-1230 processor.
Installing the kvm driver results in a system that will hang during boot. If VT-d is disabled in bios, then a kernel panic occurs, and the stack trace can be seen in the attached photo. With VT-d enabled, the hang occurs at the same place (in the boot process), but it's a silent hang with no dump.
Steps to reproduce:
- pkg install driver/i86pc/kvm
- reboot
Interestingly, after installing the driver and not rebooting, it does work correctly: I can subsequently install qemu-kvm and setup virtual machines and they run fine.
Is there something different about how the driver loads at boot vs at install time?
I'm happy to build the kvm driver with patches for testing, and generally help out where I can.
Files
Related issues
Updated by Rich Lowe almost 12 years ago
This has a reasonable chance of being https://github.com/joyent/illumos-kvm/issues/1
the panic is new to me, but better reported as a bug against the KVM driver at http://github.com/joyent/illumos-kvm
Updated by Matt Connolly almost 12 years ago
It could be. Thanks for the link, and I'll make another issue over at illumos-kvm about the kernel panic.
Updated by Jon Strabala almost 12 years ago
Matt, If you build a new nightly BE from source (e.g. updated code base after the oi_151a release) for your Xeon E3-1230, you might have to tun off hyper-threading in your BIOS refer to: [https://www.illumos.org/issues/1627]. I am also be curious if you have hyper-threading currently enabled in our BIOS right now.
Updated by Matt Connolly almost 12 years ago
Hi Jon, I do have hyperthreading enabled. But I've followed the instructions over at the github issue and that appears to have resolved the issue.
I'm writing this now from a Linux guest VM running in qemu-kvm on OpenIndiana. :)
Updated by Matt Connolly over 11 years ago
This issue appears to be resolved for me using KVM from oi151-a2. (a3 has other issues however, see #2626).