IOMMU setup question

Ryan_Malone

Member
Mar 31, 2024
47
2
8
I'm trying to enable PCIe passthrough and have been following the guidance below. First strange thing was there was no /etc/modules/cmdline folder. Should I be worried? Not sure how to turn on IOMMU without that.

https://pve.proxmox.com/wiki/PCI(e)_Passthrough
Studio Snippet 2024-06-04 at 12.13.02.jpg

After adding the modules to etc/modules and then refreshing initramfs, it seems like the modules were ignored. I assume maybe because I was not able to set the IOMMU-on.
Studio Snippet 2024-06-04 at 12.18.04.jpg

What step am I missing as the guidance doesn't seem to quite align with my setup on 8.1.4?
 
First strange thing was there was no /etc/modules/cmdline folder. Should I be worried? Not sure how to turn on IOMMU without that.
There is no mention of /etc/modules/cmdline in the documentation. There is a file named /etc/modules where you can add modules by name.
https://pve.proxmox.com/wiki/PCI(e)_Passthrough
View attachment 69223

After adding the modules to etc/modules and then refreshing initramfs, it seems like the modules were ignored. I assume maybe because I was not able to set the IOMMU-on.
On PVE 8.2 with kernel 6.8, you don't need intel_iommu=on. Why are you still running kernel 6.5?
View attachment 69226

What step am I missing as the guidance doesn't seem to quite align with my setup on 8.1.4?
Looks like you have installed a much older proxmox without ESP partitions (which are managed by proxmox-boot-tool) and upgraded in place to PVE 8.1?
 
There is no mention of /etc/modules/cmdline in the documentation. There is a file named /etc/modules where you can add modules by name.
I did add them but they don't show up.
Studio Snippet 2024-06-04 at 12.42.30.jpg
There is. When you click on the link to the kernel command line.
Studio Snippet 2024-06-04 at 12.38.05.jpg
On PVE 8.2 with kernel 6.8, you don't need intel_iommu=on. Why are you still running kernel 6.5?
I just downloaded the latest ISO last week and installed it. Not sure how it's possible to have downloaded an older version. It's a fresh install. I even reinstalled it once since then.
Looks like you have installed a much older proxmox without ESP partitions (which are managed by proxmox-boot-tool) and upgraded in place to PVE 8.1?
Nope. 2 fresh installs in the last week.

How would I upgrade? apt-get upgrade doesn't work. Is there a different command on an older kernel?
Studio Snippet 2024-06-04 at 12.48.13.jpg
 
Last edited:
I did add them but they don't show up.
View attachment 69229
vfio_virqfd no longer exists. Maybe use the manual instead of the Wiki: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#qm_pci_passthrough
There is. When you click on the link to the kernel command line.
View attachment 69227
There is still no mention of /etc/modules/cmdline. Maybe the manual is more clear (and it also depends on which bootloader you use): https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysboot_edit_kernel_cmdline
I just downloaded the latest ISO last week and installed it. Not sure how it's possible to have downloaded an older version. It's a fresh install. I even reinstalled it once since then.

Nope. 2 fresh installs in the last week.
Somethings is wrong if you cleanly installed the latest Proxmox VE 8.2 and kernel 6.5 is active. All of this is not necessary on PVE 8.2: https://forum.proxmox.com/threads/i...rking-but-i’m-not-sure-why.148170/post-669976
 

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!