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.

[6.12.0-rc3] ethernet controller SR-IOV not pass vfio-bind error check

  • Minor
Quote

Upon boot, if all PCI devices specified in 'config/vfio-pci.cfg' file do not properly bind, VM Autostart is prevented. You may still start individual VMs. This is to prevent Unraid host crash if hardware PCI IDs changed because of a kernel update or physical hardware change. To restore VM autostart, examine '/var/log/vfio-pci-error' and remove offending PCI IDs from 'config/vfio-pci.cfg' file and reboot.

FROM https://forums.unraid.net/bug-reports/prereleases/unraid-os-version-6120-rc3-available-r2349/

 

 

I have a ethernet controller with SR-IOV capability. I passthrough VF to VMs to lower cpu usage.

But 6.12 makes my VMs never auto start due to vfio-bind error. 

 

Content of /boot/config/go

#!/bin/bash

# Enable SR-IOV for eth
echo 1 > /sys/bus/pci/devices/0000:02:00.0/sriov_numvfs

# Start the Management Utility
/usr/local/sbin/emhttp &

 

Content of /boot/config/vfio-pci.cfg

BIND=0000:02:10.0|8086:1520

 

vfio-pci logs:

# cat /var/log/vfio-pci
Loading config from /boot/config/vfio-pci.cfg
BIND=0000:02:10.0|8086:1520
---
Processing 0000:02:10.0 8086:1520
---
Devices listed in /sys/bus/pci/drivers/vfio-pci:
vfio-pci binding complete

# cat /var/log/vfio-pci-errors
Error: Device 0000:02:10.0 does not exist, unable to bind device

 

In addition, I find vfio-pci.cfg is processed in "/etc/rc.d/rc.S". Maybe I need to write value to sriov_numvfs before rc.S to make it pass the check.

I don't know where to write my scripts.

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.