Problem installing MLNX_OFED_LINUX-4.6-

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

Installing mlnx-ofed-kernel-utils-4.6…

Installing mlnx-ofed-kernel-dkms-4.6…

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

Collecting debug info…




Removing newly installed packages…

Try to review log files:



Hi Jenny,

In add on and also documented in our UM 3.3.2 Installation Procedure.

MLNX_OFED for Ubuntu should be installed with the following flags in chroot environment:

./mlnxofedinstall --without-dkms --add-kernel-support --kernel --without-fw-update –


For example:

./mlnxofedinstall --without-dkms --add-kernel-support --kernel 3.13.0-85-generic --without-fw-update --force

Note that the path to kernel sources (–kernel-sources) should be added if the sources are not in their default location.


Hi Sophie,

Thank you very much for your reply. Your information is really helpful and I have solved this issue by using your instruction.

Best regards,


Good :-)