Bug #1834

kvm driver hangs kernel on Xeon E3-1230

Added by Matt Connolly almost 9 years ago. Updated over 8 years ago.

Start date:
Due date:
% Done:


Estimated time:
Gerrit CR:


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:

  1. pkg install driver/i86pc/kvm
  2. 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.


crashstacktrace.jpg (227 KB) crashstacktrace.jpg Matt Connolly, 2011-11-30 10:05 PM

Related issues

Related to illumos gate - Bug #1723: apix module mistakingly sets TPRResolvedRobert Mustacchi2011-11-03


Updated by Rich Lowe almost 9 years ago

This has a reasonable chance of being

the panic is new to me, but better reported as a bug against the KVM driver at


Updated by Matt Connolly almost 9 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 9 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: []. I am also be curious if you have hyper-threading currently enabled in our BIOS right now.


Updated by Matt Connolly almost 9 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 8 years ago

This issue appears to be resolved for me using KVM from oi151-a2. (a3 has other issues however, see #2626).

Also available in: Atom PDF