Virtual TrueNas "cannot prepare PCI pass-through, IOMMU not present"

stefgrifon

Member
Mar 30, 2021
42
0
6
42
Hello,

I try to installation a Truenas on Proxmox, but i try to make PCI passthrough to vm cannot start the vm and give me this message:

TASK ERROR: cannot prepare PCI pass-through, IOMMU not present
and this:
1655387735286.png


My proxmox is on a server DELL R720XD
I try to give Truenas this card H710 d1 mini (it mode)
and i use to boot Proxmox the lsi 9207-4i4e.
The proxmox is 7.2-4

The settings of VM TrueNas is those:

1655386866168.png


Am I doing something wrong?

Thank you
/ Stefanos
 
Did you follow this wiki article to enable IOMMU? https://pve.proxmox.com/wiki/Pci_passthrough

Yes, but maybe i am doing something wrong.

I have two R720xd also i have created a cluster.
Both of my servers are doing the following changes:

I edited the /etc/default/grub to

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt"

i tried also like that

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

I have updated the grub

update-grub

i added those lines to this file /etc/modules:

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

i did this update. (i found it from another tutorial)
update-initramfs -u -k all


I have restarted it but i keep receiving the same message.
1655449573622.png
 
please post the complete output of 'dmesg' after booting
 
it seems it's not the complete output, either you did not capture the output completely
or it already rotated out.
it any case, i think i'd would be better to use 'journalctl' and pipe it into a file:

Code:
journalctl -b > /tmp/journal.log
and then upload the file here
 
it seems it's not the complete output, either you did not capture the output completely
or it already rotated out.
it any case, i think i'd would be better to use 'journalctl' and pipe it into a file:

Code:
journalctl -b > /tmp/journal.log
and then upload the file here

Here are the logs
 

Attachments

it seems you did not properly enable iommu, either in the bios (the screenshot don't show any option for it, but on the first screenshot you can scroll down)
or on the commandline (it's not enabled, but should be automatically; still, you can try to manually enable it, see here: https://pve.proxmox.com/wiki/PCI(e)_Passthrough#_general_requirements and here: https://pve.proxmox.com/wiki/Host_Bootloader#sysboot_edit_kernel_cmdline )

Hello again,

Bellow processor settings shows only specifikation about CPU.

1655469977635.png


I will take a rest so that i can read and search better. :)
I hope i will return with good news.

Thanks for your time.
 
Hello,

Just to know. I found the problem.

The first time that i installed the proxmox (UEFI zfs raid1) i make changes in grub because the system was stuck on boot.

so when i read the wikiarticle to enable IOMMU, i m pretty sure that i must change the GRUB.

Afterwards i found a Post that said that if you use UEFI and zfs raid1 then you must change the systemd-boot.

Thanks to all of you who tried to help me.
 

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!