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.

USB Controller Pass-thru

Featured Replies

I am running UnRaid 6.6.6 and I only have about 8 days experience with UnRaid at all.

 

I bought a usb controller card and 1070 graphics card to pass-thru to a Win10 Pro VM.  They are both in the computer but I thought I would try the pass-through one at a time with the usb controller being the first try.  (Thought it would be simplest)  BTW: I watched SIO's videos on the subject about 4 times before I started.  SIO: I became a patron today.  Thanks for all the effort!!!

Back to the problem...

Here was the System Info prior to the install:

image.png.2ed48c7b615916b64a74e4b21ca2ef8f.png

 

And here afterwards.  Luckily, it seems that the two devices were in their own IOMMU groups.  Thought this would be easy.

image.thumb.png.84600bdfe7c7e71b1761bfd0fd5c9f60.png

 

The USB controller seems to be appearing as the only element in IOMMU group 13 with the id 1b73:1100.

Therefore I added the following item (shown in yellow highlight [below]) to the Syslinux Configuration and rebooted:

 

default menu.c32

menu title Lime Technology, Inc.

prompt 0

timeout 50

label Unraid OS

  kernel /bzimage

  append initrd=/bzroot

label Unraid OS GUI Mode

  menu default

  kernel /bzimage

  append vfio-pci.ids=1b73:1100 initrd=/bzroot,/bzroot-gui

label Unraid OS Safe Mode (no plugins, no GUI)

  kernel /bzimage

  append initrd=/bzroot unraidsafemode

label Unraid OS GUI Safe Mode (no plugins)

  kernel /bzimage

  append initrd=/bzroot,/bzroot-gui unraidsafemode

label Memtest86+

  kernel /memtest

 

So far, so good.

Now the pci device in the VM template shows it available to pass through to the VM.  I checked the box and clicked update:

image.thumb.png.5aeb2719e1cdda848d3163bb04f84ea8.png

This is where it stopped.  It never updated, never said done.  Nothing.  I restarted the edit and same thing happened.  Restarted it again and this time, I simply tried to update the description.  Same result.  Apparently something is wrong with my ability to edit the VM template.

With my very limited UnRaid experience, I don't really know where to even start.  I sure could use some help

Thanks everyone in advance.

It looks like you did everything correctly. What browser/device are you using to modify the template?

  • Author

WashingtonMatt:  Thanks for the reply.

 

I am using Chrome.  I have edited the template in Chrome several times after I created it. 

 

I started the VM anyway to see if the update actually occurred and that simply the browser wasn't updating.  That wasn't it.  The hardware wasn't there in Device Manager.

Since I wrote the post, I took the update back out of Syslinux Configuration rebooted and tried to update the VM Description again.  Still didn't work.  I put it back and rebooted again.  Still didn't work.  I hope someone has a good idea.  I actually put a ton of work into the VM already and really don't want to start over with it.

Edited by Shlazor

Create a new vm test template and see if you can change it.

  • Author
11 minutes ago, WashingtonMatt said:

Create a new vm test template and see if you can change it.

I don't know if this is good news or bad news.  It worked no problem.

You should be able to note your current settings, delete just the template, not your disk image, the recreate the vm template and point it to your existing disk image. I recall doing this awhile back without issue, however you may want to wait for confirmation from another more informed member.

 

In your previous edits, were you directly editing the xml in advanced mode? You may want to switch to advanced mode and see if you can save, then switch back to basic and test.

 

I don't think this had anything to do with your passthrough attempt.

 

  • Author

I discovered that I can edit the description in XML mode and save with no problems.  Description updates correctly.  The problem is, I have no idea what to type for xml mode.

 

I tried making the changes in form mode and then switching to xml mode to save but when you switch, it must be "re-read" from disk because the changes are gone.

 

Correct. Changes in xml are lost when switching back to form view. That is normal. You shouldn't have to use xml mode unless you have a reason to. I was just curious if saving in xml mode would help shake it loose in form view.

 

I'm fairly certain once you recreate the vm template, you'll be up and running.

Btw - template xml is saved in /etc/libvirt/qemu/

 

I suspect the file is just corrupted somehow

  • Author
54 minutes ago, WashingtonMatt said:

You should be able to note your current settings, delete just the template, not your disk image, the recreate the vm template and point it to your existing disk image. I recall doing this awhile back without issue, however you may want to wait for confirmation from another more informed member.

I haven't figured out exactly how to pull this off.  When I go into the xml of the newly created VM and paste the disk image line over the top, the VM will not start.  Says it can't find the disk image.  The original will still start no problem.

  • Author

If I point the new VM to the old disk image using form mode, the same thing happens when I try to save.  It never succeeds in the save.

Do you have any special characters in the description, vm name, or...?

 

when you set your disk location, choose manual, then browse to the existing disk image.

  • Author
9 minutes ago, WashingtonMatt said:

Do you have any special characters in the description, vm name, or...?

 

when you set your disk location, choose manual, then browse to the existing disk image.

I figured it out on the second VM!!!!!!!!!!!!!!  This allowed me to fix the first VM.  The VM name has to be the same as the disk image name.  I had renamed the VM after I created it and this doesn't rename the disk image.  I didn't know they had to be the same or that you couldn't rename the VM in the form mode.  I am guessing you could rename it in form mode if you subsequently navigated to the disk image and renamed it too.

 

Thanks!!!  Your questions allowed me to figure out the problem.  Now to see if the Pass-through works!!!

Great! Glad I could finally help someone.

 

I don't think the VM name has to match the disk image name. So there is more to that story. The path does have to be valid obviously.

Edited by WashingtonMatt

  • Author

And it works!!!!!!!!!!!!!!!!!! 

I'll send a message to SIO so that he can put that in his list of "gotchas"

 

Do you know where the setting is in Win10 that will open a flash drive in a window as soon as it is inserted?

 

  • Author

nvm.  I should have googled it before I typed the question.  Windows-Settings-Autoplay.

Looks like you may have run into a bug. May want to follow this thread. 

 

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.