Hi vpp devs,

I have been trying to run vpp on latest master branch with mlx 5 enables on 
centos 8.2 machine .
I have downloaded and installed the mellanox driver from 
url:https://www.mellanox.com/products/infiniband-drivers/linux/mlnx_ofed and 
installed the following dependencies:
#yum install perl-Term-ANSIColor
#yum install tcl tk python36
#./mlnxofedinstall --upstream-libs --dpdk --without-fw-update
#/etc/init.d/openibd restart

I cloned the latest master branch (v21.01-rc0) (git clone -b master 
https://gerrit.fd.io/r/vpp)
I enabled mlx5 from file:build/external/packages/dpdk.mk
DPDK_MLX5_PMD                ?= y
DPDK_MLX5_COMMON_PMD         ?= y

Then I followed these steps to compile vpp :

#make wipe-release
#make install-dep
#make install-ext-deps
#make build-release
# make pkg-rpm
#rpm -ivh *.rpm

The compilation went fine , but got the following issue while installing the 
rpm files:
#rpm -ivh *.rpm
error: Failed dependencies:
python(abi) = 2.7 is needed by vpp-api-python-21.01-rc0~352_g1f85dad1e.x86_64
python-setuptools is needed by vpp-api-python-21.01-rc0~352_g1f85dad1e.x86_64

I changed line 143 on extras/rpm/vpp.spec: From "python-setuptools" to " 
python3-setuptools".
Then , I  proceeded with re-compile, and was able to install vpp successfully 
after that.

But when starting vpp, it kept crashing with error below:

Nov  6 15:01:44 sim01 systemd[1]: Starting Vector Packet Processing Process...
Nov  6 15:01:44 sim01 systemd[1]: Started Vector Packet Processing Process.
Nov  6 15:01:44 sim01 vpp[1557233]: */usr/bin/vpp: symbol lookup error: 
/usr/lib/vpp_plugins/dpdk_plugin.so: undefined symbol: ibv_fork_init*
Nov  6 15:01:44 sim01 systemd[1]: vpp.service: Main process exited, 
code=exited, status=127/n/a
Nov  6 15:01:44 sim01 systemd[1]: vpp.service: Failed with result 'exit-code'.
Nov  6 15:01:48 sim01 systemd[1]: Stopped Vector Packet Processing Process.

How can I compile vpp with mlx so that it didn't crash .

Thanks and Regards,
Ashish
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18093): https://lists.fd.io/g/vpp-dev/message/18093
Mute This Topic: https://lists.fd.io/mt/78363477/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to