Server freezes during boot with iommu on

terramoto

New Member
Aug 31, 2020
2
0
1
38
Hello,

Here's my build:
CPU: Xeon E5-2650 v2
Motherboard: X79G
RAM: G.Skill ripjaw X 12Gb
GPU: R9 270x and RX580 8Gb

I tried replacing the R9 270x with the RX580 so that i could setup a VM to mine, upon enabling the iommu in grub conf it booted fine but upon attaching it to the VM. The boot gets stuck on these lines:
Code:
Reading all physical volumes. This may take a while...
Volume group "pve" not found Cannot process volume group pve
/dev/mapper/pve-root: recovering journal
/dev/mapper/pve-root: clean, *****/****** files, ***/****** blocks

I then removed the rx580 and set the r9 270x with iommu enabled and that booted just fine. Any way i can see what's happening during the freezing? The system responds to ctrl+alt+delete.

Code:
# dmesg | grep -e DMAR -e IOMMU
[    0.014252] ACPI: DMAR 0x00000000BAE711D8 0000BC (v01 A M I  OEMDMAR  00000001 INTL 00000001)
[    0.014264] ACPI: Reserving DMAR table memory at [mem 0xbae711d8-0xbae71293]
[    0.061610] DMAR: IOMMU enabled
[    0.140595] DMAR: Host address width 46
[    0.140596] DMAR: DRHD base: 0x000000fbffc000 flags: 0x1
[    0.140601] DMAR: dmar0: reg_base_addr fbffc000 ver 1:0 cap d2078c106f0466 ecap f020df
[    0.140602] DMAR: RMRR base: 0x000000bb73e000 end: 0x000000bb74cfff
[    0.140603] DMAR: ATSR flags: 0x0
[    0.140604] DMAR: RHSA base: 0x000000fbffc000 proximity domain: 0x0
[    0.140606] DMAR-IR: IOAPIC id 0 under DRHD base  0xfbffc000 IOMMU 0
[    0.140607] DMAR-IR: IOAPIC id 2 under DRHD base  0xfbffc000 IOMMU 0
[    0.140608] DMAR-IR: HPET id 0 under DRHD base 0xfbffc000
[    0.140609] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.141001] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    1.241810] DMAR: dmar0: Using Queued invalidation
[    1.250051] DMAR: Intel(R) Virtualization Technology for Directed I/O
[    9.836711] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[    9.836712] AMD-Vi: AMD IOMMUv2 functionality not available on this system
 
Last edited:
hi,

can you please post also the vm config, lspci output and the complete dmesg output? thanks
 
hi,

can you please post also the vm config, lspci output and the complete dmesg output? thanks
Sorry i meant to delete the thread but i didn't find the button, after going through several articles i finally manage for it to boot properly and even attach it to a VM. Unfortunately once the VM loads the drivers GPU goes missing from it but that would be a different matter.
 

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!