Hope your not sick of my questions yet.
I have bhyve up and running on my "FreeBSD 11.2 rc3 running kde5 desktop with: "ryzen 7 1700 (overclocked to 3700Mhz, if that matters) 32 GB of ram on a MSI x370 Gaming Plus motherboard with the latest bios". I have a windows 2012r2 vm (config below) up and running, it has 4 of my physical hard-drives passed through, all is working. I am trying to passthrough the below USB 3 controller.
It shows up:
My loader.conf
My VM config file:
Did I forget or mis-configure something?
Not sure if it matters, the IOMMU was set to "auto" in the bios/uefi when I installed the OS.
It is now set to "enable"
I have bhyve up and running on my "FreeBSD 11.2 rc3 running kde5 desktop with: "ryzen 7 1700 (overclocked to 3700Mhz, if that matters) 32 GB of ram on a MSI x370 Gaming Plus motherboard with the latest bios". I have a windows 2012r2 vm (config below) up and running, it has 4 of my physical hard-drives passed through, all is working. I am trying to passthrough the below USB 3 controller.
Code:
ppt0@pci0:40:0:0: class=0x0c0330 card=0x7a331462 chip=0x21421b21 rev=0x00 hdr=0x00
vendor = 'ASMedia Technology Inc.'
class = serial bus
subclass = USB
cap 05[50] = MSI supports 8 messages, 64 bit
cap 01[78] = powerspec 3 supports D0 D3 current D0
cap 10[80] = PCI-Express 2 legacy endpoint max data 128(512) RO NS
link x2(x2) speed 8.0(8.0) ASPM disabled(L0s/L1)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 0 corrected
ecap 0019[200] = PCIe Sec 1 lane errors 0
ecap 0018[300] = LTR 1
Code:
vm passthru
DEVICE BHYVE ID READY DESCRIPTION
hostb0 0/0/0 No Family 17h (Models 00h-0fh) Root Complex
none0 0/0/2 No Family 17h (Models 00h-0fh) I/O Memory Management Unit
hostb1 0/1/0 No Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
pcib1 0/1/1 No Family 17h (Models 00h-0fh) PCIe GPP Bridge
pcib2 0/1/3 No Family 17h (Models 00h-0fh) PCIe GPP Bridge
hostb2 0/2/0 No Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
hostb3 0/3/0 No Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
pcib13 0/3/1 No Family 17h (Models 00h-0fh) PCIe GPP Bridge
hostb4 0/4/0 No Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
hostb5 0/7/0 No Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
pcib14 0/7/1 No Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
hostb6 0/8/0 No Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
pcib15 0/8/1 No Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B
none1 0/20/0 No FCH SMBus Controller
isab0 0/20/3 No FCH LPC Bridge
hostb7 0/24/0 No Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
hostb8 0/24/1 No Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
hostb9 0/24/2 No Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
hostb10 0/24/3 No Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
hostb11 0/24/4 No Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
hostb12 0/24/5 No Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
hostb13 0/24/6 No Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
hostb14 0/24/7 No Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
nvme0 1/0/0 No NVMe SSD Controller SM961/PM961
xhci0 3/0/0 No -
ahci0 3/0/1 No -
pcib3 3/0/2 No -
pcib4 22/0/0 No 300 Series Chipset PCIe Port
pcib5 22/1/0 No 300 Series Chipset PCIe Port
pcib6 22/2/0 No 300 Series Chipset PCIe Port
pcib7 22/3/0 No 300 Series Chipset PCIe Port
pcib8 22/4/0 No 300 Series Chipset PCIe Port
pcib9 22/5/0 No 300 Series Chipset PCIe Port
pcib10 22/6/0 No 300 Series Chipset PCIe Port
pcib11 22/7/0 No 300 Series Chipset PCIe Port
pcib12 22/8/0 No 300 Series Chipset PCIe Port
re0 33/0/0 No RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
ahci1 36/0/0 No 88SE9123 PCIe SATA 6.0 Gb/s controller
atapci0 36/0/1 No 88SE912x IDE Controller
siis0 38/0/0 No SiI 3132 Serial ATA Raid II Controller
ppt0 40/0/0 Yes
vgapci0 41/0/0 No Ellesmere [Radeon RX 470/480/570/570X/580/580X]
hdac0 41/0/1 No Ellesmere [Radeon RX 580]
none2 42/0/0 No -
none3 42/0/2 No Family 17h (Models 00h-0fh) Platform Security Processor
xhci1 42/0/3 No Family 17h (Models 00h-0fh) USB 3.0 Host Controller
none4 43/0/0 No -
ahci2 43/0/2 No FCH SATA Controller [AHCI mode]
hdac1 43/0/3 No Family 17h (Models 00h-0fh) HD Audio Controller
acpidump -t | grep DMAR
shows nothing, I have IOMMU enabled in bios or uefi.
Code:
Jun 27 08:10:31: fatal; pci passthrough not supported on this system (no VT-d) is listed in the "vm-bhyve.log"
Code:
kern.vty=vt
zfs_load="YES"
fuse_load="YES"
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
vmm_load="YES"
nmdm_load="YES"
if_bridge_load="YES"
if_tap_load="YES"
hw.syscons.disable="1"
hw.vmm.amdvi.enable="1"
hw.vmm.topology.cores_per_package=4
#hw.vmm.topology.threads_per_core=2
pptdevs="40/0/0"
My VM config file:
Code:
uefi="yes"
cpu=4
memory=6G
graphics="yes"
xhci_mouse="yes"
graphics_res="1600x900"
network0_type="virtio-net"
network0_switch="public"
#ahci_device_limit="6"
debug="yes"
disk0_opts="sectorsize=512"
disk0_type="ahci-hd"
disk0_name="BackupR7.img"
disk1_dev="custom"
disk1_opts="sectorsize=512"
disk1_type="ahci-hd"
disk1_name="/dev/ada0,hd:/dev/ada1"
disk2_dev="custom"
disk2_opts="sectorsize=512"
disk2_type="ahci-hd"
disk2_name="/dev/ada2,hd:/dev/ada3"
uuid="762f78e9-270b-11e8-87a4-309c230c9abc"
network0_mac="02:15:5d:45:32:01"
passthru0="40/0/0"
Did I forget or mis-configure something?
Not sure if it matters, the IOMMU was set to "auto" in the bios/uefi when I installed the OS.
It is now set to "enable"
Last edited by a moderator: