Date: Mon, 18 Nov 2013 11:20:20 +0100 From: Robert Sevat <robert.sevat@live.nl> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: FreeBSD hangs during boot when assigned a controller via vt-d Message-ID: <DUB114-W1243D63F910FE2AE51DAAB087E40@phx.gbl>
next in thread | raw e-mail | index | archive | help
Greetings=2C I have a problem with forwarding an LSI 2308 via vt-d in KVM to a FreeBSD v= irtual machine. FreeBSD (9.2 and 10.0 beta 3) will=20 hang during the boot. Hardware Setup: Supermicro X10SL7-F with LSI 2308 flashed to IT mode 8x4 GB ecc ram Haswell Xeon E3-1230V3 Software Setup: Ubuntu 12.04.3 LTS 64 bit + latest KVM version. uname -a Linux Secretum 3.8.0-33-generic #48~precise1-Ubuntu SMP Thu Oct 24 16:28:06= UTC 2013 x86_64 x86_64 x86_64 GNU/Linux dpkg --list | grep kvm=20 ii kvm 1:84+dfsg-0ubuntu16+1.0+noroms+0ubuntu14.12 dummy transiti= onal package from kvm to qemu-kvm ii kvm-ipxe 1.0.0+git-3.55f6c88-0ubuntu1 PXE ROM's for = KVM ii qemu-kvm 1.0+noroms-0ubuntu14.12 Full virtualiz= ation on i386 and amd64 hardware Under KVM I have the following 3 virtual machines installed=2C I have tried= forwarding the LSI 2308 to all three virtual machines.=20 It works perfectly under Ubuntu=2C but both FreeBSD vms will hang during th= e boot. FreeBSD 9.2 FreeBSD 10.0 beta 3 FreeBSD 10.0 live cd Ubuntu 12.04 LTS If I run FreeBSD 10.0 beta 3 directly on the hardware=2C it does recognize = the raid controller and it'll use the mps0 driver.=20 Everything works fine then. So the problem is that for some reason FreeBSD hangs during boot if you for= ward the LSI 2308 via vt-d=2C and I have no idea why. It will hang and give the following error: http://i.imgur.com/hAMxwR7.png http://i.imgur.com/rKALeXZ.png While doing so the FreeBSD virtual machine uses 300% cpu=2C so it maxes out= 3 cores. And it will stay like that. After googling a bit some people suggested turning off msi / msix in the lo= ader.conf hw.pci.enable_msi=3D"0" hw.pci.enable_msix=3D"0" I have tried this on both freebsd virtual machines=2C it makes no differenc= e. It still hangs. Could somebody point me in the right direction of what I could still try? S= hould I submit this as a bug? Should I ask this on another mailing list? Kind Regards Robert Sevat =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DUB114-W1243D63F910FE2AE51DAAB087E40>