New to unRAID, having VM issues, troubleshooting underway


Recommended Posts

Execution error

internal error: process exited while connecting to monitor: 2017-08-13T20:48:59.231677Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to set iommu for container: Operation not permitted
2017-08-13T20:48:59.231709Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to setup container for group 22
2017-08-13T20:48:59.231714Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to get group 22
2017-08-13T20:48:59.231725Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: Device initialization failed

I'm getting the  error above when attempting to start a VM I just made. I'm trying to pass through my GTX 1080Ti but I hit this error. I've tried the solution I see everywhere to enable PCIe ACS Override but no dice.

 

I'm going to keep working to try and find  a workaround. Please let me know if there's an easy way around this so I can keep my sanity for another day.

Link to comment
18 minutes ago, wabniky said:

Execution error

internal error: process exited while connecting to monitor: 2017-08-13T20:48:59.231677Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to set iommu for container: Operation not permitted
2017-08-13T20:48:59.231709Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to setup container for group 22
2017-08-13T20:48:59.231714Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to get group 22
2017-08-13T20:48:59.231725Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: Device initialization failed

Execution error

internal error: process exited while connecting to monitor: 2017-08-13T21:06:27.704062Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to set iommu for container: Operation not permitted
2017-08-13T21:06:27.704093Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to setup container for group 18
2017-08-13T21:06:27.704097Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to get group 18
2017-08-13T21:06:27.704108Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x6: Device initialization failed

Here is a side-by-side of error output between having ACS Override enabled (top) and disabled (bottom) in case that's relevant.

 

Link to comment

Group 22 has a sata controller and pci bridge trying to be passed to the vm. vm's don't like pci bridges.

 

group 18 has a pci bridge and the gpu with it's audio component.

 

 

Your logs also contain this message:

 

 

 vfio_iommu_type1_attach_group: No interrupt remapping support.  Use the module param "allow_unsafe_interrupts" to enable VFIO IOMMU support on this platform

 

To do this, click on the link to the hp prolaint thread in my signature, follow the directions in Step 3 of the vm problems section to allow unsafe interrupts. Then reboot, try again. if it doesn't work, post new diagnostics.

 

 

 

 

  • Upvote 1
Link to comment

Made the change to the one line as mentioned, still receiving error;

 

Execution error

internal error: qemu unexpectedly closed the monitor: 2017-08-13T23:50:50.194275Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x8: vfio: failed to set iommu for container: Operation not permitted
2017-08-13T23:50:50.194309Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x8: vfio: failed to setup container for group 18
2017-08-13T23:50:50.194313Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x8: vfio: failed to get group 18
2017-08-13T23:50:50.194324Z qemu-system-x86_64: -device vfio-pci,host=0c:00.0,id=hostdev0,bus=pci.0,addr=0x8: Device initialization failed

 

hq-diagnostics-20170813-1952.zip

Link to comment
39 minutes ago, wabniky said:

Odd question; does this work if I boot to GUI or would I have to append this to that line as well?

 

Only works when added to first append/top level boot. If you want it enabled on GUI mode, it has to be there as well ( as I have understood it.)

Link to comment
17 minutes ago, wabniky said:

Did a normal boot after last post and got it working. I'll get around to adding the line to the guidance boot once I get the vm up and running.

 

I can't thank you enough for your help! :D

 

Not a problem. I remember when I was new to all this. I couldn't have gotten up and going if it weren't for others in this great community.

  • Upvote 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.