NIC Pcie crash

jhmc93

Member
Feb 22, 2022
180
1
23
31
Hello,
every time I try to passthrough my nic on proxmox via pcie passthrough it crashes my system, is there a reason for this?
 
Hello,
every time I try to passthrough my nic on proxmox via pcie passthrough it crashes my system, is there a reason for this?
Did you check the IOMMU groups? You can't passthrough individual devices, you always passthough a whole IOMMU group. I would bet that your NIC is sharing a IOMMU group with other onboard devices like the memory controller, storage controller and so on. So when trying to passthrough your NIC you also remove other hardware from the host that the host actually needs to operate.

When using consumer hardware usually all onboard stuff attached to the chipset is sharing a single IOMMU group, so that only stuff in the PCIe 16x slots can be passed through.
Whats the output of this?
for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU Group %s ' "$n"; lspci -nns "${d##*/}"; done;
 
Last edited:
Did you check the IOMMU groups? You can't passthrough individual devices, you always passthough a whole IOMMU group. I would bet that your NIC is sharing a IOMMU group with other onboard devices like the memory controller, storage controller and so on. So when trying to passthrough your NIC you also remove other hardware from the host that the host actually needs to operate.

When using consumer hardware usually all onboard stuff attached to the chipset is sharing a single IOMMU group, so that only stuff in the PCIe 16x slots can be passed through.
Whats the output of this?
for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU Group %s ' "$n"; lspci -nns "${d##*/}"; done;
 

Attachments

  • Screenshot_2.png
    Screenshot_2.png
    163.6 KB · Views: 7
  • Screenshot_3.png
    Screenshot_3.png
    45.3 KB · Views: 6
So there are 3x Intel NICs that are part of IOMMU group 14 and part of the same group are a SATA controller and USB controllers.
So if you passthrough any of those three Intel NICs you also passthrough those USB controllers and the SATA Controller with all disks attached to it.
 

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!