Error: bind failed for 0000:02:04.0 - Cannot bind to driver uio_pci_generic: [Errno 19] No such device

Stephen Hemminger stephen at networkplumber.org
Thu Aug 11 16:56:23 CEST 2022


On Thu, 11 Aug 2022 12:00:22 +0300
sysman at scaled.cloud wrote:

> Hello!
> 
>   I tried to use uio_pci_generic instead of VFIO :
> 
> root at devuan4-sysman:~# lsmod | grep uio
> uio_pci_generic        16384  0
> igb_uio                20480  0
> uio                    20480  2 igb_uio,uio_pci_generic
> root at devuan4-sysman:~#
> 
> 
> root at devuan4-sysman:~# dpdk-devbind.py -s
> 
> Network devices using DPDK-compatible driver
> ============================================
> 0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' 
> drv=igb_uio unused=e1000,vfio-pci,uio_pci_generic
> 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' 
> drv=igb_uio unused=e1000,vfio-pci,uio_pci_generic
> 0000:02:07.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' 
> drv=igb_uio unused=e1000,vfio-pci,uio_pci_generic
> 
> Other Network devices
> =====================
> 0000:02:04.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' 
> unused=e1000,igb_uio,vfio-pci,uio_pci_generic
> 
> 
> root at devuan4-sysman:~# dpdk-devbind.py -b uio_pci_generic  0000:02:04.0
> Error: bind failed for 0000:02:04.0 - Cannot bind to driver 
> uio_pci_generic: [Errno 19] No such device
> 
> 
>   Please, help me to resolve this problem.

Check kernel dmesg log, there maybe a better message waiting there.
Note: igb_uio and uio_pci_generic may not be compatiable with each other.

Since this looks like a 4 port NIC card, you may have issues.
Internally the for card has a PCI bridge. Looking at PCI topology
with lspci may give some insight.



More information about the users mailing list