Please Help with IOMMU

slydog1225

New Member
May 14, 2021
6
0
1
29
Hello,

I've been trying to get PCI passthrough to work in order to use my GPU in a VM. Im using an AMD FX 6300 cpu on a asrock 790GM-HDV MB. In my BIOS there is no AMD-V option but there is a Virtualization option that is enabled. I've looked everywhere and it seems like my CPU should have IOMMU support.

I go through the process of updating my grub file for amd_iommu=on, and restart but when I run the below command to see if IOMMU is working I get the below message. And when I try to add a PCI device in the GUI it says no IOMMU detected. So, is it not possible on my hardware? Do I need to update something? I cant find a yes or no answer anywhere.


Code:
root@pve:~# dmesg | grep -e DMAR -e IOMMU
[    0.108746] AGP: Please enable the IOMMU option in the BIOS setup
[    1.374101] PCI-DMA: using GART IOMMU.
[    1.374103] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
 

Dunuin

Famous Member
Jun 30, 2020
9,417
2,452
156
Germany
Hello,

I've been trying to get PCI passthrough to work in order to use my GPU in a VM. Im using an AMD FX 6300 cpu on a asrock 790GM-HDV MB. In my BIOS there is no AMD-V option but there is a Virtualization option that is enabled. I've looked everywhere and it seems like my CPU should have IOMMU support.

I go through the process of updating my grub file for amd_iommu=on, and restart but when I run the below command to see if IOMMU is working I get the below message. And when I try to add a PCI device in the GUI it says no IOMMU detected. So, is it not possible on my hardware? Do I need to update something? I cant find a yes or no answer anywhere.


Code:
root@pve:~# dmesg | grep -e DMAR -e IOMMU
[    0.108746] AGP: Please enable the IOMMU option in the BIOS setup
[    1.374101] PCI-DMA: using GART IOMMU.
[    1.374103] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture
Does PCI passthrough working at all if using such old AGP GPUs? I know PCI and PCIe should work but AGP?

You could flash your bios to the latest version and see if the missing option was patched in later.
If nit you are probably not able to use PCI passthrough.
 
Last edited:

leesteken

Famous Member
May 31, 2020
2,872
632
118
I know it is still in many (Proxmox) guides, but amd_iommu=on is not necessary (it is on by default, when enabled in the BIOS) and dmesg | grep -e DMAR -e IOMMU only gives useful information on Intel platforms. journalctl -b 0 | grep -i iommu will give much more information and it is working if you see lines with Adding to iommu group.

Virtualization (AMD-V or Intel VT-x), as in running VMs, is different from IOMMU (AMD-Vi or Intel VT-d) for passthrough of devices. I could not find whether FX-6300 support AMD-Vi; only AMD-V is mentioned, never AMD-Vi.

EDIT: Sorry, I did not look to closely and found the ASRock 760GM-HDV motherboard. I have a hard time finding the ASRock 790GM-HDV.
 
Last edited:

ALXG

New Member
Nov 10, 2022
2
0
1
I know it is still in many (Proxmox) guides, but amd_iommu=on is not necessary (it is on by default, when enabled in the BIOS) and dmesg | grep -e DMAR -e IOMMU only gives useful information on Intel platforms. journalctl -b 0 | grep -i iommu will give much more information and it is working if you see lines with Adding to iommu group.

Virtualization (AMD-V or Intel VT-x), as in running VMs, is different from IOMMU (AMD-Vi or Intel VT-d) for passthrough of devices. I could not find whether FX-6300 support AMD-Vi; only AMD-V is mentioned, never AMD-Vi.

EDIT: Sorry, I did not look to closely and found the ASRock 760GM-HDV motherboard. I have a hard time finding the ASRock 790GM-HDV.

I have the same problem on an old amd platform.
AMD FX(tm)-4100 Quad-Core Processor + 760G (GA-78LMT-S2P)

the iommu should be implemented within CPU, but it seems only higher end chipsets support iommu feature. If BIOS did not tell kernel to use iommu, the kernel would not use it. AGP message is fine, it is expected. GART IOMMU message is suspicious, GART is the last generation iommu, maybe on-board VGA and its UMA forced IOMMU to work in some unreachable states.

At my end, I have decided to use another machine, and install pfsense to convert this machine into a single os router.
 

macy

New Member
Dec 12, 2022
1
0
1
Hi all,
Using this command:

Code:
dmesg | grep -e DMAR -e IOMMU

I get this message on my setup:
[ 0.083290] AGP: Please enable the IOMMU option in the BIOS setup [ 0.475542] PCI-DMA: using GART IOMMU. [ 0.475544] PCI-DMA: Reserving 64MB of IOMMU area in the AGP aperture

I am using an AMD FX 6core CPU and my motherboard is GA-78LMT-USB3.
I want to make one pool of two identical SSDs 240gb x2 for my TrueNAS VM and another one for my 2x3tb HDDs.

My issue is that I cant see and use my other disks, except the one I have installed proxmox ofc.

Thanks in advance!
 

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 your own in 60 seconds.

Buy now!