MLNX OFED error for RHEL 7.3 RT


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- --tmpdir /tmp/MLNX_OFED_LINUX-3.4- --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- --disable-kmp --force --build-only --distro rhel7.3”


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

I have Mellanox Connectx-3 VPI

Hi Oskar,

We need the contents of /tmp/MLNX_OFED_LINUX-3.4-

Thanks and regards,


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

Logs dir: /tmp/MLNX_OFED_LINUX-3.4-


Below is the list of OFED packages that you have chosen

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













Build ofed-scripts 3.4 RPM

Running rpmbuild --rebuild --define ‘_topdir /tmp/MLNX_OFED_LINUX-3.4-’ --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-

Build mlnx-ofa_kernel 3.4 RPM

Running rpmbuild --rebuild --define ‘_topdir /tmp/MLNX_OFED_LINUX-3.4-’ --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-

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

Collecting debug info…

[31mSee /tmp/MLNX_OFED_LINUX-3.4- [0m

can you give me your email. File is too big to paste here.

Hi Oskar,

Are you able to provide us with the requested log?

Thanks and regards,


Can anyone help in above issue?

Hi Oskar,

Can you provide the contents of the logfile which is mentioned in the log /tmp/MLNX_OFED_LINUX-3.4-

The logfile name should contain *.rpmbuild.log

Thanks and regards,


Hi Oskar,

We need the contents of /tmp/MLNX_OFED_LINUX-3.4-

Can you please share that log file.

Thanks and regards,


Hi Oskar,

As discussed by mail, there is no support for Real Time kernel in Mellanox OFED right now.

Thanks and regards,


I also got thoose error. MLNX_OFED_LINUX-3.4- 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.