Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

passing through nics to pfsense

Featured Replies

Hi All,

 

Whilst setting up a pfsense VM I am getting stuck. Once the install is done the VM will not start, it reports the following error -

Quote

"No Interfaces found"

 

Looking at the log I can see the following-

Quote

2019-10-24T10:33:23.264367Z qemu-system-x86_64: vfio-pci: Cannot read device rom at 0000:43:00.0
Device option ROM contents are probably invalid (check dmesg).
Skip option ROM probe with rombar=0, or load from file with romfile=

 

I have had a poke around using my limited skills and discovered the following -

Quote

Invalid PCI ROM header signature: expecting 0xaa55, got 0xffff

 

The hardware in question is an Intel quad port nic card which is passed through IOMMU (vfio-pci.ids=8086:10bc) as so -

Quote

IOMMU group 38:[111d:8018] 42:02.0 PCI bridge: Microsemi / PMC / IDT PES12N3A 12-lane 3-Port PCI Express Switch (rev 0e)

[8086:10bc] 43:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)

[8086:10bc] 43:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)

IOMMU group 39:[111d:8018] 42:04.0 PCI bridge: Microsemi / PMC / IDT PES12N3A 12-lane 3-Port PCI Express Switch (rev 0e)

[8086:10bc] 44:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)

[8086:10bc] 44:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)

 

 

Can somebody please explain how I would pass

Quote

rombar=0

to the VM?

or even pass the option rom file which I have?

 

Thanks

 

Edited by dgs2001
added info

  • 2 months later...

Hi,

I know that this is an old thread, but did you manage to resolve this problem? I have the exact same card and the same errors are returned and I can't seem to find a solution for this.

Thanks

  • Author
6 minutes ago, bza said:

Hi,

I know that this is an old thread, but did you manage to resolve this problem? I have the exact same card and the same errors are returned and I can't seem to find a solution for this.

Thanks

Alas no I did not.

 

I set up a physical pfSense Box and sorting the virutual machine kind of took a back seat and still has not been sorted!

 

Please let me know if you work it out

 

Thanks

I am no expert, but have you seen this? Hes setting up a VM with a quad nic on 5:46. Some nice tips'n tricks you might be able to use. 

 

 

 

Edited by Actua

@Actua, thank you for the replay.

I was looking at first at exactly that tutorial the problem is that only one of my ports are detected if I follow those steps, it is something to do with how the card is pass through to the VM.

I have found another post that somehow solves part of my problem.

For a more detailed explanation on what is the problem that we have in fact please what the below tutorial from @SpaceInvaderOne for GPU but the same applies to our problem.

 

But for now only 2 ports are working following those steps, below it is noted how to make all 4 ports be displayed the problems is that only the first 2 are detected the other 2 are displayed in VM(which is an improvement) but no connection is detected on those 2 ports.

I will try to figure out and if I find a solution I will post it.

For now for the first 2 to work and also for the other 2 to be displayed below is the xml configuration.

    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x05' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x2'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x00' function='0x1'/>
      </source>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x3'/>
    </hostdev>

 

A quick update.

In fact with the above configuration it work. In the command line settings it is not detected in real time that the port is used. Just select it and in the web GUI it will be displayed correctly all 4 ports.

image.png.4cea6a87437613814a374f91d569d442.png

  • 3 months later...

This is gold! After about a day of frustrated debug and attempts this solved it for me. Thanks!

  • 6 months later...

Hi, I had also a lot of problems with the same Intel 4 port card.

 

This is what I did to resolve this after 2 days troubleshooting

1. set the vfio-pci.ids=8086:10bc  

 

image.png.aca5fb31523dfa87f1b21572b60c0f15.png

 

2. Under the VM manager, set VFIO allow unsafe interrupts: YES

image.png.4f6db75afc63baf20eb1c62c5be0f440.png

 

3. In your created pfSense VM set the machine to i440fx-4.2 and your NIC will be available to assign.

image.png.1e8e2605e131b9ae1c6e6ca2e35e4fe2.png

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.