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.

Ubuntu VM - Passthrough PCIe Sound Card

Featured Replies

Hi!

 

I've been very thankful for the various topics that I've already referenced on the forum that have helped me successfully passthrough an NVIDIA GT 710 graphics card to an Ubuntu VM. I am now trying to pass through an el-cheapo sound card and am running into a wall and hoping someone might be able to help!

 

The system is an HP DL380 G7 server. To get the GPU to pass through I had to enable PCIe ACS override and additionally vfio_iommu_type1.allow_unsafe_interrupts=1 in my syslinux.cfg. Per threads that I read from 1812.

 

I bought a sound card from Amazon that is appearing as a "C-Media Electronics Inc CM8888 [Oxygen Express]" in system devices, in its own IOMMU group too, however I am unable to pass it through to the VM with the following (all too familiar) error.

2017-08-10T15:14:44.148615Z qemu-system-x86_64: -device vfio-pci,host=15:00.0,id=hostdev1,bus=pci.2,addr=0x5: vfio: failed to set iommu for container: Operation not permitted
2017-08-10T15:14:44.148673Z qemu-system-x86_64: -device vfio-pci,host=15:00.0,id=hostdev1,bus=pci.2,addr=0x5: vfio: failed to setup container for group 21
2017-08-10T15:14:44.148684Z qemu-system-x86_64: -device vfio-pci,host=15:00.0,id=hostdev1,bus=pci.2,addr=0x5: vfio: failed to get group 21
2017-08-10T15:14:44.148710Z qemu-system-x86_64: -device vfio-pci,host=15:00.0,id=hostdev1,bus=pci.2,addr=0x5: Device initialization failed

 

I've tried adding the device ID of the sound card to the ace override. I've also moved the card to various PCIe slots in the server, same result.

 

I've attached the system diagnostics zip and the VM XML. Any thoughts to what to try next would be awesome!


Thanks,

Michael

shassrv01-diagnostics-20170810-1114.zip

Ubuntu.xml.txt

Edited by Simplificare
Typo

  • Author

One further note. I just found this error in the main system log.

Aug 11 14:34:28 shassrv01 kernel: vfio-pci 0000:15:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement.  Contact your platform vendor.

I'm now following leads associated to this newly discovered information.

 

Michael

 

  • Author

I've thrown in the towel. Returned the card to Amazon today. Got a USB audio interface. Works for the most part. Some crackle noise during playback. Not completely unbearable, way better than no sound at all. ?

8 minutes ago, Simplificare said:

I've thrown in the towel. Returned the card to Amazon today. Got a USB audio interface. Works for the most part. Some crackle noise during playback. Not completely unbearable, way better than no sound at all. ?

 

Link in my sig would solve your problems, or at least, let you know the problem isn't the card. The bios needs to be rolled back. You can thank Linux and HP.

 

Sorry I didn't have all the info on HP peculiarities gathered in one place sooner!  But it's info you'll need going forward with unraid on a proliant.

Edited by 1812

  • Author

Hey 1812,

 

I had a read over the thread when you started it on Saturday, and I agree the takeaway was a BIOS downgrade.  I started with my backup ROM but its still too new in itself (2012 if I remember correctly), the current one is 2013. When that didn't work I followed up by trying several search strings on Google for where to get an older version but nothing obvious was coming to me. Maybe I had the wrong keywords?

 

No need to be sorry, your posts solved my original problem with my graphics card, so for that I am thankful.  The USB solution wasn't much more expensive at the end of the day.  Maybe I'll try the sound card again if I can ever find where to get an older BIOS ROM.

 

Thanks again!

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.