[SOLVED] New Proxmox build- no iommu detected

ruffpl

Well-Known Member
Jan 11, 2020
37
2
48
41
I am building new home server based on Asus ROG Z370-E and Intel I5 8400T. I had flashed sata controller to IT mode and also bought quad port NIC. Proxmox is installed and I am accessing it by build in ethernet port ( Installation of system stopped when it was connected by quad NIC- "no network interface found"- even when build in was disabled. Anyway after install by build in ethernet card, arranging everything in system as it should be, Proxmox detects all disks but I can not create ZFS ( there are no disks visible in "Create ZFS" window). I wanted to passthrough the controller to VM but I got error : "No IOMMU detected, please activate it.See Documentation for further information" and becouse of that I can not start VM....
I had enabled VT-D (also tried with above 4g decoding) and Virtualization in bios.... and have no more ideas what is wrong. Should I enable something more in bios/ proxmox or some of my hardware is not compatible? I had done everything like in this tutorial https://www.thomas-krenn.com/en/wiki/Enable_Proxmox_PCIe_Passthrough and after that I got this info when I tried to verify it:

root@proxmox:~# dmesg | grep -e DMAR -e IOMMU
[ 0.017388] ACPI: DMAR 0x00000000B2FDEA58 0000B8 (v01 INTEL KBL 00000001 INTL 00000001)
[ 0.152905] DMAR: Host address width 39
[ 0.152908] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[ 0.152917] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e
[ 0.152921] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[ 0.152927] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.152930] DMAR: RMRR base: 0x000000c097f000 end: 0x000000c099efff
[ 0.152933] DMAR: RMRR base: 0x000000c3800000 end: 0x000000c7ffffff
[ 0.152937] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.152939] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[ 0.152942] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.154510] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 1.316297] DMAR: [Firmware Bug]: RMRR entry for device 06:00.0 is broken - applying workaround
[ 1.316302] DMAR: [Firmware Bug]: RMRR entry for device 07:00.0 is broken - applying workaround


Whats about these 2 last lines/ is it something with kernel?


Ps. I had add config file like t is written here https://forum.proxmox.com/threads/iommu-broke-solved.53188/ but it also did not help....
 
Last edited:
hi,

according to [0] your cpu should be supported

have you seen here[1] ?

you should also check which bootloader you're using (you need to refresh efiboot or grub after enabling iommu in the kernel cmdline)

Proxmox detects all disks but I can not create ZFS ( there are no disks visible in "Create ZFS" window).
for it to be visible in the gui it needs to be an unpartitioned empty disk


[0]: https://ark.intel.com/content/www/u...-8400t-processor-9m-cache-up-to-3-30-ghz.html
[1]: https://pve.proxmox.com/wiki/Pci_passthrough#Enable_the_IOMMU
 
Problem was in nano /etc/kernel/cmdline. Correct form:

root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on
 
  • Like
Reactions: lucad
thanks for sharing the solution!