Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PCI-E USB Card Passthrough - Unable to start VM

Featured Replies

Hey everyone!  I followed SpaceInvaderOne's youtube guide for passing through a PCI-E USB3.0 controller I put into my unRAID server.  When I go to start the VM, I get the following error:

 

Followed the guide, see it in my pass through:

image.png.2f1845f3761716bdafb030e87e6167bc.png

 

Check the box, save the settings.  Try to start the VM and get the following:

image.png.5a409cb581f9f96a1ab8e24966fe74c2.png

 

Diag bundle attached.

 

edit: I've also tried all 3 different settings for ACS override and the error persists.

mediaserver2-diagnostics-20200316-1014.zip

Install the "VFIO-PCI CFG" plugin and check that card and any other cards, including video cards, you want to pass through to your VM's.

  • Author

Thanks.  Did that.  It added 84:00.0 to the config.  I rebooted, checked the box to pass through to the VM, same error as above.  Do I need to remove the vfio-pci.ids=1912:0014 from my boot config?

 

kernel /bzimage
append vfio-pci.ids=1912:0014 initrd=/bzroot (theres more after this)

 

Yes, the vfio-pci.cfg is the preferred method of specifying which devices with which you want to do pass-through.

  • Author
12 hours ago, Taddeusz said:

Yes, the vfio-pci.cfg is the preferred method of specifying which devices with which you want to do pass-through.

OK - came back this morning, rebooted after removing the append part.  VM settings sees the USB card, but when i check the box and click update to update the VM settings, they save.  When I go to start  the VM, get this:

 

image.png.5825e0c3dccf399b29d2b75b7243fbbf.png

 

Nothing else is in group 27 (checking via command line and via the plugin):

 

image.thumb.png.41644b435b9bfd6c1898c0108e935c9b.png

 

In the VM Settings, this is what I have set:

 

image.thumb.png.d463e54611f10c077607add18c4dec76.png

 

Any other ideas?

 

 

Edited by JasonK

  • Author
1 hour ago, Taddeusz said:

It appears to be enabled... Is your BIOS up to date?

Yup - all virtualization stuff is enabled in the BIOS.  BIOS is the latest version available for the system board.

The only thing that I can guess is there’s a compatibility problem with the now 10 year old Westmere VT-d implementation or with your particular CPU/motherboard combination. I’m just guessing now since it appears you have things set up correctly.

  • Author
18 minutes ago, Taddeusz said:

The only thing that I can guess is there’s a compatibility problem with the now 10 year old Westmere VT-d implementation or with your particular CPU/motherboard combination. I’m just guessing now since it appears you have things set up correctly.

Thanks - it's possible for sure.  unRAID sees the USB 3.0 PCI-E card...if I plug in an external hard drive to it, I can assign that drive to a VM in pass-through without issues.  Just that the speeds are slow as heck (basically USB 2.0 speeds) - was hoping that by passing the whole card through to the VM, the USB 3.0 external drive would get USB 3 speeds.

The last thing that I can think is to move the card around and see if there’s a slot that will work. It appears that motherboard might have a PCIe bridge to give it more channels. Look at the manual to see which slots are hooked to what.

Looking at the manual I would put that card in a slot that is associated with the CPU cores you’re using for your VM. The same goes for any other cards you’re passing to that VM. I would also recommend that all the cores you use for your VM come from the same CPU so they aren’t crossing NUMA nodes. Each CPU appears to have its own NUMA node.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.