Error Installing MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64 on CentOS Linux release 7.7.1908 (Core)

[root@localhost MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64]# ./mlnxofedinstall --without-dkms --add-kernel-support --force

Note: This program will create MLNX_OFED_LINUX TGZ for rhel7.7 under /tmp/MLNX_OFED_LINUX-4.7-1.0.0.1-3.10.0-1062.el7.x86_64 directory.

See log file /tmp/MLNX_OFED_LINUX-4.7-1.0.0.1-3.10.0-1062.el7.x86_64/mlnx_iso.65645_logs/mlnx_ofed_iso.65645.log

Checking if all needed packages are installed…

Unsupported package: dkms

/lib/modules/3.10.0-1062.el7.x86_64/build/scripts is required to build mlnx-ofa_kernel RPM.

Please install the corresponding kernel-source or kernel-devel RPM.

Error: One or more required packages for installing OFED-internal are missing.

Please install the missing packages using your Linux distribution Package Management tool.

Run:

yum install kernel-devel-3.10.0-1062.el7.x86_64

Failed to build MLNX_OFED_LINUX for 3.10.0-1062.el7.x86_64

[root@localhost MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64]# yum -y install kernel-devel-3.10.0-1062.el7.x86_64

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

base | 3.6 kB 00:00:00

extras | 2.9 kB 00:00:00

updates | 2.9 kB 00:00:00

Package kernel-devel-3.10.0-1062.el7.x86_64 already installed and latest version

Nothing to do

[root@localhost MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64]#

Hi Jenny,

Could you please try the following?

#[mlnxofedinstall --add-kernel-support --force]

If this not working you need to install manually the kernel devel 3.10.0-1062

https://centos.pkgs.org/7/centos-x86_64/kernel-devel-3.10.0-1062.el7.x86_64.rpm.html

Thanks,

Samer

Hi Samer,

I have manually installed the kernel devel 3.10.0-1062

[root@localhost MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64]# yum install kernel-devel-3.10.0-1062.el7.x86_64

Loaded plugins: fastestmirror, langpacks

Loading mirror speeds from cached hostfile

epel/x86_64/metalink | 15 kB 00:00:00

base | 3.6 kB 00:00:00

extras | 2.9 kB 00:00:00

ius | 1.3 kB 00:00:00

updates | 2.9 kB 00:00:00

Package kernel-devel-3.10.0-1062.el7.x86_64 already installed and latest version

Nothing to do

[root@localhost MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64]#

It still does not work. Any other suggestion?

Hi ,

Did you try the following command :

#mlnxofedinstall --add-kernel-support --force --skip-distro-check

Thanks,

Samer

I have tried you suggestion and it still does not work.

[root@localhost MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64]# ./mlnxofedinstall --add-kernel-support --force --skip-distro-check

Note: This program will create MLNX_OFED_LINUX TGZ for rhel7.7 under /tmp/MLNX_OFED_LINUX-4.7-1.0.0.1-3.10.0-1062.el7.x86_64 directory.

See log file /tmp/MLNX_OFED_LINUX-4.7-1.0.0.1-3.10.0-1062.el7.x86_64/mlnx_iso.170485_logs/mlnx_ofed_iso.170485.log

Checking if all needed packages are installed…

/lib/modules/3.10.0-1062.el7.x86_64/build/scripts is required to build mlnx-ofa_kernel RPM.

Please install the corresponding kernel-source or kernel-devel RPM.

Error: One or more required packages for installing OFED-internal are missing.

Please install the missing packages using your Linux distribution Package Management tool.

Run:

yum install kernel-devel-3.10.0-1062.el7.x86_64

Failed to build MLNX_OFED_LINUX for 3.10.0-1062.el7.x86_64

Do I need to install the corresponding kernel-source? I have already done the kernel-devel RPM install.

Please let me know any suggestion.

Or is that possible for us to have a chat?

Thanks,

Jenny

Hi Jenny,

For further debug and analysis, please open a support case at support@mellanox.com

Thanks,

Samer

Hi Samer,

I have opened a support case.

Mellanox Case 00690363: Error Installing MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64 on CentOS Linux release 7.7.1908 (Core)

Thank you very much for help.

Best regards,

Jenny

[root@localhost MLNX_OFED_LINUX-4.7-1.0.0.1-rhel7.7-x86_64]# ./mlnxofedinstall --add-kernel-support --fw-image-dir /tmp/my_fw_bin_files

Note: This program will create MLNX_OFED_LINUX TGZ for rhel7.7 under /tmp/MLNX_OFED_LINUX-4.7-1.0.0.1-3.10.0-1062.el7.x86_64 directory.

See log file /tmp/MLNX_OFED_LINUX-4.7-1.0.0.1-3.10.0-1062.el7.x86_64/mlnx_iso.232501_logs/mlnx_ofed_iso.232501.log

Checking if all needed packages are installed…

/lib/modules/3.10.0-1062.el7.x86_64/build/scripts is required to build mlnx-ofa_kernel RPM.

Please install the corresponding kernel-source or kernel-devel RPM.

Error: One or more required packages for installing OFED-internal are missing.

Please install the missing packages using your Linux distribution Package Management tool.

Run:

yum install kernel-devel-3.10.0-1062.el7.x86_64

Failed to build MLNX_OFED_LINUX for 3.10.0-1062.el7.x86_64

How do I install the corresponding kernel-source or kernel-devel RPM?

I have already done the: yum install kernel-devel-3.10.0-1062.el7.x86_64.

Thanks for your information.