Bug 562 - Cannot bind 82599ES 10-Gigabit to uio_pci_generic
Summary: Cannot bind 82599ES 10-Gigabit to uio_pci_generic
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 20.08
Hardware: x86 All
: Normal critical
Target Milestone: ---
Assignee: marco.bore
URL:
Depends on:
Blocks:
 
Reported: 2020-10-21 14:53 CEST by marco.bore
Modified: 2021-02-17 17:34 CET (History)
2 users (show)



Attachments

Description marco.bore 2020-10-21 14:53:08 CEST
NIC: Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)
OS: CentOS Linux release 8.2.2004 (Core)
Kernel: 4.18.0-193.19.1.el8_2.x86_64


The command:
python3 ./dpdk-devbind.py --bind uio_pci_generic 0000:82:00.0 
Error: bind failed for 0000:82:00.0 - Cannot bind to driver uio_pci_generic

dmesg log:
[ 2571.106721] genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 49
[ 2571.106795] uio_pci_generic: probe of 0000:82:00.0 failed with error -22


How can I fix that?
Comment 1 Bruce Richardson 2020-10-21 16:30:21 CEST
Rather than using uio, can you try using vfio-pci driver? It supports everything that uio-pci-generic does, but provides more security too.
Comment 2 marco.bore 2020-10-22 09:50:44 CEST
Hi Bruce, thanks for your reply,
unfortunately I have the same issue with the vfio-pci driver

python3 ./dpdk-devbind.py --bind vfio-pci 0000:82:00.0 
Error: bind failed for 0000:82:00.0 - Cannot bind to driver vfio-pci

dmesg log:
[10597.223610] vfio-pci: probe of 0000:82:00.0 failed with error -22
Comment 3 Ajit Khaparde 2021-02-17 17:34:28 CET
Macro, while using vfio-pci, did you enable IOMMU? 

https://doc.dpdk.org/guides/linux_gsg/linux_drivers.html

Note You need to log in before you can comment on or make changes to this bug.