SATA controller passthrough to TrueNas VM.

fahadshery

Member
Feb 13, 2021
131
8
23
41
My SATA controller is in it's own IOMMU group, Currently there are 2 SSD's connected on the board (HP Elitedesk 800 G5).
Code:
IOMMU group 4 00:14.2 RAM memory [0500]: Intel Corporation Cannon Lake PCH Shared SRAM [8086:a36f] (rev 10)
IOMMU group 5 00:16.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH HECI Controller [8086:a360] (rev 10)
IOMMU group 5 00:16.3 Serial controller [0700]: Intel Corporation Cannon Lake PCH Active Management Technology - SOL [8086:a363] (rev 10)
IOMMU group 6 00:17.0 SATA controller [0106]: Intel Corporation Cannon Lake PCH SATA AHCI Controller [8086:a352] (rev 10)
IOMMU group 7 00:1b.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 [8086:a32c] (rev f0)
IOMMU group 8 00:1d.0 PCI bridge [0604]: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 [8086:a330] (rev f0)
IOMMU group 9 00:1f.0 ISA bridge [0601]: Intel Corporation Q370 Chipset LPC/eSPI Controller [8086:a306] (rev 10)
IOMMU group 9 00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
IOMMU group 9 00:1f.4 SMBus [0c05]: Intel Corporation Cannon Lake PCH SMBus Controller [8086:a323] (rev 10)
IOMMU group 9 00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller [8086:a324] (rev 10)
IOMMU group 9 00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (7) I219-LM [8086:15bb] (rev 10)

I was thinking to do a PCIe passthrough to TrueNas VM. So that I could create a pool out of those SSDs.

I am getting the following error:
Code:
Feb 29 22:22:29 hppve QEMU[7178]: kvm: vfio: Cannot reset device 0000:00:17.0, no available reset mechanism.
Feb 29 22:22:29 hppve QEMU[7178]: kvm: vfio: Cannot reset device 0000:00:17.0, no available reset mechanism.

Any ideas how to fix it?

Thanks
 
I was thinking to do a PCIe passthrough to TrueNas VM. So that I could create a pool out of those SSDs.

I am getting the following error:
Code:
Feb 29 22:22:29 hppve QEMU[7178]: kvm: vfio: Cannot reset device 0000:00:17.0, no available reset mechanism.
Feb 29 22:22:29 hppve QEMU[7178]: kvm: vfio: Cannot reset device 0000:00:17.0, no available reset mechanism.

Any ideas how to fix it?
Does it cause problems? Sometimes the device just works. This has come up before, maybe you can get some tips from previous SATA controller passthrough threads?
Maybe make sure Proxmox or drivers do not touch the device before the VM starts (early binding to vfio-pci)? But then you cannot restart the VM without rebooting Proxmox first.
Or use a different SATA controller that does reset properly and is known to work well with VFI(O/passthrough.
 

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!