Date: Fri, 28 Nov 2025 11:31:04 +0100 From: Dries Michiels <driesm@freebsd.org> To: freebsd-virtualization@freebsd.org Subject: PCIe passthrough of Intel I226-LM fails to attach in the guest Message-ID: <CACx_iRF3FAJNc2U4X2pOhaV0iQnzjXYFObWeE%2BuoE0GkFRN=LA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Hi virtualization mailing list, I'm scratching my hair atm, I passed through a plain PCIe NIC thats on its seperate PCIe bus (on-board NIC), so no shared IOMMU with other devices but I get the following error in the VM also based on FreeBSD: igc0: Setup of Shared code failed, error -13 igc0: IFDI_ATTACH_PRE failed 6 device_attach: igc0 attach returned 6 Any pointers or ideas? FYI; I'm also passing 2 virtual functions from a MLX CNX4-LX and those attach with the mce driver without problem Regards Dries vm config is basic: uuid="e96341b0-cc3d-11f0-80c6-c87f545c9b33" loader="uefi" uefi_vars="yes" cpu="8" memory="8G" disk0_name="disk0" disk0_dev="sparse-zvol" disk0_type="virtio-blk" passthru0="8/0/0" # igc1 passthru1="2/0/2" # mce0 passthru2="2/0/10" # mce1 [-- Attachment #2 --] <div dir="ltr"><div>Hi virtualization mailing list,</div><div><br></div><div>I'm scratching my hair atm, I passed through a plain PCIe NIC thats on its seperate PCIe bus (on-board NIC), so no shared IOMMU with other devices but I get the following error in the VM also based on FreeBSD:</div><div><br></div><div>igc0: Setup of Shared code failed, error -13 </div><div>igc0: IFDI_ATTACH_PRE failed 6 </div><div>device_attach: igc0 attach returned 6</div><div><br></div><div>Any pointers or ideas?</div><div><br></div><div>FYI; I'm also passing 2 virtual functions from a MLX CNX4-LX and those attach with the mce driver without problem</div><div><br></div><div>Regards</div><div>Dries</div><div><br></div><div>vm config is basic:</div><div><br></div><div>uuid="e96341b0-cc3d-11f0-80c6-c87f545c9b33"<br><br>loader="uefi"<br>uefi_vars="yes"<br><br>cpu="8"<br>memory="8G"<br><br>disk0_name="disk0"<br>disk0_dev="sparse-zvol"<br>disk0_type="virtio-blk"<br><br>passthru0="8/0/0" # igc1<br>passthru1="2/0/2" # mce0<br>passthru2="2/0/10" # mce1</div><div class="gmail-yj6qo"></div><div class="gmail-adL"><br></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACx_iRF3FAJNc2U4X2pOhaV0iQnzjXYFObWeE%2BuoE0GkFRN=LA>
