Hello,
I'm trying to bring up TRex on a new server and I'm seeing the same error and am unable to start an 8-port TRex instance on CentOS 7.9 with TRex v2.88 as well as v2.98.
EAL: /lib64/libmlx5.so.1: version `MLX5_OFED' not found (required by so/x86_64/libmlx5-64.so)
TRex is being started via systemd which has worked fine for other TRex instances before.
[root@htrex-9112 htrex-9112]# systemctl status trex_bm1
● trex_bm1.service - Physical TRex Server Instance 1 Service
Loaded: loaded (/usr/lib/systemd/system/trex_bm1.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2022-06-11 17:33:08 PDT; 29s ago
Process: 3362 ExecStartPre=/bin/sleep 30 (code=exited, status=0/SUCCESS)
Main PID: 3375 (t-rex-64)
Tasks: 6
CGroup: /system.slice/trex_bm1.service
├─3375 /bin/bash /corp/sta/opt/TRex/servers/htrex-9112/core/t-rex-64 -i --cfg /corp/sta/opt/TRex/servers/htrex-9112/trex_cfg_bm1.yaml --mb...
├─3468 /usr/bin/python3 -m trex.scapy_server.scapy_zmq_server -p 4507
├─3556 python3 ./dpdk_setup_ports.py --cleanup-servers --parent=-i --cfg /corp/sta/opt/TRex/servers/htrex-9112/trex_cfg_bm1.yaml --mbuf-fa...
└─3559 /usr/bin/python3 general_daemon_server stop -n Scapy
Jun 11 17:32:38 htrex-9112 systemd[1]: Starting Physical TRex Server Instance 1 Service...
Jun 11 17:33:08 htrex-9112 systemd[1]: Started Physical TRex Server Instance 1 Service.
Jun 11 17:33:37 htrex-9112 t-rex-64[3375]: EAL: /lib64/libmlx5.so.1: version `MLX5_OFED' not found (required by so/x86_64/libmlx5-64.so)
Jun 11 17:33:37 htrex-9112 t-rex-64[3375]: EAL: FATAL: Cannot init plugins
Jun 11 17:33:37 htrex-9112 t-rex-64[3375]: EAL: Cannot init plugins
Jun 11 17:33:37 htrex-9112 t-rex-64[3375]: EAL: Error - exiting with code: 1
Jun 11 17:33:37 htrex-9112 t-rex-64[3375]: Cause: Invalid EAL arguments
cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
uname -a
Linux htrex-9112 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
I installed the MLNX_OFED 5.6-2.0.9.0 drivers specified by the NVIDIA matrix on the download tab of this page:
This is the file I pulled down:
I do see a note on that page with respect to upgrading that might provide a clue.
Table 2 indicates that for TRex version v2.89 and above, the CentOS 7.9 distro is needed and the OFED release must be only GA 5.3-1.
I'll try the GA 5.3-1 release of MLNX_OFED and see if that helps.
Thanks,
Bruce.