vfio-pci.cfg seems to be ignored


Recommended Posts

Hi guys,

 

Apologies for asking what may be some pretty silly questions, I've only recently started tinkering with Unraid!

 

I have a system with a 3900x on the Asus TUF Gaming + Wifi x570 motherboard. I was able to get the primary graphics card (GTX 1660) passed through to my first VM with no issues using the vfio-pci.ids=... configuration on the bootable USB. I am now trying to pass through one of the onboard USB controllers and I'm running into some issues.

 

I am able to identify 3 separate USB controllers in the System devices area but they all have the same ID (1022:149c) and the bootable drive is plugged into one of the onboard USB slots (I don't have a PCI-e expansion card). If I try adding that ID to the vfio-pci.ids configuration, the system understandably fails to start properly (It still boots but loses network and encounters some other issues).

 

Googling leads to some other users who have seemed to achieve some level of success by using the BIND=... configuration using the vfio-pci.cfg file. I have tried adding BIND=... option but the USB controller still refuse to show up in the "Other PCI Devices" section when configuring the VM. I've also tried putting in the corresponding values for the NVIDIA USB and serial controllers that were successfully passed through using vfio-pci.ids=... and that also fails as well. I feel like I'm either doing something wrong or the vfio-pci.cfg file is being ignored altogether. I'm pretty sure my file is located in the right area as well (root/config/vfio-pci.cfg)

 

I'm really hoping one of you guys can give me some advice as to what to attempt next! I've attached my iommu groupings and lsusb results below.

 

Thanks so much in advance!

iommu grouping.txt lsusb results.txt

Edited by jx3shiro
Link to comment
  • 5 weeks later...
  • 2 months later...

I have the same issue with 6.8.1 - the vfio-pci.cfg file appears to do nothing. I really need this functionality since my x570 board uses the same ID for the USB controllers in multiple groups.

 

EDIT:

After reading several threads about this exact same issue I have a feeling the timing of when the cfg is loaded doesnt work for everyone. I was able to get binding to work properly using the old school way of passing through devices. I edited my "/boot/config/go" file:

 

#!/bin/bash
# Start the Management Utility.
/usr/local/sbin/emhttp &

# Bind USB For VM
/usr/local/sbin/vfio-bind 0000:35:00.3

 

Edited by johnsanc
Link to comment

I'm having the same issue as well and unfortunately the above suggestion by johnsanc didn't help me either. Ryxen 3900x, Asus 570-E motherboard, three usb controllers (two of which are in different iommu groups) and all with the same ID. Trying to pass through group 33, no luck with either option mentioned here:

 

/boot/config/go, added:

 

# Bind USB For VM
/usr/local/sbin/vfio-bind 0000:0d:00.3

 

---

 

Group info:

IOMMU group 22:[1022:57a4] 03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge

[1022:1485] 07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP

[1022:149c] 07:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller

[1022:149c] 07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller

 

IOMMU group 33:[1022:149c] 0d:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller

 

---

 

I must be missing something obvious, first method doesn't work either for me. No USB controller ever shows up in other PCI devices.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.