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.

Getting Execution error trying to pass USB controller to VM

Featured Replies

I have a Home Assistant VM that I am trying to pass a USB controller to. I have to pass the whole controller because I have a Coral AI accelerator which changes device ids when it's initiated, so I can't pass just the device.

 

I have the controller bound in System Tools:2013590826_2023-04-1014_04_30-Storage_SysDevs.thumb.png.9fad18a2f06d20385b1d0e3989406a62.png

When I view the VFIO-PCI Log it says it was successfully bound:

341103660_2023-04-1014_06_25-Storage_SysDevs.png.2d4e13f638611af76b2da49a6a62377d.png

 

When I try to attach it to the VM and start I get the error

Execution error

internal error: qemu unexpectedly closed the monitor: 2023-04-10T18:08:06.139081Z qemu-system-x86_64: -device vfio-pci,host=0000:09:00.3,id=hostdev0,bus=pci.4,addr=0x0: vfio 0000:09:00.3: failed to setup container for group 19: Failed to set iommu for container: Operation not permitted

 

109456442_2023-04-1014_07_27-Storage_UpdateVM.png.6d87a7d1621acee5166559b1c8637561.png

 

815285556_2023-04-1014_08_09-Storage_VMs.png.58c4136f03c059a33207691b6b065f60.png

 

Diagnostics file attached. Thanks in advance.

storage-diagnostics-20230410-1359.zip

Solved by ghost82

  • Author

Bump for visibility

  • Solution
Apr 10 13:54:15 Storage kernel: vfio_iommu_type1_attach_group: No interrupt remapping support.  Use the module param "allow_unsafe_interrupts" to enable VFIO IOMMU support on this platform

 

 Settings -> VM -> change "VFIO allow unsafe interrupts" to Yes. Apply, reboot and try

  • Author

That worked, thank you!

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...

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.