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.

VM Passthrough

Featured Replies

I installed a 4 port 1gb Nic and I am trying to pass it through to a FreeBsd VM. However, when I create the VM I do not have any interfaces under "Other PCI Devices".

 

I went through spaceinvader Ones IOMMU tutorial and I cant get it to show in this vm.   Appreciate any help to get this working. 

 

This is my IOMMU group and I want to pass through "8086:10bc"

 

IOMMU group 15:[1022:43d5] 02:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01)

[1022:43c8] 02:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01)

[1022:43c6] 02:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01)

[1022:43c7] 03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)

[1022:43c7] 03:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)

[1022:43c7] 03:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)

[8086:1539] 04:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)

[111d:8018] 06:00.0 PCI bridge: Microsemi / PMC / IDT PES12N3A 12-lane 3-Port PCI Express Switch (rev 0e)

[111d:8018] 07:02.0 PCI bridge: Microsemi / PMC / IDT PES12N3A 12-lane 3-Port PCI Express Switch (rev 0e)

[111d:8018] 07:04.0 PCI bridge: Microsemi / PMC / IDT PES12N3A 12-lane 3-Port PCI Express Switch (rev 0e)

[8086:10bc] 08:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)

[8086:10bc] 08:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)

[8086:10bc] 09:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)

[8086:10bc] 09:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)

Edited by Armed Ferret
wrong info

@Armed Ferret I'm mot sure what method you used but normally I use this method & it works for me. go to your flash drive

Go to your flash drive, & add after append vfio-pci.ids=8086:10bc as in the picture, then reboot.

 

raw

 

 

  • Author
2 hours ago, PSYCHOPATHiO said:

@Armed Ferret I'm mot sure what method you used but normally I use this method & it works for me. go to your flash drive

Go to your flash drive, & add after append vfio-pci.ids=8086:10bc as in the picture, then reboot.

 

raw

 

 

So as I said ... I watched Space Invader ones IOMMU passthrough video.  I did that already.  I also did the ACS over ride and altered the ACS override with the first bridge in the IOMMU group.  None of them work.  I can get the VM to launch but it does not boot all the way and there are no options in "Other PCI Devices".  I would appreciate some advice thats not in Space Invader Ones videos. 

  • Author

Its not an option in my bios.  I already checked.  However on unraid it shows enabled

 

image.png.96f2e7d67a83ba05e1b66da5319a8546.png

On 5/11/2020 at 5:32 AM, Armed Ferret said:

I went through spaceinvader Ones IOMMU tutorial and I cant get it to show in this vm.

How about other VM templates? The same situation? It`s a dumb advice but have you restarted your server? Also you can try to disable/enable VM manager in Unraid settings so it would re initialize all available pci devices.

 

The last suggestion that I have that you can add network ports manually in XML of VM like below, just check "slot" numbers are not already used in your VM by another devices, change them to any free if it would be required

 

   <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x09' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
    </hostdev>

 

  • Author

I got it working.  There is a plugin called vfio-pci cfg.


And it creates the config file required for the new way to do passthrough mentioned here

 

 

Seems like a duplicate of 

 

  • Author

ya I deleted it. 

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.