IOMMU: Server freezes after VM shutdown

El_Don

New Member
Sep 13, 2020
19
0
1
53
Hi there,

problems...problems...problems... :-(
I bought a new USB PCIe Card today and passed it through a Windows 10. Inside the VM the PCIe Card is recognized as USB PCi device,
but if I shutdown the Windows VM the whole proxmox server freezes and doesn't even respond on the reset button.
These are my IOMMU Groups:

Group: 0 0000:00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9b53] (rev 03) Group: 1 0000:00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller (x16) [8086:1901] (rev 03) Driver: pcieport Group: 1 0000:01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1f06] (rev a1) Driver: vfio-pci Group: 1 0000:01:00.1 Audio device [0403]: NVIDIA Corporation TU106 High Definition Audio Controller [10de:10f9] (rev a1) Driver: vfio-pci Group: 1 0000:01:00.2 USB controller [0c03]: NVIDIA Corporation TU106 USB 3.1 Host Controller [10de:1ada] (rev a1) Driver: xhci_hcd Group: 1 0000:01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C Port Policy Controller [10de:1adb] (rev a1) Driver: nvidia-gpu Group: 2 0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9bc8] (rev 03) Driver: i915 Group: 3 0000:00:12.0 Signal processing controller [1180]: Intel Corporation Device [8086:06f9] Driver: intel_pch_thermal Group: 4 0000:00:14.0 USB controller [0c03]: Intel Corporation Device [8086:06ed] Driver: xhci_hcd Group: 4 0000:00:14.2 RAM memory [0500]: Intel Corporation Device [8086:06ef] Group: 5 0000:00:16.0 Communication controller [0780]: Intel Corporation Device [8086:06e0] Driver: mei_me Group: 6 0000:00:17.0 SATA controller [0106]: Intel Corporation Device [8086:06d2] Driver: ahci Group: 7 0000:00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:06ac] (rev f0) Driver: pcieport Group: 7 0000:02:00.0 Non-Volatile memory controller [0108]: Seagate Technology PLC Device [1bb1:5012] (rev 01) Driver: nvme Group: 8 0000:00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:06bb] (rev f0) Driver: pcieport Group: 8 0000:03:00.0 USB controller [0c03]: Fresco Logic FL1100 USB 3.0 Host Controller [1b73:1100] (rev 10) Driver: xhci_hcd Group: 9 0000:00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:0685] Group: 9 0000:00:1f.3 Audio device [0403]: Intel Corporation Device [8086:06c8] Driver: snd_hda_intel Group: 9 0000:00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:06a3] Driver: i801_smbus Group: 9 0000:00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:06a4] Group: 9 0000:00:1f.6 Ethernet controller [0200]: Intel Corporation Device [8086:0d4d] Driver: e1000e

You see that the PCIe USB controller is in group 8 with the PCI bridge. So that shouldn't be the problem.
In the VM I pass device 03:00.0 through and that's it. Did I forget something? Why does the server freeze after Windows VM shutdown?
Do you have any ideas?

EDIT: Because I have the xhci_hcf driver in use and bound to two other devices, I have to eleminate the driver from the USB controller in group 8.
Maybe this is the clue, although I have read, that this is a tricky thing and doesn't always work. I am open for ideas. ;-)

Thanks a lot!
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!