SR-IOV and BSD (PFSense, TrueNAS Core) reset_hw() failure: Reset Failed!

aarcane

Renowned Member
Jul 28, 2015
35
3
73
So I'm trying to evaluate SR-IOV on a test server (Dell R620, dual E5-2670v2, SR-IOV, VT-D, etc all enabled) and everything works on a Linux guest, but I'm getting the following error whenever I attempt to boot up a BSD appliance guest.

The NIC is an Intel X520 based Dell rNDC, and AFAIK is fully functional and supported by SR-IOV and Proxmox.

Is this a known issue in Proxmox? A known issue with BSD? A configuration mistake I've made somewhere? Please advise.

The following is the error I get on both PFSense and TrueNAS Core:

ixv0: <Intel(R) X520 82599 Virtual Function> mem 0x1000004000-0x1000007fff,0x1000000000-0x1000003fff at device 0.0 on pci1
ixv0: ...reset_hw() failure: Reset Failed!
ixv0: IFDI_ATTACH_PRE failed 5
device_attach: ixv0 attach returned 5
ixv0: <Intel(R) X520 82599 Virtual Function> mem 0x1000004000-0x1000007fff,0x1000000000-0x1000003fff at device 0.0 on pci1
ixv0: ...reset_hw() failure: Reset Failed!
ixv0: IFDI_ATTACH_PRE failed 5
device_attach: ixv0 attach returned 5
 
probably an issue with the guest driver? does the driver in bsd support the virtual functions at all ?
 
For BSD disable/uncheck "PCI-Express".
I unchecked PCI-Express, and I even tried changing the machine type back to i440fx, and the error message is the exact same error message. No change, no success.
 
the bug is from 2016 yes, but i can see comments that it's not working properly still from 2021 and freenas 13
maybe ask the freebsb folks if they know if it's fixed (or should be fixed)

AFAICS this is not related to PVE/virtualization but has more to do with the driver in the guest
 

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!