2 Replies Latest reply on Aug 25, 2018 10:19 AM by spaceman_spiff

    Problem installing MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu18.04-x86_64

    spaceman_spiff

      Hi,

      I am running linux mint 19 which is basically ubuntu 18.04. I recently bought a ConnectX-3 CX311A and am trying to get it running.
      I downloaded the MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu18.04-x86_64 and tried to run it:

      sudo ./mlnxofedinstall --add-kernel-support --distro ubuntu18.04

       

      Result:

      Note: This program will create MLNX_OFED_LINUX TGZ for ubuntu18.04 under /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic directory.

      See log file /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496_logs/mlnx_ofed_iso.5496.log

       

      Checking if all needed packages are installed...

      Building MLNX_OFED_LINUX RPMS . Please wait...

      find: 'MLNX_OFED_SRC-4.4-1.0.0.0/RPMS': No such file or directory

      Creating metadata-rpms for 4.15.0-29-generic ...

       

      ERROR: Failed executing "/usr/bin/perl /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496/MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu18.04-ext/create_mlnx_ofed_installers.pl --with-hpc --tmpdir /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496_logs --mofed /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496/MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu18.04-ext --rpms-tdir /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496/MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu18.04-ext/RPMS --output /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496/MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu18.04-ext --kernel 4.15.0-29-generic --ignore-groups eth-only"

      ERROR: See /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496_logs/mlnx_ofed_iso.5496.log

      Failed to build MLNX_OFED_LINUX for 4.15.0-29-generic

       

      Once I check this log it says:

      [33mUnsupported package: kmp [0m

      Logs dir: /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496_logs/OFED.5926.logs

      General log file: /tmp/MLNX_OFED_LINUX-4.4-1.0.0.0-4.15.0-29-generic/mlnx_iso.5496_logs/OFED.5926.logs/general.log

      [32m

      Below is the list of OFED packages that you have chosen

         

      (some may have been added by the installer due to package dependencies):

      [0m

      ofed-scripts

      mlnx-ofed-kernel-utils

      mlnx-ofed-kernel-dkms

      iser-dkms

      isert-dkms

      srp-dkms

      mlnx-nfsrdma-dkms

      mlnx-nvme-dkms

      mlnx-rdma-rxe-dkms

      kernel-mft-dkms

      knem-dkms

      knem

       

      Checking SW Requirements...

      This program will install the OFED 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 OFED, do not reinstall them.

       

      Installing new packages

      Building DEB for ofed-scripts-4.4 (ofed-scripts)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for mlnx-ofed-kernel-utils-4.4 (mlnx-ofed-kernel)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for iser-dkms-4.0 (iser)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for isert-dkms-4.0 (isert)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for srp-dkms-4.0 (srp)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for mlnx-nfsrdma-dkms-3.4 (mlnx-nfsrdma)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for mlnx-nvme-dkms-4.0 (mlnx-nvme)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for mlnx-rdma-rxe-dkms-4.0 (mlnx-rdma-rxe)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for kernel-mft-dkms-4.10.0 (kernel-mft)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      Building DEB for knem-dkms-1.1.3.90mlnx1 (knem)...

      Running  /usr/bin/dpkg-buildpackage -us -uc

      [32mBuild passed successfully [0m

      -E- '' dir does not exist!

       

      Strange!

      Then I tried

      sudo ./mlnxofedinstall --distro ubuntu18.04

      which gives:

      Logs dir: /tmp/MLNX_OFED_LINUX.12121.logs

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

      mlnx-ofed-kernel-utils

      mlnx-ofed-kernel-dkms

      iser-dkms

      isert-dkms

      srp-dkms

      mlnx-nfsrdma-dkms

      mlnx-rdma-rxe-dkms

      libibverbs1

      ibverbs-utils

      libibverbs-dev

      libibverbs1-dbg

      libmlx4-1

      libmlx4-dev

      libmlx4-1-dbg

      libmlx5-1

      libmlx5-dev

      libmlx5-1-dbg

      librxe-1

      librxe-dev

      librxe-1-dbg

      libibumad

      libibumad-static

      libibumad-devel

      ibacm

      ibacm-dev

      librdmacm1

      librdmacm-utils

      librdmacm-dev

      mstflint

      ibdump

      libibmad

      libibmad-static

      libibmad-devel

      libopensm

      opensm

      opensm-doc

      libopensm-devel

      infiniband-diags

      infiniband-diags-compat

      mft

      kernel-mft-dkms

      libibcm1

      libibcm-dev

      perftest

      ibutils2

      libibdm1

      cc-mgr

      ar-mgr

      dump-pr

      ibsim

      ibsim-doc

      knem-dkms

      mxm

      ucx

      sharp

      hcoll

      openmpi

      mpitests

      knem

      libdapl2

      dapl2-utils

      libdapl-dev

      srptools

      mlnx-ethtool

      mlnx-iproute2

       

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

      Installing new packages

      Installing ofed-scripts-4.4...

      Installing mlnx-ofed-kernel-utils-4.4...

      Installing mlnx-ofed-kernel-dkms-4.4...

       

      Error: mlnx-ofed-kernel-dkms installation failed!

      Collecting debug info...

      See:

          /tmp/MLNX_OFED_LINUX.12121.logs/mlnx-ofed-kernel-dkms.debinstall.log

      Removing newly installed packages...

       

      How can I install the drivers? Thank you for your help

        • Re: Problem installing MLNX_OFED_LINUX-4.4-1.0.0.0-ubuntu18.04-x86_64
          sophie

          Hi Sebastian,

           

          1) Have you validated based on the RN of the drivers that the following packages were installed:

           

          apt-get install perl dpkg autotools-dev autoconf libtool automake1.10

          automake m4 dkms debhelper tcl tcl8.4 chrpath swig

          graphviz tcl-dev tcl8.4-dev tk-dev tk8.4-dev bison flex dpatch

          zlib1g-dev curl libcurl4-gnutls-dev python-libxml2 libvirt-bin

          libvirt0 libnl-dev libglib2.0-dev libgfortran3 automake m4

          pkg-config libnuma logrotate ethtool lsof

           

          2) Did you try to install the latest driver version 4.4-2.0.7.0.

           

          3) Can you run it with the following options:

           

          ./mlnx_add_kernel_support.sh --make-tgz -t /var/tmp/MOFED -k `uname -r` -s /usr/src/kernels/`uname -r` -m . -n MLNX_OFED_LINUX-4.4-2.0.7.0-ubuntu18.04-x86_64-`uname -r` -v

           

          Possibly add: --distro ubuntu18.04

           

          Sophie.