Hi,
I have problem with PCI Passthrough on AMD Ryzen 5 2600. I have this CPU with motherboard Gigabyte B450M DS3H. I bought Intel X520-DA2 network card for Mikrotik CHR VM. I have read the instructions from this link https://pve.proxmox.com/wiki/Pci_passthrough and I added to GRUB_CMDLINE_LINUX_DEFAULT line amd_iommu=on, then I updated grub. I enabled IOMMU in bios too. Command "dmesg | grep -e DMAR -e IOMMU" show me:
I added require modules to /etc/modules and I check remapping:
Next I check IOMMU Isolation:
When I add by GUI PCI Device and run CHR VM proxmox is freezed. I can't do anything, restart machine does not help. I must power off machine, detach from PCIe X520 card, run machine, remove entry with PCIe and plug the card back in. I try update BIOS from F42 to F50 and it didn't help.
My proxmox version: 6.3-3
Where to look for the problem?
I have problem with PCI Passthrough on AMD Ryzen 5 2600. I have this CPU with motherboard Gigabyte B450M DS3H. I bought Intel X520-DA2 network card for Mikrotik CHR VM. I have read the instructions from this link https://pve.proxmox.com/wiki/Pci_passthrough and I added to GRUB_CMDLINE_LINUX_DEFAULT line amd_iommu=on, then I updated grub. I enabled IOMMU in bios too. Command "dmesg | grep -e DMAR -e IOMMU" show me:
Code:
root@PROX:~# dmesg | grep -e DMAR -e IOMMU
[ 1.095455] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 1.097648] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[ 1.098723] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
I added require modules to /etc/modules and I check remapping:
Code:
root@PROX:~# dmesg | grep 'remapping'
[ 1.097652] AMD-Vi: Interrupt remapping enabled
Next I check IOMMU Isolation:
Code:
root@PROX:~# find /sys/kernel/iommu_groups/ -type l
.
.
/sys/kernel/iommu_groups/0/devices/0000:05:00.1 <- this is my second port of x520 card
.
.
./sys/kernel/iommu_groups/0/devices/0000:05:00.0 <- this is my first port of x520 card
When I add by GUI PCI Device and run CHR VM proxmox is freezed. I can't do anything, restart machine does not help. I must power off machine, detach from PCIe X520 card, run machine, remove entry with PCIe and plug the card back in. I try update BIOS from F42 to F50 and it didn't help.
My proxmox version: 6.3-3
Where to look for the problem?
Last edited: