DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded'
@ 2020-10-15  4:14 baoli.wnag
  2020-10-26 16:44 ` David Christensen
  0 siblings, 1 reply; 2+ messages in thread
From: baoli.wnag @ 2020-10-15  4:14 UTC (permalink / raw)
  To: users, rasland

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 ¨Cdpdk¡¯ 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Íõ±¦Á¢



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded'
  2020-10-15  4:14 [dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded' baoli.wnag
@ 2020-10-26 16:44 ` David Christensen
  0 siblings, 0 replies; 2+ messages in thread
From: David Christensen @ 2020-10-26 16:44 UTC (permalink / raw)
  To: users

> 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)

This PCI device ID, 15b3:1018, represents a virtual function (VF) 
according to https://pci-ids.ucw.cz/read/PC/15b3/1018.  Why are you 
using a VF in this situation?  Are you running inside a VM or on a bare 
metal host?

> 
> 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.

The code in mlx5_os_pci_probe() suggests that the DPDK mlx5 driver 
didn't find any Infiniband devices on your system.  Is your adapter 
enabled for Infiniband on the host system?  What does "lspci | grep 
Mellanox" return?  What about "ibv_devinfo"?

Dave

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15  4:14 [dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded' baoli.wnag
2020-10-26 16:44 ` David Christensen

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox