I am trying this ASROCK X470D4U + CPU 3700X combo and to make a proxmox based hyperconverged server.
As the title said, whenever I enable sata ahci or nvme controllers in PVE (both amd and asmedia), the machine would crash. i.e. symptom:
Some screenshots to confirm iommu is enabled, virtual function io is loaded
This is to confirm ahci modules are not loaded
my modprobe configuration
As the title said, whenever I enable sata ahci or nvme controllers in PVE (both amd and asmedia), the machine would crash. i.e. symptom:
- immediately blank terminal screen in live tty session
- ssh link may still be live, but any command would result in input/output errors
Some screenshots to confirm iommu is enabled, virtual function io is loaded
root:~# dmesg | grep -i vfio[ 6.981863] VFIO - User Level meta-driver version: 0.3# dmesg | # dmesg | grep -e DMAR -e IOMMU -e AMD-Vi[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA[ 0.143803] AMD-Vi: Using global IVHD EFR:0x58f77ef22294ade, EFR2:0x0[ 1.412512] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported[ 1.416660] AMD-Vi: Extended features (0x58f77ef22294ade, 0x0): PPR X2APIC NX GT IA GA PC GA_vAPIC[ 1.416671] AMD-Vi: Interrupt remapping enabled[ 1.416672] AMD-Vi: X2APIC enabled[ 1.416862] AMD-Vi: Virtual APIC enabled[ 1.420366] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).This is to confirm ahci modules are not loaded
root:~# lspci -nnk | egrep -i "ahci|sata"03:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller [1022:43c8] (rev 01)Subsystem: ASMedia Technology Inc. 400 Series Chipset SATA Controller [1b21:1062]Kernel modules: ahci25:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 02)Kernel modules: ahcimy modprobe configuration
root:~#cat /etc/modprobe.d/*options vfio_iommu_type1 allow_unsafe_interrupts=1options vfio-pci ids=03:00.1,25:00.0blacklist ahci
Last edited:
