November 26, 20178 yr Good evening all. Just in the process of moving to unraid. I've got the drives all setup (for the most part,) and set up my VM's with various VLANS- PERFECT! Now I'm trying to set up one "physical" machine using GPU passthrough, however, I'm getting the following issue when I try and start the VM. internal error: qemu unexpectedly closed the monitor: 2017-11-26T14:13:41.883927Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: error, group 1 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.2017-11-26T14:13:41.883943Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to get group 12017-11-26T14:13:41.883949Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x5: Device initialization failed Can anyone shed some light on this please? IOMMU is enabled. Thanks. Edited November 27, 20178 yr by karldonteljames
November 26, 20178 yr Author Just replaced the card with a much newer NVIDIA GT 720, and I'm getting a similar message. internal error: qemu unexpectedly closed the monitor: 2017-11-26T20:52:46.331960Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: error, group 1 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.2017-11-26T20:52:46.331976Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to get group 12017-11-26T20:52:46.331984Z qemu-system-x86_64: -device vfio-pci,host=01:00.0,id=hostdev0,bus=pci.0,addr=0x5: Device initialization failed How do I ensure the card is bound to its vfio bus? I'd also like to passthrough the DVD-RW drive, is that possible too please?? Thank you.
November 26, 20178 yr Author A copy of IOMMU Groups are below: IOMMU group 0 [8086:591f] 00:00.0 Host bridge: Intel Corporation Device 591f (rev 05) IOMMU group 1 [8086:1901] 00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05) [8086:1905] 00:01.1 PCI bridge: Intel Corporation Skylake PCIe Controller (x8) (rev 05) [10de:1288] 01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 720] (rev a1) [10de:0e0f] 01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1) [111d:8018] 02:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 0e) [111d:8018] 03:02.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 0e) [111d:8018] 03:04.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Express Switch (rev 0e) [8086:10d6] 04:00.0 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connection (rev 02) [8086:10d6] 04:00.1 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connection (rev 02) [8086:10d6] 05:00.0 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connection (rev 02) [8086:10d6] 05:00.1 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connection (rev 02) IOMMU group 2 [8086:5912] 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) IOMMU group 3 [8086:a12f] 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31) IOMMU group 4 [8086:a13a] 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31) IOMMU group 5 [8086:2822] 00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 31) IOMMU group 6 [8086:a167] 00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #17 (rev f1) IOMMU group 7 [8086:a16a] 00:1b.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #20 (rev f1) IOMMU group 8 [8086:a110] 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1) IOMMU group 9 [8086:a116] 00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 (rev f1) IOMMU group 10 [8086:a117] 00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 (rev f1) IOMMU group 11 [8086:a118] 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 (rev f1) IOMMU group 12 [8086:a145] 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31) [8086:a121] 00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31) [8086:a170] 00:1f.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (rev 31) [8086:a123] 00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31) IOMMU group 13 [8086:15b8] 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31) IOMMU group 14 [1b21:0612] 07:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02) IOMMU group 15 [1b21:1242] 08:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller IOMMU group 16 [8086:10d3] 09:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection IOMMU group 17 [1b4b:9230] 0a:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller (rev 11)
November 26, 20178 yr Try to turn on the acs override settings in the vm manager settings and reboot. After that the GPU will hopefully be in it's own group.
November 26, 20178 yr Author Thanks Saarg, just found that in another post. I rebooted and the VM "started" without issues, however, the VM wouldn't actually "boot up" it stopped on the windows boot screen. I'd like to enable DVD passthrough, I've found this post on reddit that outlines the procedure, but I cannot figure out which device is the DVD drive. 00:00.0 Host bridge: Intel Corporation Device 591f (rev 05) 00:01.0 PCI bridge: Intel Corporation Skylake PCIe Controller (x16) (rev 05) 00:01.1 PCI bridge: Intel Corporation Skylake PCIe Controller (x8) (rev 05) 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04) 00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controlle r (rev 31) 00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31) 00:17.0 RAID bus controller: Intel Corporation SATA Controller [RAID mode] (rev 31) 00:1b.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #17 (rev f1) 00:1b.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Root Port #20 (rev f1) 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 ( rev f1) 00:1c.6 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #7 ( rev f1) 00:1c.7 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #8 ( rev f1) 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #9 ( 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.3 Audio device: Intel Corporation Sunrise Point-H HD Audio (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 (r ev 31) 01:00.0 VGA compatible controller: NVIDIA Corporation GK208 [GeForce GT 720] (re v a1) 01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1) 02:00.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Expres s Switch (rev 0e) 03:02.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Expres s Switch (rev 0e) 03:04.0 PCI bridge: Integrated Device Technology, Inc. [IDT] PES12N3A PCI Expres s Switch (rev 0e) 04:00.0 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connectio n (rev 02) 04:00.1 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connectio n (rev 02) 05:00.0 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connectio n (rev 02) 05:00.1 Ethernet controller: Intel Corporation 82575GB Gigabit Network Connectio n (rev 02) 07:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller ( rev 02) 08:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller 09:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 0a:00.0 SATA controller: Marvell Technology Group Ltd. 88SE9230 PCIe SATA 6Gb/s Controller (rev 11)
November 27, 20178 yr Not at home and on phone, so can't really explain well enough how to do it, but it's not really working well once you pass the drive through. I don't think I have seen anyone successfully do it. Better would be to pass through a USB controller and connect a USB drive. If you want to try to pass through your drive, you need to find the scsi number of your device. It's not in the lspci list as written in the reddit post. You can find it u der Tools - - > System Devices and in the bottom you should have scsi devices. First number is the scsci_host and the other three is bus, target, unit. Most likely just the first one you need to change.
Archived
This topic is now archived and is closed to further replies.