Dual NIC passthrough

vobo70

Well-Known Member
Nov 15, 2017
61
2
48
54
Warsaw, Poland
Hello,
I have Asrock J4105M mobo with proxmox 5.3 and Intel dual network card which I would like to pass to pfSense.

04:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev ff)
04:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev ff)

When I pass second port everything works, but first will not work (and both ports too),
VM does not start and I have got this error in proxmox dmesg:

[ 7092.974659] vfio-pci 0000:04:00.0: enabling device (0000 -> 0003)
[ 7310.899332] vfio-pci 0000:04:00.0: timed out waiting for pending transaction; performing function level reset anyway
[ 7312.147302] vfio-pci 0000:04:00.0: not ready 1123ms after FLR; waiting
[ 7313.203358] vfio-pci 0000:04:00.0: not ready 2147ms after FLR; waiting
[ 7315.411374] vfio-pci 0000:04:00.0: not ready 4195ms after FLR; waiting
[ 7319.763427] vfio-pci 0000:04:00.0: not ready 8291ms after FLR; waiting
[ 7328.211534] vfio-pci 0000:04:00.0: not ready 16483ms after FLR; waiting
[ 7345.363723] vfio-pci 0000:04:00.0: not ready 32867ms after FLR; waiting
[ 7380.180128] vfio-pci 0000:04:00.0: not ready 65635ms after FLR; giving up
[ 7455.397017] vfio-pci 0000:04:00.0: Refused to change power state, currently in D3
[ 7456.149009] vfio-pci 0000:04:00.0: timed out waiting for pending transaction; performing function level reset anyway
[ 7457.397053] vfio-pci 0000:04:00.0: not ready 1123ms after FLR; waiting
[ 7458.453037] vfio-pci 0000:04:00.0: not ready 2147ms after FLR; waiting
[ 7460.565062] vfio-pci 0000:04:00.0: not ready 4195ms after FLR; waiting
[ 7464.917111] vfio-pci 0000:04:00.0: not ready 8291ms after FLR; waiting
[ 7473.365180] vfio-pci 0000:04:00.0: not ready 16483ms after FLR; waiting

any help will be appreciated
 
Thank for you answer;
but unfortunately when I pass 04:00 the pfSense cannot find any network interfaces ...
(it should work as it works when I pass second port only)
 
Hi guys, not sure if you've fixed this yet but I experienced this exact same issue with a dual NIC Intel card on Q35 with pcie=1 enabled.

The fix for me was to swap the order of the ports in the hostpci values. I added the second port as hostpci0 and the first port as hostpci1. Nothing else worked until I did this and it magically detected both ports. Really weird stuff.
 

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!