Intel 82575EB Gigabit Ethernet Controller last port not bind to VFIO-PCI


Recommended Posts

This problem occurs with Unraid 6.8.2 6.8.3 and 6.9-rc2

 

Binding...
0000:08:00.0 already bound to vfio-pci
/usr/local/sbin/vfio-pci: line 169: /sys/bus/pci/devices/0000:08:00.1/iommu_group/devices/0000:08:00.1/driver/unbind: Permission denied
Unbound 0000:08:00.1 from igb
Successfully bound the device 8086:10d6 at 0000:08:00.1 to vfio-pci

 

cat /boot/config/vfio-pci.cfg
BIND=0000:07:00.0|8086:10d6 0000:07:00.1|8086:10d6 0000:08:00.0|8086:10d6 0000:08:00.1|8086:10d6

 

07:00.0 Ethernet controller [0200]: Intel Corporation 82575GB Gigabit Network Connection [8086:10d6] (rev 02)
        Subsystem: Intel Corporation Gigabit VT Quad Port Server Adapter [8086:145a]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
07:00.1 Ethernet controller [0200]: Intel Corporation 82575GB Gigabit Network Connection [8086:10d6] (rev 02)
        Subsystem: Intel Corporation Gigabit VT Quad Port Server Adapter [8086:145a]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
08:00.0 Ethernet controller [0200]: Intel Corporation 82575GB Gigabit Network Connection [8086:10d6] (rev 02)
        Subsystem: Intel Corporation Gigabit VT Quad Port Server Adapter [8086:145a]
        Kernel driver in use: vfio-pci
        Kernel modules: igb
08:00.1 Ethernet controller [0200]: Intel Corporation 82575GB Gigabit Network Connection [8086:10d6] (rev 02)
        Subsystem: Intel Corporation Gigabit VT Quad Port Server Adapter [8086:145a]
        Kernel modules: igb

 

 

VIFO-PCI log:
 

Loading config from /boot/config/vfio-pci.cfg
BIND=0000:07:00.0|8086:10d6 0000:07:00.1|8086:10d6 0000:08:00.0|8086:10d6 0000:08:00.1|8086:10d6
---
Processing 0000:07:00.0 8086:10d6
Vendor:Device 8086:10d6 found at 0000:07:00.0

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:07:00.0/iommu_group/devices/0000:07:00.0
/sys/bus/pci/devices/0000:07:00.0/iommu_group/devices/0000:07:00.1

Binding...
Successfully bound the device 8086:10d6 at 0000:07:00.0 to vfio-pci
---
Processing 0000:07:00.1 8086:10d6
Vendor:Device 8086:10d6 found at 0000:07:00.1

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:07:00.1/iommu_group/devices/0000:07:00.0
/sys/bus/pci/devices/0000:07:00.1/iommu_group/devices/0000:07:00.1

Binding...
0000:07:00.0 already bound to vfio-pci
0000:07:00.1 already bound to vfio-pci
Successfully bound the device 8086:10d6 at 0000:07:00.1 to vfio-pci
---
Processing 0000:08:00.0 8086:10d6
Vendor:Device 8086:10d6 found at 0000:08:00.0

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:08:00.0/iommu_group/devices/0000:08:00.0
/sys/bus/pci/devices/0000:08:00.0/iommu_group/devices/0000:08:00.1

Binding...
/usr/local/sbin/vfio-pci: line 169: /sys/bus/pci/devices/0000:08:00.0/iommu_group/devices/0000:08:00.1/driver/unbind: Permission denied
Unbound 0000:08:00.1 from igb
Successfully bound the device 8086:10d6 at 0000:08:00.0 to vfio-pci
---
Processing 0000:08:00.1 8086:10d6
Vendor:Device 8086:10d6 found at 0000:08:00.1

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:08:00.1/iommu_group/devices/0000:08:00.0
/sys/bus/pci/devices/0000:08:00.1/iommu_group/devices/0000:08:00.1

Binding...
0000:08:00.0 already bound to vfio-pci
/usr/local/sbin/vfio-pci: line 169: /sys/bus/pci/devices/0000:08:00.1/iommu_group/devices/0000:08:00.1/driver/unbind: Permission denied
Unbound 0000:08:00.1 from igb
Successfully bound the device 8086:10d6 at 0000:08:00.1 to vfio-pci
---
vfio-pci binding complete

Devices listed in /sys/bus/pci/drivers/vfio-pci:
lrwxrwxrwx 1 root root 0 Feb 16 02:56 0000:07:00.0 -> ../../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:02.0/0000:05:00.0/0000:06:02.0/0000:07:00.0
lrwxrwxrwx 1 root root 0 Feb 16 02:56 0000:07:00.1 -> ../../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:02.0/0000:05:00.0/0000:06:02.0/0000:07:00.1
lrwxrwxrwx 1 root root 0 Feb 16 02:56 0000:08:00.0 -> ../../../../devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:02.0/0000:05:00.0/0000:06:04.0/0000:08:00.0

ls -l /dev/vfio/
total 0
crw------- 1 root root 249, 0 Feb 16 02:56 24
crw------- 1 root root 249, 1 Feb 16 02:56 25
crw-rw-rw- 1 root root 10, 196 Feb 16 02:56 vfio

 

Edited by Realterminator
Mark Error
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.