NIC PCIe passthrough troubles

GP123

Member
Dec 20, 2021
10
0
6
34
Hello everyone,

I'm having troubles passing through my Intel X550T ethernet controller to a VM. Can anyone please spot my mistake, I can't seem to find what I'm doing wrong.

Proxmox VE7.2-3
Kernel 5.15.39-4-pve


Bash:
root@pvemob2:~# cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt

I'm trying to passthrough 02:00.1
Bash:
root@pvemob2:~# lspci -nn | grep Ethernet
02:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller 10G X550T [8086:1563] (rev 01)
02:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller 10G X550T [8086:1563] (rev 01)

Bash:
root@pvemob2:~# cat /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

Bash:
root@pvemob2:~# lsmod | grep vfio
vfio_pci               16384  1
vfio_pci_core          73728  1 vfio_pci
vfio_virqfd            16384  1 vfio_pci_core
irqbypass              16384  36 vfio_pci_core,kvm
vfio_iommu_type1       40960  1
vfio                   45056  5 vfio_pci_core,vfio_iommu_type1

Bash:
root@pvemob2:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=8086:1563



Bash:
root@pvemob2:~# cat /etc/initramfs-tools/scripts/init-top/bind_vfio.sh
#!/bin/sh


PREREQS=""
DEVS="0000:02:00.1"


for DEV in $DEVS; do
    echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override
done


modprobe -i vfio-pci


Bash:
root@pvemob2:~# dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
[    0.011487] ACPI: DMAR 0x00000000798B5960 0000C4 (v01 SUPERM SMCI--MB 00000001 INTL 20091013)
[    0.011532] ACPI: Reserving DMAR table memory at [mem 0x798b5960-0x798b5a23]
[    0.135850] DMAR: IOMMU enabled
[    0.365339] DMAR: Host address width 46
[    0.365341] DMAR: DRHD base: 0x000000fbffc000 flags: 0x1
[    0.365348] DMAR: dmar0: reg_base_addr fbffc000 ver 1:0 cap d2078c106f0466 ecap f020de
[    0.365352] DMAR: RMRR base: 0x0000007ba59000 end: 0x0000007ba68fff
[    0.365355] DMAR: ATSR flags: 0x0
[    0.365358] DMAR: RHSA base: 0x000000fbffc000 proximity domain: 0x0
[    0.365361] DMAR-IR: IOAPIC id 1 under DRHD base  0xfbffc000 IOMMU 0
[    0.365364] DMAR-IR: IOAPIC id 2 under DRHD base  0xfbffc000 IOMMU 0
[    0.365366] DMAR-IR: HPET id 0 under DRHD base 0xfbffc000
[    0.365369] DMAR-IR: x2apic is disabled because BIOS sets x2apic opt out bit.
[    0.365370] DMAR-IR: Use 'intremap=no_x2apic_optout' to override the BIOS setting.
[    0.365738] DMAR-IR: Enabled IRQ remapping in xapic mode
[    0.741615] DMAR: No SATC found
[    0.741632] DMAR: dmar0: Using Queued invalidation
[    0.744780] DMAR: Intel(R) Virtualization Technology for Directed I/O
 
Last edited:

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!