Help with Iommu

MarkNoob

New Member
Feb 9, 2024
2
0
1
Good day Guys

Im new to proxmox and Im struggling to get PCIE access to one of my VM's
My server is an Intel machine and VT-d is enabled in the BIOS and CPU supports Virtualization.
However when I try add a PCIE device to my VM I get an error, "No IOMMU detevted, please activate it", but it is.
my journalctl -b 0 | grep -i iommu output:
root@server:~# journalctl -b 0 | grep -i iommu
Feb 09 19:02:09 server kernel: DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
Feb 09 19:02:09 server kernel: iommu: Default domain type: Translated
Feb 09 19:02:09 server kernel: iommu: DMA domain TLB invalidation policy: lazy mode

Can someone please help me asap, ive been scouring the forums for any aid regarding this but just not winning.
 
What is the output of cat /proc/cmdline?
Is intel_iommu=on there? If not, follow the manual: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_configuration_14 .
If it is there, then it's not fully enabled in the motherboard BIOS (please double check) or the CPU and/or motherboard (which make and model?) does not support it or there is a incompatibility. In that case, what is the output of journalctl -b 0 | grep -i iommu?
 
Hi there thanks for you quick response.
root@server:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.5.11-4-pve root=/dev/mapper/pve-root ro quiet

root@server:~# journalctl -b 0 | grep -i iommu
Feb 09 19:02:09 server kernel: DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
Feb 09 19:02:09 server kernel: iommu: Default domain type: Translated
Feb 09 19:02:09 server kernel: iommu: DMA domain TLB invalidation policy: lazy mode
 
root@server:~# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.5.11-4-pve root=/dev/mapper/pve-root ro quiet
As you can see there is no intel_iommu=on in there. Therefore IOMMU is not enabled for Proxmox on your Intel system. I'm sorry if I did not yet give you a link to the manual on how to add it. There are also many threads on this forum about enabling IOMMU on Intel systems. Please read the manual and follow the steps to add it : https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_configuration_14
 

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!