Hi guys,
I've been running truenas core on my server for a while, but I'd like to virtualize this in proxmox and pass the drives for ZFS to Truenas by using PCI passthrough. But I keep running into the problem that when I start the computer, I get an error message:
ahci 0000:04:00.0: AMD-Vi: Event logged [ IO_PAGE_FAULT domain=0x0001 address=0x0 flags=0x0000]
ata7: COMRESET failed (errno=-16)
ata7: COMRESET failed (errno=-16)
ata7: COMRESET failed (errno=-16)
ata7: COMRESET failed (errno=-16)
ata7: reset failed, giving up
My config:
Asrock B550M Pro4 (updated to the latest bios 2.3)
AMD Ryzen 7 5800X
64Gb ECC ram
1x M.2 nvme as bootdrive for proxmox 7.1
4x 2Tb drives connected to the mobo SATA ports for zfs storage for proxmox
4x 3Tb drives connected to a PCIe sata controller for zfs storage for truenas (this is the card I want to forward to the Truenas VM)
In the bios IOMMU is set to enabled
In Grub I already changed the existing line below and updated grub (update-grub):
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"
In /etc/modules I added the lines below and refreshed initramfs (update-initramfs -u -k all)
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
I found some posts about this issue claiming to be issues in the kernel, but most of them are rather old (2016 and older) and refer to linux kernels 4 whereas I have kernel 5.13.19. Last post I found dates from 2019 (https://bugzilla.kernel.org/show_bug.cgi?id=202665) but also refers to kernel 4.20.12...
Anybody have a clue as to what I may be overlooking?
I've been running truenas core on my server for a while, but I'd like to virtualize this in proxmox and pass the drives for ZFS to Truenas by using PCI passthrough. But I keep running into the problem that when I start the computer, I get an error message:
ahci 0000:04:00.0: AMD-Vi: Event logged [ IO_PAGE_FAULT domain=0x0001 address=0x0 flags=0x0000]
ata7: COMRESET failed (errno=-16)
ata7: COMRESET failed (errno=-16)
ata7: COMRESET failed (errno=-16)
ata7: COMRESET failed (errno=-16)
ata7: reset failed, giving up
My config:
Asrock B550M Pro4 (updated to the latest bios 2.3)
AMD Ryzen 7 5800X
64Gb ECC ram
1x M.2 nvme as bootdrive for proxmox 7.1
4x 2Tb drives connected to the mobo SATA ports for zfs storage for proxmox
4x 3Tb drives connected to a PCIe sata controller for zfs storage for truenas (this is the card I want to forward to the Truenas VM)
In the bios IOMMU is set to enabled
In Grub I already changed the existing line below and updated grub (update-grub):
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"
In /etc/modules I added the lines below and refreshed initramfs (update-initramfs -u -k all)
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
I found some posts about this issue claiming to be issues in the kernel, but most of them are rather old (2016 and older) and refer to linux kernels 4 whereas I have kernel 5.13.19. Last post I found dates from 2019 (https://bugzilla.kernel.org/show_bug.cgi?id=202665) but also refers to kernel 4.20.12...
Anybody have a clue as to what I may be overlooking?