New PCIE NIC Not Getting Interface Assigned

Rework1415

New Member
Mar 7, 2024
7
0
1
I've installed a PCIE NIC into my machine running Proxmox, but no new interfaces are showing up under the network tab. I can tell that the NIC is detected by the computer because it shows up when I run
Code:
lspci | egrep -i --color 'network|ethernet'
, which I've shown in the first screenshot. The NIC in question has the 4 Intel I350 ports.

The second screenshot shows what's in my
Code:
/etc/network/interfaces
file.

Is there some step that I'm missing to get the adapters assigned to an interface?
 

Attachments

  • Screenshot 2024-03-07 001706.png
    Screenshot 2024-03-07 001706.png
    22.4 KB · Views: 11
  • Screenshot 2024-03-07 001646.png
    Screenshot 2024-03-07 001646.png
    33.8 KB · Views: 11
Hey,

what's your output of ip a?
What chipset is your NIC using? Intel?

Best
 
The NIC uses Intel I350.

Please see the screenshot for the output of
Code:
ip a
In that, enx000ec6ec4728 is a USB ethernet adapter that is working properly already
 

Attachments

  • Screenshot 2024-03-07 092046.png
    Screenshot 2024-03-07 092046.png
    77.6 KB · Views: 12
The card should work with the "ixgbe" driver.
Try
Code:
modprobe ixgbe
and then have a look with
Code:
ip a
again.
 
Unfortunately that doesn't seem to have made any difference. Pictures are of running the two commands you asked, as well as part of the relevant output of lspci -v
 

Attachments

  • Screenshot 2024-03-07 105632.png
    Screenshot 2024-03-07 105632.png
    84 KB · Views: 15
  • Screenshot 2024-03-07 092046.png
    Screenshot 2024-03-07 092046.png
    79.7 KB · Views: 15
Any errors?
Code:
dmesg | egrep -i --color 'igb'
 
Last edited:
The card is shown, but I'm not sure if these are errors or just acknowledgments
 

Attachments

  • Screenshot 2024-03-07 111828.png
    Screenshot 2024-03-07 111828.png
    8.4 KB · Views: 12
Edited my post because it is using the "igb" driver and that's fine.
You can unload the driver again with
Code:
rmmod ixgbe
 
Last edited:
So yes, I do have PCIe Passthrough enabled for an NVIDIA GPU on another VM. I tried passing through the ethernet NIC as PCIe to this new VM and get the following error
Code:
kvm: -device vfio-pci,host=0000:02:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio 0000:02:00.0: failed to open /dev/vfio/1: Device or resource busy
TASK ERROR: start failed: QEMU exited with code 1

When I did some digging. people were suggesting not to use PCIe Passthrough for NICs, so I started to go down this route. I don't mind either way, I'd just like to get this working
 
You have to revert this settings for the network card and make sure the igb kernel driver is used again. The link I posted above should help.
Next time just tell us the whole story what you did. It's easier for you and for us...
 

Attachments

  • Screenshot 2024-03-07 105632.png
    Screenshot 2024-03-07 105632.png
    84.1 KB · Views: 5
Is there a way to get this NIC into my VM without disabling PCIe Passthrough? I still need that enabled for the GPU
 
Got it working by adding pcie_acs_override=downstream,multifunction within "GRUB_CMDLINE_LINUX_DEFAULT" inside the file /etc/default/grub

I also ran the commands
Code:
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
and
Code:
echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf

After this, the GPU and the NIC show up in different IOMMU groups and can be passed through to the VMs as I need
 

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!