Armed Ferret Posted May 10, 2020 Share Posted May 10, 2020 (edited) I installed a 4 port 1gb Nic and I am trying to pass it through to a FreeBsd VM. However, when I create the VM I do not have any interfaces under "Other PCI Devices". I went through spaceinvader Ones IOMMU tutorial and I cant get it to show in this vm. Appreciate any help to get this working. This is my IOMMU group and I want to pass through "8086:10bc" IOMMU group 15:[1022:43d5] 02:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01) [1022:43c8] 02:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01) [1022:43c6] 02:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01) [1022:43c7] 03:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) [1022:43c7] 03:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) [1022:43c7] 03:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01) [8086:1539] 04:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03) [111d:8018] 06:00.0 PCI bridge: Microsemi / PMC / IDT PES12N3A 12-lane 3-Port PCI Express Switch (rev 0e) [111d:8018] 07:02.0 PCI bridge: Microsemi / PMC / IDT PES12N3A 12-lane 3-Port PCI Express Switch (rev 0e) [111d:8018] 07:04.0 PCI bridge: Microsemi / PMC / IDT PES12N3A 12-lane 3-Port PCI Express Switch (rev 0e) [8086:10bc] 08:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06) [8086:10bc] 08:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06) [8086:10bc] 09:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06) [8086:10bc] 09:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06) Edited May 10, 2020 by Armed Ferret wrong info Quote Link to comment
PSYCHOPATHiO Posted May 11, 2020 Share Posted May 11, 2020 @Armed Ferret I'm mot sure what method you used but normally I use this method & it works for me. go to your flash drive Go to your flash drive, & add after append vfio-pci.ids=8086:10bc as in the picture, then reboot. Quote Link to comment
Armed Ferret Posted May 11, 2020 Author Share Posted May 11, 2020 2 hours ago, PSYCHOPATHiO said: @Armed Ferret I'm mot sure what method you used but normally I use this method & it works for me. go to your flash drive Go to your flash drive, & add after append vfio-pci.ids=8086:10bc as in the picture, then reboot. So as I said ... I watched Space Invader ones IOMMU passthrough video. I did that already. I also did the ACS over ride and altered the ACS override with the first bridge in the IOMMU group. None of them work. I can get the VM to launch but it does not boot all the way and there are no options in "Other PCI Devices". I would appreciate some advice thats not in Space Invader Ones videos. Quote Link to comment
PSYCHOPATHiO Posted May 11, 2020 Share Posted May 11, 2020 @Armed Ferret is IOMMU enabled in your bios? Quote Link to comment
Armed Ferret Posted May 11, 2020 Author Share Posted May 11, 2020 Its not an option in my bios. I already checked. However on unraid it shows enabled Quote Link to comment
ionedji Posted May 12, 2020 Share Posted May 12, 2020 On 5/11/2020 at 5:32 AM, Armed Ferret said: I went through spaceinvader Ones IOMMU tutorial and I cant get it to show in this vm. How about other VM templates? The same situation? It`s a dumb advice but have you restarted your server? Also you can try to disable/enable VM manager in Unraid settings so it would re initialize all available pci devices. The last suggestion that I have that you can add network ports manually in XML of VM like below, just check "slot" numbers are not already used in your VM by another devices, change them to any free if it would be required <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x09' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/> </hostdev> Quote Link to comment
Armed Ferret Posted May 12, 2020 Author Share Posted May 12, 2020 I got it working. There is a plugin called vfio-pci cfg. And it creates the config file required for the new way to do passthrough mentioned here Quote Link to comment
Armed Ferret Posted May 12, 2020 Author Share Posted May 12, 2020 ya I deleted it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.