Struggling with IOMMU

deanfourie

Member
Jan 28, 2023
57
1
8
Struggling with IOMMU, have set it up and receiving the following.

HP ProDesk 600 G1
CPU(s)
4 x Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (1 Socket)
Kernel Version
Linux 5.15.74-1-pve #1 SMP PVE 5.15.74-1 (Mon, 14 Nov 2022 20:17:15 +0100)


Code:
root@vm:~# dmesg | grep -e DMAR -e IOMMU
[    0.015241] ACPI: DMAR 0x00000000DB074AA8 0000B8 (v01 INTEL  HSW      00000001 INTL 00000001)
[    0.015264] ACPI: Reserving DMAR table memory at [mem 0xdb074aa8-0xdb074b5f]
[    0.161554] DMAR: Host address width 39
[    0.161555] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.161559] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a
[    0.161561] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.161564] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da
[    0.161565] DMAR: RMRR base: 0x000000db0c3000 end: 0x000000db0cffff
[    0.161567] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff
[    0.161569] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.161571] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.161572] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.162126] DMAR-IR: Enabled IRQ remapping in x2apic mode
root@vm:~#
 

Attachments

  • Capture2.PNG
    Capture2.PNG
    8.4 KB · Views: 16
Last edited:
Which steps from the manual did you do? What is the output of this command: cat /proc/cmdline? Is VT-d enabled in the motherboatd BIOS?
I fixed it, was a bit of a mission to enable VT-d.

Had to do a HP Bios Replicated Setup download of the BIOS configuration. In that configuration I found a

VT-d enabled
*disabled
endabled

and changed it to

VT-d enabled
disabled
*enabled

I then shutdown the machine and rebooted it, entered the BIOS and re downloaded the BIOS configuration file to double check that the configuration file had saved.

Then all worked fine.

Thanks anyway
 
I fixed it, was a bit of a mission to enable VT-d.

Had to do a HP Bios Replicated Setup download of the BIOS configuration. In that configuration I found a

VT-d enabled
*disabled
endabled

and changed it to

VT-d enabled
disabled
*enabled

I then shutdown the machine and rebooted it, entered the BIOS and re downloaded the BIOS configuration file to double check that the configuration file had saved.

Then all worked fine.

Thanks anyway

Were you able to get dmesg | grep -e DMAR -e IOMMU -e AMD-Vi to display "DMAR: IOMMU enabled"? I can't on my Prodesk 400 G3 even though the BIOS shows that VT-d is enabled and the Replicated Setup download file also shows it's enabled.

Edit: Never mind. I wish the official doc on PCI passthrough wouldn't simply focus on grub-booted systems. Mine is systemd boot and the intel_iommu=on parameter needs to be added to /etc/kernel/cmdline.
 
Last edited:

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!