centos7.5,kernal5.10.26-18,安装Mellanox OFED提示kernal没有对应的工具怎么解决啊

1、[root@localhost MLNX_OFED_LINUX-5.4-3.7.5.0-rhel7.5-x86_64]# ./mlnx_add_kernel_support.sh -m /root/tool/MLNX_OFED_LINUX-5.4-3.7.5.0-rhel7.5-x86_64 -v
Distro was not provided, trying to auto-detect the current distro…
Auto-detected rhel7.5 distro.
Note: This program will create MLNX_OFED_LINUX TGZ for rhel7.5 under /tmp directory.
Do you want to continue?[y/N]:y
See log file /tmp/mlnx_iso.51044_logs/mlnx_ofed_iso.51044.log

Detected MLNX_OFED_LINUX-5.4-3.7.5.0
Running /bin/rm -rf /tmp/mlnx_iso.51044/MLNX_OFED_LINUX-5.4-3.7.5.0-rhel7.5-x86_64-ext
Running cp -a ‘/root/tool/MLNX_OFED_LINUX-5.4-3.7.5.0-rhel7.5-x86_64’ /tmp/mlnx_iso.51044/MLNX_OFED_LINUX-5.4-3.7.5.0-rhel7.5-x86_64-ext
Checking if all needed packages are installed…
Running tar xzf /tmp/mlnx_iso.51044/MLNX_OFED_LINUX-5.4-3.7.5.0-rhel7.5-x86_64-ext/src/MLNX_OFED_SRC-5.4-3.7.5.0.tgz
Building MLNX_OFED_LINUX RPMS . Please wait…
Running MLNX_OFED_SRC-5.4-3.7.5.0/install.pl --tmpdir /tmp/mlnx_iso.51044_logs --kernel-only --kernel 5.10.26-18 --kernel-sources /lib/modules/5.10.26-18/build/ --bu ilddir /tmp/mlnx_iso.51044 --disable-kmp --build-only

ERROR: Failed executing “MLNX_OFED_SRC-5.4-3.7.5.0/install.pl --tmpdir /tmp/mlnx_iso.51044_logs --kernel-only --kernel 5.10.26-18 --kernel-sources /lib/modules/5.10. 26-18/build/ --builddir /tmp/mlnx_iso.51044 --disable-kmp --build-only”
ERROR: See /tmp/mlnx_iso.51044_logs/mlnx_ofed_iso.51044.log

2、[root@localhost MLNX_OFED_LINUX-5.4-3.7.5.0-rhel7.5-x86_64]# ./mlnxofedinstall --skip-unsupported-devices-check --add-kernel-support
Note: This program will create MLNX_OFED_LINUX TGZ for rhel7.5 under /tmp/MLNX_OFED_LINUX-5.4-3.7.5.0-5.10.26-18 directory.
See log file /tmp/MLNX_OFED_LINUX-5.4-3.7.5.0-5.10.26-18/mlnx_iso.56302_logs/mlnx_ofed_iso.56302.log

Checking if all needed packages are installed…
Building MLNX_OFED_LINUX RPMS . Please wait…

ERROR: Failed executing “MLNX_OFED_SRC-5.4-3.7.5.0/install.pl --tmpdir /tmp/MLNX_OFED_LINUX-5.4-3.7.5.0-5.10.26-18/mlnx_iso.56302_logs --kernel-only --kernel 5.10.26 -18 --kernel-sources /lib/modules/5.10.26-18/build --builddir /tmp/MLNX_OFED_LINUX-5.4-3.7.5.0-5.10.26-18/mlnx_iso.56302 --disable-kmp --build-only --distro rhel7.5”
ERROR: See /tmp/MLNX_OFED_LINUX-5.4-3.7.5.0-5.10.26-18/mlnx_iso.56302_logs/mlnx_ofed_iso.56302.log
Failed to build MLNX_OFED_LINUX for 5.10.26-18

网卡:Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
fw:22.35.3006

MOFED5.4-375 not support rhel kernel 5.10. If you want that, you can use rhel os inbox driver.

我需要能安装在centos7.5,kernal5.10的 MLNX_OFED工具,可以说详细一点吗

So far not support. You can use RHEL OS driver.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.