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.

PCIE passthrough question

Featured Replies

I am sorry my English is poor.

Today I test a new motherboard,when I plug a PCIE device(PCIE to USB3.0) and passthrough,my win7 OS VM shows "seaBIOS (version rel-1 ..........) Machine UUID ..........".VM stops at this view and can not enter the win7 OS.

 

Here is my PCI Devices

 

00:00.0 Host bridge: Intel Corporation Sky Lake Host Bridge/DRAM Registers (rev 07)

00:01.0 PCI bridge: Intel Corporation Sky Lake PCIe Controller (x16) (rev 07)

00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)

00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)

00:17.0 SATA controller: Intel Corporation Device a102 (rev 31)

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #5 (rev f1)

00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1)

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)

00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)

00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)

00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R9 270]

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]

02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao PRO [Radeon R9 270]

02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]

03:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)

 

 

And my IOMMU Groups

 

 

/sys/kernel/iommu_groups/0/devices/0000:00:00.0

/sys/kernel/iommu_groups/1/devices/0000:00:01.0

/sys/kernel/iommu_groups/1/devices/0000:01:00.0

/sys/kernel/iommu_groups/1/devices/0000:01:00.1

/sys/kernel/iommu_groups/2/devices/0000:00:14.0

/sys/kernel/iommu_groups/3/devices/0000:00:16.0

/sys/kernel/iommu_groups/4/devices/0000:00:17.0

/sys/kernel/iommu_groups/5/devices/0000:00:1c.0

/sys/kernel/iommu_groups/5/devices/0000:00:1c.6

/sys/kernel/iommu_groups/5/devices/0000:02:00.0

/sys/kernel/iommu_groups/5/devices/0000:02:00.1

/sys/kernel/iommu_groups/5/devices/0000:03:00.0

/sys/kernel/iommu_groups/6/devices/0000:00:1f.0

/sys/kernel/iommu_groups/6/devices/0000:00:1f.2

/sys/kernel/iommu_groups/6/devices/0000:00:1f.4

/sys/kernel/iommu_groups/6/devices/0000:00:1f.6

 

 

03:00.0 is the PCIE device what I want to passthrough.

Here is the command lines I have ran in UNRAID Linux OS.

 

echo "1912 0015" > /sys/bus/pci/drivers/pci-stub/new_id

echo 0000:03:00.0 > /sys/bus/pci/devices/0000:03:00.0/driver/unbind

echo 0000:03:00.0 > /sys/bus/pci/drivers/pci-stub/bind

 

 

And I add

 

    <hostdev mode='subsystem' type='pci' managed='yes'>

      <source>

        <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>

      </source>

    </hostdev>

 

to <devices></devices> in XML

 

Please help me to solve this question.

 

Thank you all.

  • 3 months later...

what you could try is switching from i440fx-versionnumber to using Q35 instead this might help with passing through pcie devices, if that doesn't work you can add an exception for your device, unraid will kinda skip it and allow you to add it to your VM the same way you add usb devise like a mouse and keyboard.

 

Here are the steps to do that.

1) got to tools and go to system devices, in there find your device and copy the device id, ive isolated it with 2 double quotes

00:1a.0 USB controller [0c03]: Intel Corporation C610/X99 series chipset USB Enhanced Host Controller #2 [""8086:8d2d""] (rev 05)

2) go to the main page with your array devices and click on "Flash" Unraid boot usb

3) default /syslinux/menu.c32

menu title Lime Technology, Inc.

prompt 0

timeout 50

label unRAID OS

  menu default

  kernel /bzimage

  append initrd=/bzroot

label unRAID OS GUI Mode

  kernel /bzimage

  append initrd=/bzroot,/bzroot-gui

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

  kernel /bzimage

  append initrd=/bzroot unraidsafemode

label Memtest86+

  kernel /memtest

 

It should look like the above some where in the middle of the page

 

you will need to modify one line and add pci-stub.ids=8086:8d2d please not that the id after the equals will be specific to your device

 

4) once you've added that line click apply and reboot your unraid server.

 

5) you should be able to add your usb controller to your VM by editing the settings and checking off the box for the controller under "other pci devices"

 

if you have any problems let me know I will try to help as much as I can

 

 

sorry forgot to mention where to add the pci-stub line

 

default /syslinux/menu.c32

menu title Lime Technology, Inc.

prompt 0

timeout 50

label unRAID OS

  menu default

  kernel /bzimage

  append pci-stub.ids=8086:8d2d initrd=/bzroot

label unRAID OS GUI Mode

  kernel /bzimage

  append initrd=/bzroot,/bzroot-gui

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

  kernel /bzimage

  append initrd=/bzroot unraidsafemode

label Memtest86+

  kernel /memtest

 

 

its a very minor change in between the first append and initrd=/bzroot

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.