[SOLVED] Network card PCI passthrough failure

poing

Member
May 31, 2022
6
1
8
Quite desperate here: HP Prodesk 400 G5 mini with Intel 9500T.
  • CPU Supports PCI Passthrough
  • VTx & VTd enabled in bios
  • 2 network cards: Realtek onboard, Intel I226-V in WiFi Slot (it works).
  • No shared IOMMU group
  • Promox latest version, up to date.
Added the config to Grub, added the config to modules, added the config to /etc/kernel/cmdline.
Removed the Intel from Proxmox Interface.
Tried to blacklist but I'm quite sure it doesn't work.

So I didn't manage to passthrough any of the 2 network cards and I 'm at a point where I did everything from every guide out there, probably did unnecessary things...
As for the Guest, goal is to give Sophos (SeaBios) a network card but it doesn't work with a Windows 11 either (OVMF UEFI).

Just a dumb test: I tried the Passthrough of the NIC that's also used for Proxmox management (tested with both Intel & Realtek). I loose connection to Proxmox, so something is happening.

How can I troubleshoot further? I can start with a clean proxmox install, I'll do that anyway once I get it to work (or not).

More info;

Code:
root@pve:~# lspci -k
03:00.0 Ethernet controller: Intel Corporation Ethernet Controller I226-V (rev 04)
        Subsystem: Intel Corporation Ethernet Controller I226-V
        Kernel modules: igc
With all the messing arround, I don' t see the "Kernel driver in use" anymore. But it used to be vfio-pci and I blacklisted it.
I also blacklisted igc as a last attempt and I blacklisted realtek but it keeps working as I'm managing proxmox on it.

Code:
root@pve:~# dmesg | grep -e DMAR -e IOMMU -e AMD-Vi
[    0.013250] ACPI: DMAR 0x00000000CFBD7000 0000A8 (v01 INTEL  CFL      00000002      01000013)
[    0.013302] ACPI: Reserving DMAR table memory at [mem 0xcfbd7000-0xcfbd70a7]
[    0.045087] DMAR: IOMMU enabled
[    0.127910] DMAR: Host address width 39
[    0.127912] DMAR: DRHD base: 0x000000fed90000 flags: 0x0
[    0.127923] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap 1c0000c40660462 ecap 19e2ff0505e
[    0.127927] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.127931] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[    0.127934] DMAR: RMRR base: 0x000000cf89d000 end: 0x000000cf8bcfff
[    0.127938] DMAR: RMRR base: 0x000000d2000000 end: 0x000000d67fffff
[    0.127941] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 1
[    0.127943] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.127944] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.131293] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.405372] DMAR: No ATSR found
[    0.405373] DMAR: No SATC found
[    0.405375] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.405376] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.405378] DMAR: IOMMU feature nwfs inconsistent
[    0.405379] DMAR: IOMMU feature pasid inconsistent
[    0.405381] DMAR: IOMMU feature eafs inconsistent
[    0.405382] DMAR: IOMMU feature prs inconsistent
[    0.405383] DMAR: IOMMU feature nest inconsistent
[    0.405384] DMAR: IOMMU feature mts inconsistent
[    0.405385] DMAR: IOMMU feature sc_support inconsistent
[    0.405387] DMAR: IOMMU feature dev_iotlb_support inconsistent
[    0.405388] DMAR: dmar0: Using Queued invalidation
[    0.405393] DMAR: dmar1: Using Queued invalidation
[    0.406014] DMAR: Intel(R) Virtualization Technology for Directed I/O

Code:
root@pve:~# pvesh get /nodes/pve/hardware/pci --pci-class-blacklist ""
┌──────────┬────────┬──────────────┬────────────┬────────┬────────────────────────────
│ class    │ device │ id           │ iommugroup │ vendor │ device_name              
╞══════════╪════════╪══════════════╪════════════╪════════╪════════════════════════════
│ 0x010601 │ 0xa352 │ 0000:00:17.0 │          5 │ 0x8086 │ Cannon Lake PCH SATA AHCI C
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x010802 │ 0xf1a8 │ 0000:01:00.0 │         10 │ 0x8086 │ SSD 660P Series          
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x020000 │ 0x8168 │ 0000:02:00.0 │         11 │ 0x10ec │ RTL8111/8168/8411 PCI Expre
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x020000 │ 0x125c │ 0000:03:00.0 │         12 │ 0x8086 │ Ethernet Controller I226-V
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x030000 │ 0x3e92 │ 0000:00:02.0 │          0 │ 0x8086 │ CoffeeLake-S GT2 [UHD Graph
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x050000 │ 0xa36f │ 0000:00:14.2 │          3 │ 0x8086 │ Cannon Lake PCH Shared SRAM
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x060000 │ 0x3ec2 │ 0000:00:00.0 │          1 │ 0x8086 │ 8th Gen Core Processor Host
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x060100 │ 0xa308 │ 0000:00:1f.0 │          9 │ 0x8086 │                          
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x060400 │ 0xa32c │ 0000:00:1b.0 │          6 │ 0x8086 │ Cannon Lake PCH PCI Express
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x060400 │ 0xa33c │ 0000:00:1c.0 │          7 │ 0x8086 │ Cannon Lake PCH PCI Express
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x060400 │ 0xa33f │ 0000:00:1c.7 │          8 │ 0x8086 │ Cannon Lake PCH PCI Express
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x078000 │ 0xa360 │ 0000:00:16.0 │          4 │ 0x8086 │ Cannon Lake PCH HECI Contro
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x0c0330 │ 0xa36d │ 0000:00:14.0 │          3 │ 0x8086 │ Cannon Lake PCH USB 3.1 xHC
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x0c0500 │ 0xa323 │ 0000:00:1f.4 │          9 │ 0x8086 │ Cannon Lake PCH SMBus Contr
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x0c8000 │ 0xa324 │ 0000:00:1f.5 │          9 │ 0x8086 │ Cannon Lake PCH SPI Control
├──────────┼────────┼──────────────┼────────────┼────────┼────────────────────────────
│ 0x118000 │ 0xa379 │ 0000:00:12.0 │          2 │ 0x8086 │ Cannon Lake PCH Thermal Con
└──────────┴────────┴──────────────┴────────────┴────────┴────────────────────────────
 
Last edited:
Too much messing around: Sophos didn't support the Intel, not sure why I didn't succeed to use the Realtek (supported).
Why Windows now sees the Intel, I don't know. Why Proxmox still works with both blacklisted... not sure.
I'm going to start over and try to get it working with opensense or with the realtek nic + bridge
 
Last edited: