- Closed
The problematic card:
Card: Allegro USB-C 4-port PCIe
https://www.sonnettech.com/product/allegro-usbc-4port-pcie.html
Use case for card: 4x 10Gbit USB-C connections for cold backup drives / USB nics / etc.
I have waited pretty patiently for unRAID to have 5.X kernel with drivers to use this card but then turns out unRAID has a problem with this card. Because unRAID refused to use the card itself, I tried to passthrough it to VM to test some of my USB-C cards but I get the error below. I tried first XML editing for passthrough and then blacklisting the device. Got the same error with both ways.
internal error: qemu unexpectedly closed the monitor: 2020-03-20T17:17:14.681758Z qemu-system-x86_64: -device vfio-pci,host=0000:05:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio 0000:05:00.0: failed to setup container for group 15: Failed to set iommu for container: Operation not permitted
internal error: qemu unexpectedly closed the monitor: 2020-03-20T17:31:44.966753Z qemu-system-x86_64: -device vfio-pci,host=0000:06:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio 0000:06:00.0: failed to setup container for group 16: Failed to set iommu for container: Operation not permitted
I am happy to try any possible fixes.