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

aarcane

Active Member
Jul 28, 2015
35
3
33
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
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,640
1,127
174
34
Vienna
probably an issue with the guest driver? does the driver in bsd support the virtual functions at all ?
 

aarcane

Active Member
Jul 28, 2015
35
3
33
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.
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,640
1,127
174
34
Vienna
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 your own in 60 seconds.

Buy now!