From: Stephen Hemminger <stephen@networkplumber.org>
To: sysman@scaled.cloud
Cc: users@dpdk.org
Subject: Re: Error: bind failed for 0000:02:04.0 - Cannot bind to driver uio_pci_generic: [Errno 19] No such device
Date: Thu, 11 Aug 2022 07:56:23 -0700 [thread overview]
Message-ID: <20220811075623.3db13703@hermes.local> (raw)
In-Reply-To: <7c0b92cb55fdd3b4a46973e2b5bc5fca@scaled.cloud>
On Thu, 11 Aug 2022 12:00:22 +0300
sysman@scaled.cloud wrote:
> Hello!
>
> I tried to use uio_pci_generic instead of VFIO :
>
> root@devuan4-sysman:~# lsmod | grep uio
> uio_pci_generic 16384 0
> igb_uio 20480 0
> uio 20480 2 igb_uio,uio_pci_generic
> root@devuan4-sysman:~#
>
>
> root@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@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.
next prev parent reply other threads:[~2022-08-11 14:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <99e01fff837b85c1126ef0a235078fc3@scaled.cloud>
2022-08-10 13:52 ` How to resolve "Not all devices in IOMMU group bound to VFIO or unbound" ? sysman
2022-08-10 13:55 ` Stephen Hemminger
2022-08-10 14:11 ` sysman
2022-08-10 14:19 ` Stephen Hemminger
2022-08-11 9:00 ` Error: bind failed for 0000:02:04.0 - Cannot bind to driver uio_pci_generic: [Errno 19] No such device sysman
2022-08-11 14:56 ` Stephen Hemminger [this message]
2022-08-25 10:50 ` DPD-22.07 bind error=-19 sysman
2022-09-10 8:28 ` IP/UDP packet reordering sysman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220811075623.3db13703@hermes.local \
--to=stephen@networkplumber.org \
--cc=sysman@scaled.cloud \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).