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.

VM creation error

Featured Replies

I received this error while trying to create a vm (see attachment)?

 

vfio: failed to set iommu for container: Operation not permitted

Unraid_VM.creation.error.jpg.7ad8aba861d1d68f86d004d31b0163d8.jpg

Odds on, you've got another device in the same IOMMU group as the video card you're trying to pass.  Turning on ACS override or trying a different PCIe slot may alleviate the problem

 

  • Author

Thank you for your quick reply.  I have done a little poking around and hoping you can see something in the attached lspci output.  I did see a bios setting that allows me to change the primary video card slot (the radeon is currently in slot 5 and the primary is slot 2), could a controller be blocking it? Please share any ideas you have.

pciInfo.txt

Tower_SysDevs.html.txt

Thank you for your quick reply.  I have done a little poking around and hoping you can see something in the attached lspci output.  I did see a bios setting that allows me to change the primary video card slot (the radeon is currently in slot 5 and the primary is slot 2), could a controller be blocking it? Please share any ideas you have.

Have u tried squids suggestion?

  • Author

yes I tried the ACS override as well as moving to a new slot (attached lspci info) 

 

internal error: early end of file from monitor: possible problem:

2016-01-17T17:21:07.921012Z qemu-system-x86_64: -device vfio-pci,host=0f:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio: failed to set iommu for container: Operation not permitted

2016-01-17T17:21:07.921043Z qemu-system-x86_64: -device vfio-pci,host=0f:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio: failed to setup container for group 15

2016-01-17T17:21:07.921052Z qemu-system-x86_64: -device vfio-pci,host=0f:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: vfio: failed to get group 15

2016-01-17T17:21:07.921064Z qemu-system-x86_64: -device vfio-pci,host=0f:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: Device initialization failed

2016-01-17T17:21:07.921076Z qemu-system-x86_64: -device vfio-pci,host=0f:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on: Device 'vfio-pci' could not be initialized

 

 

also tried the nvidia card which is now device 42: same failure

new.pci.txt

Can you check what command

mount

shows ?

 

One line should looks like this

 

/boot/config/plugins/dynamix.kvm.manager/domain.img on /etc/libvirt type ext4 (rw)

 

I hade a simmular issue, my qemu.conf have been overwritten in domain.img

//Peter

  • Author

looks like you suggested. am attaching the conf file also.

 

tmpfs on /var/log type tmpfs (rw,size=128m,mode=0755)

proc on /proc type proc (rw)

sysfs on /sys type sysfs (rw)

/dev/sdc1 on /boot type vfat (rw,noatime,nodiratime,umask=0,shortname=mixed)

/dev/md1 on /mnt/disk1 type xfs (rw,noatime,nodiratime)

shfs on /mnt/user type fuse.shfs (rw,nosuid,nodev,noatime,allow_other)

/boot/config/plugins/dynamix.kvm.manager/domain.img on /etc/libvirt type ext4 (rw)

qemu.conf

mount.txt

  • Author

If it helps my computer specs are a Z800 with a GT 720 as the main and a Radeon 6670 for the passthrough.

 

Model: Custom

M/B: Hewlett-Packard - 0AECh

CPU: Intel® Xeon® CPU E5620 @ 2.40GHz

HVM: Enabled

IOMMU: Enabled

Cache: 256 kB, 1024 kB, 12288 kB

Memory: 49152 MB (max. installable capacity 96 GB)

Network: eth0: 100Mb/s - Full Duplex

Kernel: Linux 4.1.15-unRAID x86_64

OpenSSL: 1.0.1q

  • Author

I tried the new qemu and still got the same error. I have tried passing with and without the audio. Any other ideas? Should I install an older version of unraid?

I tried the new qemu and still got the same error. I have tried passing with and without the audio. Any other ideas? Should I install an older version of unraid?

Edit your syslinux (main > flash > syslinux configuration).  A few lines under the line "menu default" you'll see the word "append".  Add a space after that word and type the following:

 

vfio_iommu_type1.allow_unsafe_interrupts=1

 

Apply the changes and reboot your system.  Report back if that works.

 

  • Author

I think we are closer, at least it didn't fail on creation... error : qemuAgentSend:898 : Guest agent is not responding: Guest agent not available for now.  I've included the diagnostics (wish I would've seen this option earlier).  :)

tower-diagnostics-20160119-1917.zip

  • Author

rebooted and looks better. we have passthru. thank you for your help.

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.