[Bug 229852] [PATCH] bhyve: IOMMU (Intel VTd) PCI passthrough attempt locks up some systems
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 24 13:45:14 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229852
--- Comment #6 from Niels Bakker <niels=freebsd at bakker.net> ---
(In reply to Marcelo Araujo from comment #5)
> 1) bhyve command line
I'm not sure tbh - created and started it via vm-bhyve and it rewrites its
cmdline.
Its config file contains these lines, plus others that deal with storage and
vnet:
---
loader="bhyveload"
cpu=2
memory=4G
passthru0="0/31/6"
bhyve_options="-S"
---
> 2) CPU Type
CPU: Intel(R) Celeron(R) CPU 3865U @ 1.80GHz (1800.08-MHz K8-class CPU)
Origin="GenuineIntel" Id=0x806e9 Family=0x6 Model=0x8e Stepping=9
This is a Kaby Lake CPU (same class as 7th gen Core) from 2017.
> 3) Guest OS USED
guest# uname -srv
FreeBSD 11.2-RELEASE-p7 FreeBSD 11.2-RELEASE-p7 #0: Tue Dec 18 08:29:33 UTC
2018 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
> 4) Device used via passthrough
---
host# grep ^ppt /boot/loader.conf
pptdevs="0/31/6 2/0/0"
host# pciconf -lv ppt1 at pci0:0:31:6
ppt1 at pci0:0:31:6: class=0x020000 card=0x00008086 chip=0x156f8086 rev=0x21
hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection I219-LM'
class = network
subclass = ethernet
---
guest# pciconf -lv em0
em0 at pci0:0:6:0: class=0x020000 card=0x00008086 chip=0x156f8086 rev=0x21
hdr=0x00
vendor = 'Intel Corporation'
device = 'Ethernet Connection I219-LM'
class = network
subclass = ethernet
---
(The second device, some WiFi chipset, isn't passed through to any VM, and
there is no FreeBSD driver for it anyway)
As said, without the patch the system dies an immediate death as soon as the
bhyve with passthrough is started.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-virtualization
mailing list