MLNX_OFED 4.7-1.0.0.1 Installation failed on Ubuntu 18.04 ARM platform

Downloaded the MLNX_OFED V4.7-1.0.0.1 to ARM platform.

MLNX_OFED_LINUX-4.7-1.0.0.1-ubuntu18.04-aarch64.tgz

My platform OS:

​uname -a:

5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:19:33 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux

When install the OFED drivers to the platform, report failures.

./mlnxofedinstall --upstream-libs --add-kernel-support --without-fw-update --force

message below.

Creating deb for: mlnx-ofed-hypervisor-user-only

Built mlnx-ofed-hypervisor-user-only deb

Error: no packages files were found in ‘/tmp/MLNX_OFED_LINUX-4.7-1.0.0.1-5.0.0-31-generic/mlnx_iso.8983/MLNX_OFED_LINUX-4.7-1.0.0.1-ubuntu18.04-ext/DEBS/MLNX_LIBS’ directory!

I followed the steps from below. how to fix the issues?

https://docs.mellanox.com/display/MLNXOFEDv471001/Installation

Please note that the OFED 4.6 installation is successful.

Thanks,

Jerry

Hello Jerry,

Thank you for posting your question on the Mellanox Community.

On a local setup I made a ubuntu machine with the same specifications as your machine and installed the Mellanox MLNX_OFED as shown bellow:

# ./mlnxofedinstall --upstream-libs --without-fw-update --force

Logs dir: /tmp/MLNX_OFED_LINUX.32432.logs

General log file: /tmp/MLNX_OFED_LINUX.32432.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

Skipping FW update.

Installation passed successfully

To load the new driver, run:

# /etc/init.d/openibd restart

As you are using Ubuntu there is no need for --add-kernel-support option as the Dynamic Kernel Module Support (DKMS) handles these functions.

You also need to have the proper kernel headers and modules install which can be done with

apt-get install linux-image-5.0.0-31-generic linux-headers-5.0.0-31-generic

Mellanox OFED requires certain packages which can be installed with

apt-get install perl dpkg autotools-dev autoconf libtool automake m4 dkms debhelper tcl tcl8.5 chrpath swig graphviz tcl-dev tcl8.5-dev tk-dev tk8.5-dev bison flex dpatch zlib1g-dev curl libcurl4-gnutls-dev python-libxml2 libvirt-bin libvirt0 libnl-3-dev libglib2.0-dev libgfortran3 automake m4 pkg-config libnuma-dev logrotate ethtool lsof libnl-route-3-dev

You can read more at https://docs.mellanox.com/display/MLNXOFEDv471001/General+Support+in+MLNX_OFED

under the Hardware and Software Requirements section.

If you need any further assistance, please do not hesitate to open a Mellanox Technical Support Ticket, by sending an email to support@mellanox.com

Kind Regards,

~Mellanox Technical Support.

Hi, Abigail

Thanks a lot for your prompt support!

With your instructions, I could install the OFED 4.7 to my platform without errors now.

And the installation for Kernel 4.15 works fine.

Thanks

Jerry