[dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded'

baoli.wnag iamwangmali at 163.com
Thu Oct 15 06:14:27 CEST 2020


Hi,




I am trying to test the mlx5 performance on ubuntu 16.04, and when I run the testpmd with mlx nic,

Some error happened.




EAL: Probe PCI driver: net_mlx5 (15b3:1018) device: 0000:af:02.3 (socket 1)

net_mlx5: mlx5.c:3322: mlx5_pci_probe(): no Verbs device matches PCI device 0000:af:02.3, are kernel drivers loaded?

EAL: Requested device 0000:af:02.3 cannot be used

EAL: Probe PCI driver: net_mlx5 (15b3:1018) device: 0000:af:02.4 (socket 1)

net_mlx5: mlx5.c:3322: mlx5_pci_probe(): no Verbs device matches PCI device 0000:af:02.4, are kernel drivers loaded?

EAL: Requested device 0000:af:02.4 cannot be used

EAL: Bus (pci) probe failed.




And which happened after I manually installed the packages which command ‘mlnxofedinstall --upstream-libs –dpdk’ showed.




MLNX_OFED_LINUX-5.1-2.3.7.1-ubuntu16.04-x86_64# ./mlnxofedinstall --upstream-libs --dpdk

Logs dir: /tmp/MLNX_OFED_LINUX.32405.logs

General log file: /tmp/MLNX_OFED_LINUX.32405.logs/general.log




Below is the list of MLNX_OFED_LINUX packages that you have chosen

(some may have been added by the installer due to package dependencies):




ofed-scripts

mstflint

mlnx-ofed-kernel-utils

mlnx-ofed-kernel-dkms

rdma-core

libibverbs1

ibverbs-utils

ibverbs-providers

libibverbs-dev

librdmacm1

rdmacm-utils

librdmacm-dev

libibumad3

ibacm




This program will install the MLNX_OFED_LINUX package on your machine.

Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.

Those packages are removed due to conflicts with MLNX_OFED_LINUX, do not reinstall them.




Do you want to continue?[y/N]:y




Checking SW Requirements...

One or more required packages for installing MLNX_OFED_LINUX are missing.

Attempting to install the following missing packages:

graphviz chrpath libltdl-dev dpatch autoconf m4 quilt swig automake debhelper autotools-dev

Failed command: apt-get install -y graphviz chrpath libltdl-dev dpatch autoconf m4 quilt swig automake debhelper autotools-dev




I installed the packages above showed successfully except the package ibacm,

As when I tried to install this package, an error happened,




MLNX_OFED_LINUX-5.1-2.3.7.1-ubuntu16.04-x86_64/DEBS# dpkg -i ibacm_51mlnx1-1.51237_amd64.deb

(Reading database ... 93313 files and directories currently installed.)

Preparing to unpack ibacm_51mlnx1-1.51237_amd64.deb ...

Unpacking ibacm (51mlnx1-1.51237) over (51mlnx1-1.51237) ...

Setting up ibacm (51mlnx1-1.51237) ...

Job for ibacm.service failed because the control process exited with error code. See "systemctl status ibacm.service" and "journalctl -xe" for details.

Processing triggers for man-db (2.7.5-1) ...




And the error info is like below:

MLNX_OFED_LINUX-5.1-2.3.7.1-ubuntu16.04-x86_64/DEBS# systemctl status ibacm.service

● ibacm.service - InfiniBand Address Cache Manager Daemon

   Loaded: loaded (/lib/systemd/system/ibacm.service; enabled; vendor preset: enabled)

   Active: failed (Result: exit-code) since Thu 2020-10-15 06:06:49 CEST; 1min 2s ago

     Docs: man:ibacm

           file:/etc/rdma/ibacm_opts.cfg

  Process: 88408 ExecStart=/usr/sbin/ibacm --systemd (code=exited, status=255)

 Main PID: 88408 (code=exited, status=255)




Oct 15 06:06:49 compute-0-7.domain.tld systemd[1]: Starting InfiniBand Address Cache Manager Daemon...

Oct 15 06:06:49 compute-0-7.domain.tld systemd[1]: ibacm.service: Main process exited, code=exited, status=255/n/a

Oct 15 06:06:49 compute-0-7.domain.tld systemd[1]: Failed to start InfiniBand Address Cache Manager Daemon.

Oct 15 06:06:49 compute-0-7.domain.tld systemd[1]: ibacm.service: Unit entered failed state.

Oct 15 06:06:49 compute-0-7.domain.tld systemd[1]: ibacm.service: Failed with result 'exit-code'.




Do you have any idea about this?




Thanks in advance.










Best Regards

Baoli Wang王宝立




More information about the users mailing list