Enabling IOMMU on J4125 with 4 Intel i225 2.5G

casperse

Member
Apr 20, 2022
5
0
6
Hi All

I bought this small mini PC and I am trying to passthrough two of the LAN's for Pfsense
Following this guide:
https://www.servethehome.com/how-to-pass-through-pcie-nics-with-proxmox-ve-on-intel-and-amd/

Unfortunately I cant get the IOMMU enabled?

1) Fresh install of Proxmox ve 7.1-2
2) Setup VM for pfsense:
1650454982216.png

I did not start the VM

1) Determine if you are Using GRUB or systemd
1650455108157.png

2) nano /etc/kernel/cmdline
No such file existed? so I created one and added:
1650455193267.png

3) Now we need to refresh our boot tool.
1650455296348.png

4) Add Modules
1650455397240.png

5) Reboot

6) dmesg | grep -e DMAR -e IOMMU

1650455500686.png


I don't get the..... "IOMMU enabled"

What am I doing wrong?

Regards
/Casperse
 
You did not have a /etc/kernel/cmdline because you are not using ZFS. systemd-boot is only used then you boot (with UEFI) from ZFS (rpool). Please remove /etc/kernel/cmdline again to prevent confusion in the future. You also don't need to run proxmox-boot-tool, because you are not booting from ZFS.

Please add the intel_iommu=on to the correct place in /etc/default/grub and run update-grub and reboot. You can check with cat /proc/cmdline if the intel_iommu=on is applied.

To check if IOMMU is working and get a nice overview of the IOMMU groups, use for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done
 
  • Like
Reactions: casperse
SOLUTION: Do the GRUB also.......
And delete the /etc/kernel/cmdline

Thanks - Me reading the Guide it said only do GRUB if the system is not BOOTX64
 
Last edited:
One thing I now have two passthrough NIC's
And one MGMT LAN for Proxmox

How do I define the "missing" LAN that is free for a Proxmox virtual bridge?

1650468734986.png
Also strange its called eno1?

And not
enp1s0
enp2s0
enp3so
enp4so

I need to find 0000:02:00:0 15 ?

1650470574030.png

Sorry Proxmox is new to me :)
 
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!