November 26, 20178 yr Hi guys, first of all, please excuse my english as it is not my first language. I'm trying to passthrough my quad NIC to my VM, could someone please help, the Quad NIC is in two different IOMMU group which are 16 and 17. Many thanks in advance Quote IOMMU group 0 [8086:0c08] 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3 Processor DRAM Controller (rev 06) IOMMU group 1 [8086:041a] 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3 Processor Integrated Graphics Controller (rev 06) IOMMU group 2 [8086:0c0c] 00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06) IOMMU group 3 [8086:8c31] 00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) IOMMU group 4 [8086:8c3a] 00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04) [8086:8c3d] 00:16.3 Serial controller: Intel Corporation 8 Series/C220 Series Chipset Family KT Controller (rev 04) IOMMU group 5 [8086:153a] 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-LM (rev 05) IOMMU group 6 [8086:8c2d] 00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 (rev 05) IOMMU group 7 [8086:8c20] 00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05) IOMMU group 8 [8086:8c10] 00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5) IOMMU group 9 [8086:8c16] 00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5) IOMMU group 10 [8086:8c1a] 00:1c.5 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #6 (rev d5) IOMMU group 11 [8086:8c1c] 00:1c.6 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #7 (rev d5) IOMMU group 12 [8086:8c1e] 00:1c.7 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #8 (rev d5) IOMMU group 13 [8086:8c26] 00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 (rev 05) IOMMU group 14 [8086:8c56] 00:1f.0 ISA bridge: Intel Corporation C226 Series Chipset Family Server Advanced SKU LPC Controller (rev 05) [8086:8c02] 00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05) [8086:8c22] 00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05) [8086:8c24] 00:1f.6 Signal processing controller: Intel Corporation 8 Series Chipset Family Thermal Management Controller (rev 05) IOMMU group 15 [111d:8018] 01:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04) IOMMU group 16 [111d:8018] 02:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04) [8086:10a4] 03:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06) [8086:10a4] 03:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06) IOMMU group 17 [111d:8018] 02:01.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 04) [8086:10a4] 04:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06) [8086:10a4] 04:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06) IOMMU group 18 [8086:1533] 05:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) IOMMU group 19 [10e3:8113] 06:00.0 PCI bridge: Tundra Semiconductor Corp. Device 8113 (rev 01) [104c:8023] 07:03.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22A IEEE-1394a-2000 Controller (PHY/Link) [iOHCI-Lynx] IOMMU group 20 [1912:0015] 08:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02) IOMMU group 21 [1b21:0612] 09:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
November 27, 20178 yr Because you have 4 nics in 2 IOMMU groups you will have to pass them through in pairs to a VM. Unless you can separate each nic into its own IOMMU group by using the "PCIe ACS Override" in the VM Manager settings. The other problem you might have is that those IOMMU groups have "bridges" in the same IOMMU groups and KVM isn't able to pass through devices behind a bridge - at least for I've tried anyway. Edited November 27, 20178 yr by BobPhoenix
November 27, 20178 yr Author Hi there,Thank you for your reply, i have tried the option "PCIe ACS Override", it does separate into 4 different groups but as I'm not trying to pass through a pair of NICs, but more like all quad port to Xpenology, what is the safest way to do so? And even when i tried to pass through, it does not appear in VM management page.. (Sent from my SM-G935S using Tapatalk
November 28, 20178 yr I would turn of the ACS overide if you want all of the nics going to the same VM. Also you need to stub the device in the syslinux configuration file by editing it from the flash configuration (click on "flash" on main tab in unRAID GUI) and add it's device ID. So to get a nic on my VM server I have this defined like the following: label unRAID OS menu default kernel /bzimage append vfio-pci.ids=8086:1d6b,1131:7160,8086:10d3,1912:0014 initrd=/bzroot label unRAID OS GUI Mode so for you enter the follow device ID where I have my list: 8086:10a4 So you might have: append vfio-pci.ids=8086:10a4 initrd=/bzroot You will probably have other information on the append line so don't remove that just add the vfio-pci.ids=8086:10a4 to it or if you all ready have the vfio-pci.ids= present then just add the nic device id (8086:10a4) after a comma like in my example above.
Archived
This topic is now archived and is closed to further replies.