EDIT + SOLUTION: if you are having trouble with PCI passthrough on your system and know/believe it should work, be sure to know if you are using GRUB or Systemd-boot first. If you are using UEFI you are probably on Systemd-boot and need to edit
And check /proc/cmdline (
Original question:
I've followed a couple guides and troubleshooting processes thus far and I'm not really finding a way to fully enable IOMMU in Proxmox 7.
I have this in
Not sure if helpful, but
And of course the web GUI keeps telling me:
I thought perhaps the Xeon X5675 might not be fully IOMMU compatible, but people have been talking about using these in conjunction with an R710 first gen to accomplish PCI passthrough, so I'm highly flustered!
/etc/kernel/cmdline
and issue pve-efiboot-tool refresh
and then reboot
to see your IOMMU properly active and ready for passthrough.And check /proc/cmdline (
cat /proc/cmdline
) to make sure your boot arguments to the Linux kernel are active.Original question:
I've followed a couple guides and troubleshooting processes thus far and I'm not really finding a way to fully enable IOMMU in Proxmox 7.
/etc/default/grub
has (where the PCI ID is for the HBA I'm using):
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt vfio_iommu_type1.allow_unsafe_interrupts=1 vfio-pci.ids=1000:0087"
I have this in
/etc/modules
:
Code:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
dmesg | grep -e DMAR -e IOMMU
shows:
Code:
[ 0.012981] ACPI: DMAR 0x00000000CF3B3668 0001C0 (v01 DELL PE_SC3 00000001 DELL 00000001)
[ 0.013035] ACPI: Reserving DMAR table memory at [mem 0xcf3b3668-0xcf3b3827]
[ 0.588752] DMAR-IR: This system BIOS has enabled interrupt remapping
[ 1.731012] DMAR: Host address width 40
[ 1.731017] DMAR: DRHD base: 0x000000fed90000 flags: 0x1
[ 1.731043] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c90780106f0462 ecap f020fe
[ 1.731049] DMAR: RMRR base: 0x000000cf4c8000 end: 0x000000cf4dffff
[ 1.731053] DMAR: RMRR base: 0x000000cf4b1000 end: 0x000000cf4bffff
[ 1.731056] DMAR: RMRR base: 0x000000cf4a1000 end: 0x000000cf4a1fff
[ 1.731063] DMAR: RMRR base: 0x000000cf4a3000 end: 0x000000cf4a3fff
[ 1.731067] DMAR: RMRR base: 0x000000cf4a5000 end: 0x000000cf4a5fff
[ 1.731070] DMAR: RMRR base: 0x000000cf4a7000 end: 0x000000cf4a7fff
[ 1.731073] DMAR: RMRR base: 0x000000cf4c0000 end: 0x000000cf4c0fff
[ 1.731077] DMAR: RMRR base: 0x000000cf4c2000 end: 0x000000cf4c2fff
Not sure if helpful, but
dmesg | grep iommu
shows:
Code:
[ 0.936773] iommu: Default domain type: Translated
And of course the web GUI keeps telling me:
Code:
Add: PCI Device
No IOMMU detected, please activate it.See Documentation for further information.
I thought perhaps the Xeon X5675 might not be fully IOMMU compatible, but people have been talking about using these in conjunction with an R710 first gen to accomplish PCI passthrough, so I'm highly flustered!
Last edited: