Hello!
Motherboard: GA-Z77X-UD3H
CPU: E3-1275 V2
I've successfully passthroughed other PCIE devices on this host and to this VM and they are absolutely stable.
I want to also passthrough the embedded VIA USB controller, so that a couple of the USB ports on the back which I use for external drives can be directly attached to the only VM that uses them. The devices are USB external drive cases, I use them to test and copy data to new drives for my storage server.
The chipset shows up as VL80x xHCI USB 3.0 Controller
The problem is when I do manage to pass through the device, its not stable. It will stay attached to the VM for a few hours, maybe a day or two. Then out of nowhere the whole VM will stop responding or behave erratically. Restarting the VM leads to a black screen instead of the Proxmox logo, this persists until I remove the PCIE passthrough.
I was thinking something on the host was trying to take over the chipset, so I did what I believe is the correct method to prevent the host from accessing the controller.
I created a file called usb-ports.conf in the directory /etc/modprobe.d
The contents of that file are
The IDs are what I found when looking up the pci devices using lspci -nnk
The chipset is on its own IOMMU group and doesn't conflict with others from what I can see.
What am I missing here?
Thank you!
Motherboard: GA-Z77X-UD3H
CPU: E3-1275 V2
I've successfully passthroughed other PCIE devices on this host and to this VM and they are absolutely stable.
I want to also passthrough the embedded VIA USB controller, so that a couple of the USB ports on the back which I use for external drives can be directly attached to the only VM that uses them. The devices are USB external drive cases, I use them to test and copy data to new drives for my storage server.
The chipset shows up as VL80x xHCI USB 3.0 Controller
The problem is when I do manage to pass through the device, its not stable. It will stay attached to the VM for a few hours, maybe a day or two. Then out of nowhere the whole VM will stop responding or behave erratically. Restarting the VM leads to a black screen instead of the Proxmox logo, this persists until I remove the PCIE passthrough.
I was thinking something on the host was trying to take over the chipset, so I did what I believe is the correct method to prevent the host from accessing the controller.
I created a file called usb-ports.conf in the directory /etc/modprobe.d
The contents of that file are
Code:
options vfio-pci ids=1106:3432,1458:5007
The IDs are what I found when looking up the pci devices using lspci -nnk
Code:
04:00.0 USB controller [0c03]: VIA Technologies, Inc. VL80x xHCI USB 3.0 Controller [1106:3432] (rev 03)
Subsystem: Gigabyte Technology Co., Ltd VL80x xHCI USB 3.0 Controller [1458:5007]
Kernel driver in use: vfio-pci
Kernel modules: xhci_pci
The chipset is on its own IOMMU group and doesn't conflict with others from what I can see.
Bash:
IOMMU Group 1 00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/Ivy Bridge DRAM Controller [8086:0158] (rev 09)
IOMMU Group 2 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09)
IOMMU Group 2 00:01.1 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0155] (rev 09)
IOMMU Group 2 01:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
IOMMU Group 2 02:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03)
IOMMU Group 3 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04)
IOMMU Group 4 00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
IOMMU Group 5 00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04)
IOMMU Group 6 00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
IOMMU Group 7 00:1c.4 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 [8086:1e18] (rev c4)
IOMMU Group 8 00:1c.5 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev c4)
IOMMU Group 8 05:00.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 30)
IOMMU Group 9 00:1c.6 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 7 [8086:1e1c] (rev c4)
IOMMU Group 10 00:1c.7 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 [8086:1e1e] (rev c4)
IOMMU Group 11 00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
IOMMU Group 12 00:1f.0 ISA bridge [0601]: Intel Corporation Z77 Express Chipset LPC Controller [8086:1e44] (rev 04)
IOMMU Group 12 00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04)
IOMMU Group 12 00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller [8086:1e22] (rev 04)
IOMMU Group 13 03:00.0 Ethernet controller [0200]: Intel Corporation 82580 Gigabit Network Connection [8086:150e] (rev 01)
IOMMU Group 14 03:00.1 Ethernet controller [0200]: Intel Corporation 82580 Gigabit Network Connection [8086:150e] (rev 01)
IOMMU Group 15 03:00.2 Ethernet controller [0200]: Intel Corporation 82580 Gigabit Network Connection [8086:150e] (rev 01)
IOMMU Group 16 03:00.3 Ethernet controller [0200]: Intel Corporation 82580 Gigabit Network Connection [8086:150e] (rev 01)
IOMMU Group 17 04:00.0 USB controller [0c03]: VIA Technologies, Inc. VL80x xHCI USB 3.0 Controller [1106:3432] (rev 03)
IOMMU Group 18 07:00.0 Ethernet controller [0200]: Qualcomm Atheros AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
IOMMU Group 19 08:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9172 SATA 6Gb/s Controller [1b4b:9172] (rev 11)
What am I missing here?
Thank you!
Last edited: