[SOLVED] Passthrough PCIe HBA card crash the whole server

Spaylia

Member
May 13, 2020
7
2
8
Hello,

I want to virtualize FreeNAS and so I'd like to passthrough the HBA card directly to the VM, but I when I start the VM, the whole Proxmox crashes and every network interfaces are disconnected (can't SSH anymore, I have to hard reboot or to log in physically to reboot).

I already have a GPU passthrough configured to another VM and I don't have any problem with this one. It doesn't matter if I use the vfio driver or the megaraid-sas driver, the same thing happens in both cases. Though, the VM starts if I don't assign the HBA to it. I haven't found anything relevant in journalctl -e nor dmesg.

Also, I already had the problem with Proxmox 6.1, I thought upgrading to 6.2 would help but it doesn't. Has anyone succeeded in with 2 passthrough at the same time? And/or more specifically an HBD card?
 
Last edited:
The problem came from the IOMMU group; the HBA card was in the same group as the ethernet controllers, among other things.
Changing the PCI slot (to a slot in another IOMMU group) solved the problem.
 
This sounds like the same problem I'm having with a network card I'm trying to pass though for pfSense. You think installing the NIC in another PCIe slot will solve it? How to check if that card is in the same IOMMU group? - thanks.
 
That was the problem, both were on iommu 2. Physically changed the card to another slot, split them up, working now.
 

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!