Hello Mellanox community,
We have bought MT4119 ConnectX5 cards and we try to reinstall the last version of MLNX_OFED driver on our ubuntu 18.04-x86_64 servers. It works on 3 servers but on the last one, the installation failed because of “srptools DEB” installation fail.
Here is the message on the shell:
"clement@aotearoa:/opt/MLNX_OFED_LINUX-5.1-0.6.6.0-ubuntu18.04-x86_64$ sudo ./mlnxofedinstall --enable-opensm
Logs dir: /tmp/MLNX_OFED_LINUX.9973.logs
General log file: /tmp/MLNX_OFED_LINUX.9973.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
[…]
srptools
mlnx-ethtool
mlnx-iproute2
neohost-backend
neohost-sdk
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…
Removing old packages…
Uninstalling the previous version of MLNX_OFED_LINUX
Installing new packages
Installing ofed-scripts-5.1…
[…]
Installing dpcp-1.0.0…
Installing srptools-51mlnx1…
Failed to install srptools DEB
Collecting debug info…
See /tmp/MLNX_OFED_LINUX.9973.logs/srptools.debinstall.log"
and here is the message inside “/tmp/MLNX_OFED_LINUX.9973.logs/srptools.debinstall.log”:
/usr/bin/dpkg -i --force-confmiss /opt/MLNX_OFED_LINUX-5.1-0.6.6.0-ubuntu18.04-x86_64/DEBS/srptools_51mlnx1-1.51066_amd64.deb
Selecting previously unselected package srptools.
(Reading database … 277605 files and directories currently installed.)
Preparing to unpack …/srptools_51mlnx1-1.51066_amd64.deb …
Unpacking srptools (51mlnx1-1.51066) …
Setting up srptools (51mlnx1-1.51066) …
Configuration file ‘/etc/default/srptools’, does not exist on system.
Installing new config file as you requested.
Configuration file ‘/etc/init.d/srptools’, does not exist on system.
Installing new config file as you requested.
Configuration file ‘/etc/rdma/modules/srp_daemon.conf’, does not exist on system.
Installing new config file as you requested.
Configuration file ‘/etc/srp_daemon.conf’, does not exist on system.
Installing new config file as you requested.
Created symlink /etc/systemd/system/remote-fs-pre.target.wants/srp_daemon.service → /lib/systemd/system/srp_daemon.service.
A dependency job for srp_daemon.service failed. See ‘journalctl -xe’ for details.
A dependency job for srp_daemon.service failed. See ‘journalctl -xe’ for details.
invoke-rc.d: initscript srptools, action “start” failed.
- srp_daemon.service - Daemon that discovers and logs in to SRP target systems
Loaded: loaded (/lib/systemd/system/srp_daemon.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:srp_daemon
file:/etc/srp_daemon.conf
sept. 14 18:14:44 aotearoa systemd[1]: Starting Daemon that discovers and logs in to SRP target systems…
sept. 14 18:14:44 aotearoa systemd[1]: Started Daemon that discovers and logs in to SRP target systems.
[…]
dpkg: error processing package srptools (–install):
installed srptools package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (237-3ubuntu10.42) …
Processing triggers for ureadahead (0.100.0-21) …
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Errors were encountered while processing:
srptools
---------------- START OF DEBUG INFO -------------------
Install command: ./mlnxofedinstall --enable-opensm
Vars dump:
-
ofedlogs: /tmp/MLNX_OFED_LINUX.9973.logs
-
MLNX_OFED_LINUX_VERSION: 5.1-0.6.6.0
-
MLNX_OFED_ARCH: x86_64
-
MLNX_OFED_DISTRO: ubuntu18.04
-
distro: ubuntu18.04
-
arch: x86_64
-
kernel: 5.4.0-42-generic
-
config: /tmp/ofed.conf
-
update_firmware: 1"
I checked that all the required package were installed (specified by the released notes) but the dpkg package gives me that error message:
"sudo apt-get install dpkg
[…]
Setting up srptools (51mlnx1-1.51066) …
A dependency job for srp_daemon.service failed. See ‘journalctl -xe’ for details.
A dependency job for srp_daemon.service failed. See ‘journalctl -xe’ for details.
invoke-rc.d: initscript srptools, action “start” failed.
● srp_daemon.service - Daemon that discovers and logs in to SRP target systems
Loaded: loaded (/lib/systemd/system/srp_daemon.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:srp_daemon
file:/etc/srp_daemon.conf
sept. 14 18:17:47 aotearoa systemd[1]: Started Daemon that discovers and logs in to SRP target systems.
sept. 14 18:19:35 aotearoa systemd[1]: Stopped Daemon that discovers and logs in to SRP target systems.
[…]
dpkg: error processing package srptools (–configure):
installed srptools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
srptools
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I understand that the problems consists in “srptools package post-installation” but it seems that the installation of the driver MLNX5.1 induces this error that I can’t resolve.
Do you have any idea to solve that problem?
Thank you for your help.
Clément