9 Replies Latest reply on Jan 20, 2017 5:55 AM by sm1ly

    MLNX OFED error for RHEL 7.3 RT

    cocotr

      Hello,

      I get an error when I try to install MLNX OFED for RHEL 7.3 Real time kernel.

      For normal kernel RHEL 7.3 I can install OFED without any problems. What can be the problem? Btw. I installed kernel-devel and added –add-kernel-support but I got below ERROR after installation:

       

      ERROR: Failed executing "MLNX_OFED_SRC-3.4-2.0.0.0/install.pl --tmpdir /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64 --kernel-only --kernel 3.10.0-514.2.2.rt56.424.el7.x86_64 --kernel-sources /lib/modules/3.10.0-514.2.2.rt56.424.el7.x86_64/build --builddir /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/mlnx_iso.21610 --disable-kmp --force --build-only --distro rhel7.3"

      ERROR: See /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/mlnx_ofed_iso.21610.log

      Failed to build MLNX_OFED_LINUX for 3.10.0-514.2.2.rt56.424.el7.x86_64

       

      I have Mellanox Connectx-3 VPI

        • Re: MLNX OFED error for RHEL 7.3 RT
          cocotr

          Can anyone help in above issue?

            • Re: MLNX OFED error for RHEL 7.3 RT
              martijn@mellanox.com

              Hi Oskar,

               

              Can you provide the contents of the logfile which is mentioned in the log /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/mlnx_ofed_iso.21610.log?

              The logfile name should contain *.rpmbuild.log

               

              Thanks and regards,

              ~Martijn 

              • Re: MLNX OFED error for RHEL 7.3 RT
                idant
                This message was posted by Idan Touito on behalf of Martijn van Breugel

                Hi Oskar,

                Are you able to provide us with the requested log?

                Thanks and regards,
                ~Martijn

                  • Re: MLNX OFED error for RHEL 7.3 RT
                    cocotr

                    Probably I deleted tjis log but below is different log with for the same error:

                     

                    Logs dir: /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/OFED.29661.logs

                    [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-ofa_kernel

                    mlnx-ofa_kernel-modules

                    mlnx-ofa_kernel-devel

                    knem

                    kernel-mft

                    iser

                    srp

                    isert

                    mlnx-sdp

                    mlnx-rds

                     

                     

                    Build ofed-scripts 3.4 RPM

                    Running  rpmbuild --rebuild  --define '_topdir /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/mlnx_iso.29365/OFED_topdir' --define '_sourcedir %{_topdir}/SOURCES' --define '_specdir %{_topdir}/SPECS' --define '_srcrpmdir %{_topdir}/SRPMS' --define '_rpmdir %{_topdir}/RPMS'  --define 'dist %{nil}' --target x86_64 --define '_prefix /usr' --define '_exec_prefix /usr' --define '_sysconfdir /etc' --define '_usr /usr' /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/mlnx_iso.29365/MLNX_OFED_SRC-3.4-2.0.0.0/SRPMS/ofed-scripts-3.4-OFED.3.4.2.0.0.src.rpm

                    Build mlnx-ofa_kernel 3.4 RPM

                    Running rpmbuild --rebuild  --define '_topdir /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/mlnx_iso.29365/OFED_topdir' --define '_sourcedir %{_topdir}/SOURCES' --define '_specdir %{_topdir}/SPECS' --define '_srcrpmdir %{_topdir}/SRPMS' --define '_rpmdir %{_topdir}/RPMS'  --nodeps --define '_dist .rhel7u3' --define 'configure_options   --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mthca-mod --with-mlx4-mod --with-mlx4_en-mod --with-mlx4_vnic-mod --with-mlx5-mod --with-cxgb3-mod --with-cxgb4-mod --with-nes-mod --with-ehca-mod --with-qib-mod --with-ipoib-mod --with-ipath_inf-mod --with-amso1100-mod --with-ocrdma-mod --with-sdp-mod --with-srp-mod --with-rds-mod --with-iser-mod --with-e_ipoib-mod --with-9pnet_rdma-mod --with-9p-mod --with-cxgb3i-mod --with-cxgb4i-mod --with-isert-mod' --define 'KVERSION 3.10.0-514.2.2.rt56.424.el7.x86_64' --define 'K_SRC /lib/modules/3.10.0-514.2.2.rt56.424.el7.x86_64/build' --define '_prefix /usr' /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/mlnx_iso.29365/MLNX_OFED_SRC-3.4-2.0.0.0/SRPMS/mlnx-ofa_kernel-3.4-OFED.3.4.2.0.0.1.g30039f7.src.rpm

                    [31mFailed to build mlnx-ofa_kernel 3.4 RPM [0m

                    Collecting debug info...

                    [31mSee /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-3.10.0-514.2.2.rt56.424.el7.x86_64/OFED.29661.logs/mlnx-ofa_kernel-3.4.rpmbuild.log [0m

                • Re: MLNX OFED error for RHEL 7.3 RT
                  sm1ly

                  I also got thoose error. MLNX_OFED_LINUX-3.4-2.0.0.0-rhel7.3-x86_64 install failed. u can dont see it, it have no answers.

                  so I using now 3.10.0-327.36.3.rt56.238 with ofed 3.4-2 and it works. its a bug with mutex configuration in mellanox src.