[SOLVED] IOMMU GRUB config not working.

xanian

New Member
Mar 4, 2024
4
1
3
Hello,

i have problem with passtrough on my HP Proliant DL380 G9

i get this meassage

kvm: -device vfio-pci,host=0000:0b:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:0b:00.0: failed to setup container for group 58: Failed to set iommu for container: Operation not permitted
TASK ERROR: start failed: QEMU exited with code 1

only thing i did was enable intel_iommu=on in the grub config and updated the bootloader

in the bios all vt and srv-io its enabled

passtrough is working on VMwareEsxi 8

its there something i am missing ??

i have a DL180 where i got passtrough working but i did not remeber if did something else to get it to work

tell me if there is something you need me to post for more info
 
Hello
cat /proc/cmdline. see attached screenshot

Tried with and without secureboot, no see attached screenshot
 

Attachments

  • Screenshot 2024-04-15 190724.png
    Screenshot 2024-04-15 190724.png
    13.5 KB · Views: 12
  • Screenshot 2024-04-15 191226.png
    Screenshot 2024-04-15 191226.png
    5.1 KB · Views: 12
Hi,

could you please post the output of pvesh get /nodes/localhost/hardware/pci --pci-class-blacklist "" and dmesg | grep -e DMAR -e IOMMU -e AMD-Vi?

That should give us some more helpful information.
 
her you go
 

Attachments

  • dmesg grep -e DMAR -e I.txt
    2 KB · Views: 6
  • pvesh .txt
    82.1 KB · Views: 5
Code:
[  161.946697] vfio-pci 0000:0b:00.0: DMAR: Device is ineligible for IOMMU domain attach due to platform RMRR requirement.  Contact your platform vendor.

That says it all. It's a known bug with HP firmware, see e.g. https://github.com/kiler129/relax-intel-rmrr/blob/master/deep-dive.md#what-vendors-did-wrong

A workaround for such buggy firmware is included in the Proxmox VE kernel, which can be activated by adding intel_iommu=relax_rmrr to the kernel commandline (just like the intel_iommu=on) :)
 
thank you that worked, i read about something but that was for the g8 so that solution will not work on g9.
but this one did :)
 
  • Like
Reactions: cheiss

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!