December 3, 20196 yr I added BIND=07:00.0 07:00.1 07:00.3 to vfio-pci.cfg but for some reason the usb controllers is not showing in my "Other Devices" in my VM templates. It's like unraid is not loading the file. Am I doing something wrong? vfio-pci.cfg is located in /boot/config/vfio-pci.cfg
December 3, 20196 yr 14 hours ago, phat_cow said: I added BIND=07:00.0 07:00.1 07:00.3 to vfio-pci.cfg but for some reason the usb controllers is not showing in my "Other Devices" in my VM templates. It's like unraid is not loading the file. Am I doing something wrong? vfio-pci.cfg is located in /boot/config/vfio-pci.cfg What version of unraid are you running? That looks like the correct path and filename. What does your syslinux.cfg look like?
December 3, 20196 yr Author 1 hour ago, Skitals said: What version of unraid are you running? That looks like the correct path and filename. What does your syslinux.cfg look like? Version: 6.8.0-rc7 syslinux.cfg label Unraid OS menu default kernel /bzimage append vfio-pci.ids=1987:5012 isolcpus=3-11,15-23 initrd=/bzroot video=efifb:off 1987:5012 is my nvme drive. I will try running in safemode to see if it does anything.
December 3, 20196 yr Author 43 minutes ago, testdasi said: If vfio-pci.ids works then why don't you use that? Because doing that will also pass through all the usb controllers including the one unraid is plugged into.
December 3, 20196 yr 14 minutes ago, phat_cow said: Because doing that will also pass through all the usb controllers including the one unraid is plugged into. It doesn't work with this board because there are three usb controllers with the same vendor:device id (1022:149c). One of them has the unraid usb plugged in, and it obviously isn't happy when stubbed. Using the vfio-pci.cfg method lets you bind some of them but not others. Try safe mode, or try removing your vfio-pci.ids from syslinux.cfg. I'm not sure you can bind both ways. You should be able to bind everything you need via the vfio-pci.cfg method. The only annoying part is when you add/remove a pcie device the addresses change. I just added another nvme drive to my system and had to update my vfio-pci.cfg and all my VMs.
December 3, 20196 yr 1 hour ago, phat_cow said: Version: 6.8.0-rc7 syslinux.cfg label Unraid OS menu default kernel /bzimage append vfio-pci.ids=1987:5012 isolcpus=3-11,15-23 initrd=/bzroot video=efifb:off 1987:5012 is my nvme drive. I will try running in safemode to see if it does anything. I haven't tested it, but I believe you have to use either one method or the other. Try removing vfio-pci.ids from your syslinux.cfg. I'm passing the same exact nvme controller via vfio-pci.cfg, so I can confirm that works as well (XPG 1TB PCIe Gen 4 NVMe, in my case. Picked it up on Black Friday for $120. Getting the rated 5000/4400MB/s). Edited December 3, 20196 yr by Skitals
December 3, 20196 yr Author 2 minutes ago, Skitals said: I haven't tested it, but I believe you have to use either one method or the other. Try removing vfio-pci.ids from your syslinux.cfg. I'm passing the same exact nvme controller via vfio-pci.cfg, so I can confirm that works as well. Alright thanks!
December 4, 20196 yr Yeah so it didn't work in safe mode either. I removed vfio-pci.ids from syslinux as well. Damn it! I really wanted this to work so i dont have to get a usb pcie card. Edited December 4, 20196 yr by Sleepyme
December 5, 20196 yr Author I tried passing just my nvme controller and doesn't work either. So, for some reason my vfio-pci.cfg is not loading. Downgrade unraid maybe? edit: Got it working by editing my XML. Edited December 6, 20196 yr by phat_cow
Archived
This topic is now archived and is closed to further replies.