Hello All,
I have been trying to build an .iso from kickstart file for live booting a CentOS7 (we will be updating to RHEL8 very soon but on CentOS7 until EOL) image with MLNX_OFED_LINUX-5.8-2.0.3.0-rhel7.9 dpdk kernel modules for kernel 3.10.0-1160.95.1.el7.x86_6 already built and ready to install at boot time.
I am quite inexperienced with building .isos so I may be approaching this wrong. Is what I am looking for even possible? Any help/direction is appreciated.
I have tried installing the specific packages normally installed when using mlnxofedinstall in %packages. These packages install without difficulty but the Mellanox drivers are missing when I try to load them up:
ofed-scripts-5.8-OFED.5.8.2.0.3.x86_64
mlnx-tools-5.2.0-0.58203.x86_64
mlnx-ofed-dpdk-5.8-2.0.3.0.rhel7.9.noarch
mlnx-ofa_kernel-5.8-OFED.5.8.2.0.3.1.rhel7u9.x86_64
mlnx-ofa_kernel-devel-5.8-OFED.5.8.2.0.3.1.rhel7u9.x86_64
mlnx-ofa_kernel-source-5.8-OFED.5.8.2.0.3.1.rhel7u9.x86_64
mlnx-ofed-dpdk-5.8-2.0.3.0.rhel7.9.noarch
mlnx-ofed-dpdk-upstream-libs-5.8-2.0.3.0.rhel7.9.noarch
knem-1.1.4.90mlnx1-OFED.5.8.0.4.7.1.rhel7u9.x86_64
kmod-knem-1.1.4.90mlnx1-OFED.5.8.0.4.7.1.rhel7u9.x86_64
xpmem-2.6.4-1.58203.rhel7u9.x86_64
kmod-xpmem-2.6.4-1.58203.rhel7u9.rhel7u9.x86_64
kmod-kernel-mft-mlnx-4.22.1-1.rhel7u9.x86_64
kmod-iser-5.8-OFED.5.8.2.0.3.1.rhel7u9.x86_64
kmod-srp-5.8-OFED.5.8.2.0.3.1.rhel7u9.x86_64
kmod-isert-5.8-OFED.5.8.2.0.3.1.rhel7u9.x86_64
kmod-mlnx-nfsrdma-5.8-OFED.5.8.2.0.3.1.rhel7u9.x86_64
kmod-mlnx-nvme-5.8-OFED.5.8.2.0.3.1.rhel7u9.x86_64
I have also tried just running “mlnxofedinstall --dpdk --upstream-libs --add-kernel-support --without-fw-update --skip-repo” as part of %post. It fails to execute and I am unsure how to read the .log file it generates during the kickstart process. I can’t print out the .log because it is a randomly generated tmp file name at run time.
It errors with this:
ERROR: Failed executing “MLNX_OFED_SRC-5.8-2.0.3.0/install.pl --tmpdir /tmp/MLNX_OFED_LINUX-5.8-2.0.3.0-3.10.0-1160.95.1.el7.x86_64/mlnx_iso.3677_logs --kernel-only --kernel 3.10.0-1160.95.1.el7.x86_64 --kernel-sources /lib/modules/3.10.0-1160.95.1.el7.x86_64/build --builddir /tmp/MLNX_OFED_LINUX-5.8-2.0.3.0-3.10.0-1160.95.1.el7.x86_64/mlnx_iso.3677 --disable-kmp --build-only --distro rhel7.9”
ERROR: See /tmp/MLNX_OFED_LINUX-5.8-2.0.3.0-3.10.0-1160.95.1.el7.x86_64/mlnx_iso.3677_logs/mlnx_ofed_iso.3677.log
Failed to build MLNX_OFED_LINUX for 3.10.0-1160.95.1.el7.x86_64