Intel NIC pinned to vfio-pci

WolfpacK

Member
Nov 11, 2018
10
0
21
43
I am having trouble figuring out why my 4 port NIC adapter is loading the vfio-pci driver. At one point I had tried to add the card to the vfio-pci driver to test some features, but afterward I thought I had removed it from the vfio-pci driver.

The LSI SAS3008 should be using vfio-pci. I have run update-initramfs as well as proxmox-boot-tool refresh. I don't know what else to check to get the NIC to be used as a NIC rather than a vfio-pci passthrough device.

Code:
root@pve:~# lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [8086:1918] (rev 07)
        Subsystem: Super Micro Computer Inc Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [15d9:0907]
        Kernel driver in use: skl_uncore
        Kernel modules: ie31200_edac
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07)
        Kernel driver in use: pcieport
00:02.0 Display controller [0380]: Intel Corporation HD Graphics P530 [8086:191d] (rev 06)
        Subsystem: Super Micro Computer Inc HD Graphics P530 [15d9:0907]
        Kernel driver in use: i915
        Kernel modules: i915
05:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10e8] (rev 01)
        Subsystem: Intel Corporation Gigabit ET Quad Port Server Adapter [8086:a02c]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
05:00.1 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10e8] (rev 01)
        Subsystem: Intel Corporation Gigabit ET Quad Port Server Adapter [8086:a02c]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
06:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10e8] (rev 01)
        Subsystem: Intel Corporation Gigabit ET Quad Port Server Adapter [8086:a02c]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
06:00.1 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10e8] (rev 01)
        Subsystem: Intel Corporation Gigabit ET Quad Port Server Adapter [8086:a02c]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
0a:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 [1000:0097] (rev 02)
        Subsystem: Broadcom / LSI SAS 9300-16i [1000:3130]
        Kernel driver in use: vfio-pci
        Kernel modules: mpt3sas
0c:00.0 Serial Attached SCSI controller [0107]: Broadcom / LSI SAS3008 PCI-Express Fusion-MPT SAS-3 [1000:0097] (rev 02)
        Subsystem: Broadcom / LSI SAS 9300-16i [1000:3130]
        Kernel driver in use: vfio-pci
        Kernel modules: mpt3sas
0e:00.0 Ethernet controller [0200]: Intel Corporation I210 Gigabit Network Connection [8086:1533] (rev 03)
        DeviceName:  Intel Ethernet i210
        Subsystem: Super Micro Computer Inc I210 Gigabit Network Connection [15d9:1533]
        Kernel driver in use: igb
        Kernel modules: igb

/etc/kernel/cmdline
Code:
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt i915.enable_gvt=1

/etc/modprobe.d/vfio.conf
Code:
# set lsi-sas 3008 hba for PCI passthrough
# also intel 10e8 gigabit ethernet adapter
#options vfio-pci ids=1000:0097,8086:10e8,1000:3130,8086:a02c
options vfio-pci ids=1000:0097,1000:3130

Code:
root@pve:~# dmesg | grep vfio
[    5.791154] vfio_pci: add [1000:0097[ffffffff:ffffffff]] class 0x000000/00000000
[    5.791211] vfio_pci: add [1000:3130[ffffffff:ffffffff]] class 0x000000/00000000
[   25.699919] vfio-pci 0000:0a:00.0: vfio_ecap_init: hiding ecap 0x19@0x1e0
[   25.815936] vfio-pci 0000:0c:00.0: vfio_ecap_init: hiding ecap 0x19@0x1e0
 

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!