Fixing IOMMU feature inconsistencies

gdeshun

New Member
Nov 19, 2024
1
0
1
Hey, I'm setting up a homeserver for the first time and I am trying to pass my PCIe LSI 9300-8i HBA to TrueNas. My issue is that when I run the dmesg | grep -e DMAR -e IOMMU command I receive this output
Code:
dmesg | grep -e DMAR -e IOMMU
[    0.010713] ACPI: DMAR 0x0000000074600000 000088 (v01 INTEL  EDK2     00000002      01000013)
[    0.010747] ACPI: Reserving DMAR table memory at [mem 0x74600000-0x74600087]
[    0.087097] DMAR: IOMMU enabled
[    0.203195] DMAR: Host address width 39
[    0.203196] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.203202] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e
[    0.203203] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.203207] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ecap f050da
[    0.203208] DMAR: RMRR base: 0x0000007c000000 end: 0x000000807fffff
[    0.203210] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.203211] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.203212] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.204811] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.378242] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[    0.437677] DMAR: No ATSR found
[    0.437677] DMAR: No SATC found
[    0.437678] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.437679] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.437679] DMAR: IOMMU feature nwfs inconsistent
[    0.437680] DMAR: IOMMU feature dit inconsistent
[    0.437680] DMAR: IOMMU feature sc_support inconsistent
[    0.437681] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    0.437681] DMAR: dmar0: Using Queued invalidation
[    0.437683] DMAR: dmar1: Using Queued invalidation
[    0.439348] DMAR: Intel(R) Virtualization Technology for Directed I/O
These are my specs:
MoBo: MSI B660M-A
CPU: Intel i5 12400
HBA: LSI 9300-8i
OS: Proxmox 6.8.4-2

I've enabled the "IOMMU on boot" function and enabled VT-d in the BIOS. I've ensured my OS is up to date and I've updated my BIOS to the latest firmware, I also enabled IOMMU in the kernal. I'm honestly not sure what to do next as I've ensured my hardware supports IOMMU and virtualization and I did the necessary updates and enabled the settings that needed to be enabled. If anyone could send some help my way that would be greatly appreciated, also let me know if you need any other commands ran for more info.
 
Last edited:
Welcome to the Proxmox forum, gdeshun!

Could you provide further information about your IOMMU groups and the hardware that was enumerated with the loaded kernel modules (e.g. lspci -nnk)? These errors seem to be logged by a check for Intel-based machines, which was introduced with this patch series to the kernel [0]. Have you also tried if the same consistencies are reported with the latest pve-kernel (6.8.12-4)?

[ 0.378242] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
I can only guess that 00:02.0 is probably the internal graphics card of the Intel i5-12400. Have you tried to add intel_iommu=igfx_off to the kernel parameters? Are the inconsistency log entries still there?

And at last, I found someone in our forums [1], which reported that disabling the "Resizebar" feature in the BIOS has fixed the problem for them. I haven't looked into your mainboard, but does it have such an option and is it enabled?

[0] https://lore.kernel.org/all/20210130184452.31711-1-kyung.min.park@intel.com/
[1] https://forum.proxmox.com/threads/120677/#post-524680
 

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!