March 20, 20179 yr I am new to UnRAID and am receiving the following error message when trying to launch a VM with a dedicated GPU. internal error: process exited while connecting to monitor: 2017-03-20T02:22:24.702355Z qemu-system-x86_64: -device vfio-pci,host=0b:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to set iommu for container: Operation not permitted 2017-03-20T02:22:24.702398Z qemu-system-x86_64: -device vfio-pci,host=0b:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to setup container for group 20 2017-03-20T02:22:24.702405Z qemu-system-x86_64: -device vfio-pci,host=0b:00.0,id=hostdev0,bus=pci.0,addr=0x5: vfio: failed to get group 20 2017-03-20T02:22:24.702421Z qemu-system-x86_64: -device vfio-pci,host=0b:00.0,id=hostdev0,bus=pci.0,addr=0x5: Device initialization failed The VM boots fine with the VNC option checked. My system specs are as follows. Model: Custom M/B: - CPU: Intel® Xeon® CPU E5530 @ 2.40GHz HVM: Enabled IOMMU: Enabled Cache: 128 kB, 128 kB, 1024 kB, 1024 kB, 8192 kB, 8192 kB Memory: 18 GB (max. installable capacity 384 GB) Network: bond0: fault-tolerance (active-backup), mtu 1500 eth0: 1000 Mb/s, full duplex, mtu 1500 eth1: not connected eth2: not connected eth3: not connected Kernel: Linux 4.9.10-unRAID x86_64 OpenSSL: 1.0.2k
March 20, 20179 yr 4 things: 1. do you have a separate graphical output that unraid is currently using (like onboard video or other card?) 2. make sure you're also passing through the audio component of the video card to the vm. 3. check your iommu group 20 and make sure only the video card and it's audio component are listed there. 4. if the preceding points are correct, then you may need to try adding the following to your syslinux.cfg append vfio_iommu_type1.allow_unsafe_interrupts=1 initrd=/bzroot
March 21, 20179 yr Author 14 hours ago, 1812 said: 4 things: 1. do you have a separate graphical output that unraid is currently using (like onboard video or other card?) 2. make sure you're also passing through the audio component of the video card to the vm. 3. check your iommu group 20 and make sure only the video card and it's audio component are listed there. 4. if the preceding points are correct, then you may need to try adding the following to your syslinux.cfg append vfio_iommu_type1.allow_unsafe_interrupts=1 initrd=/bzroot All 4 things are are in order but still no luck. I have no clue why i am getting issues.
March 21, 20179 yr Author 1 hour ago, 1812 said: post diagnostics then Here is diagnostics. tower-diagnostics-20170320-2117.zip
March 21, 20179 yr This is your problem: Mar 20 21:17:46 Tower kernel: vfio-pci 0000:0b:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. What bios version/year are you on? (Currently working on this same issue with someone else and on a few of my own servers) There is a workaround that doesn't allow sound to operate, but trying to find a solution is a pain.
March 22, 20179 yr Author 16 hours ago, 1812 said: This is your problem: Mar 20 21:17:46 Tower kernel: vfio-pci 0000:0b:00.1: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor. What bios version/year are you on? (Currently working on this same issue with someone else and on a few of my own servers) There is a workaround that doesn't allow sound to operate, but trying to find a solution is a pain. What is the workaround?
March 22, 20179 yr 9 hours ago, pwn4fun said: What is the workaround? sorry, should have posted that, was a busy day yesterday:
Archived
This topic is now archived and is closed to further replies.