DPDK usage discussions
 help / color / mirror / Atom feed
From: "baoli.wnag" <iamwangmali@163.com>
To: users@dpdk.org, rasland@mellanox.com
Subject: [dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded'
Date: Thu, 15 Oct 2020 12:14:27 +0800 (CST)	[thread overview]
Message-ID: <4fe60c74.2465.1752a775ced.Coremail.iamwangmali@163.com> (raw)

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王宝立



             reply	other threads:[~2020-10-25 20:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-15  4:14 baoli.wnag [this message]
2020-10-26 16:44 ` David Christensen

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=4fe60c74.2465.1752a775ced.Coremail.iamwangmali@163.com \
    --to=iamwangmali@163.com \
    --cc=rasland@mellanox.com \
    --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).