My infiniband card model is…
Device Type: ConnectX5
Part Number: MCX555A-ECA_Ax_Bx
Description: ConnectX-5 VPI adapter card; EDR IB (100Gb/s) and 100GbE; single-port QSFP28; PCIe3.0 x16; tall bracket; ROHS R6
PSID: MT_0000000010
PCI Device Name: 86:00.0
Base GUID: 043f720300d115f2
Versions: Current Available
FW 16.28.2006 16.28.2006
PXE 3.6.0102 3.6.0102
UEFI 14.21.0017 14.21.0017
Status: Up to date
I am using CentOS7.6 and the kernel version is kernel-3.10.0-1160.90.1.el7.x86_64
I am trying to install the 5.8-3.0.7.0-LTS version.
The following error occurs and the installation fails.
rpmbuild --rebuild --define _topdir /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir --define _sourcedir %{_topdir}/SOURCES --define _specdir %{_topdir}/SPECS --define _srcrpmdir %{_topdir}/SRPMS --define _rpmdir %{_topdir}/RPMS --nodeps --define _dist .rhel7u6 --define configure_options --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlxfw-mod --with-mlx4-mod --with-mlx4_en-mod --with-mlx5-mod --with-ipoib-mod --with-innova-flex --with-mdev-mod --with-srp-mod --with-iser-mod --with-nfsrdma-mod --with-isert-mod --define KVERSION 3.10.0-1160.81.1.el7.x86_64 --define K_SRC /lib/modules/3.10.0-1160.81.1.el7.x86_64/build --define _prefix /usr /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/MLNX_OFED_SRC-5.1-2.3.7.1/SRPMS/mlnx-ofa_kernel-5.1-OFED.5.1.2.3.7.1.src.rpm
warning: user builder does not exist - using root
warning: user builder does not exist - using root
Installing /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/MLNX_OFED_SRC-5.1-2.3.7.1/SRPMS/mlnx-ofa_kernel-5.1-OFED.5.1.2.3.7.1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.thFxb3
- umask 022
- cd /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD
- cd /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD
- rm -rf mlnx-ofa_kernel-5.1
- /usr/bin/tar -xvvf -
- /usr/bin/gzip -dc /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/SOURCES/mlnx-ofa_kernel-5.1.tgz
drwxr-xr-x builder/systemd-journal 0 2020-09-14 23:43 mlnx-ofa_kernel-5.1/
-rw-r–r-- builder/systemd-journal 7 2020-09-14 23:42 mlnx-ofa_kernel-5.1/compat_base_tree_version
-rw-r–r-- builder/systemd-journal 33 2020-09-14 23:42 mlnx-ofa_kernel-5.1/compat_base_tree
.
.
. - ./configure --build-dummy-mods --prefix=/usr --kernel-version 3.10.0-1160.81.1.el7.x86_64 --kernel-sources /lib/modules/3.10.0-1160.81.1.el7.x86_64/build --modules-dir /lib/modules/3.10.0-1160.81.1.el7.x86_64/extra/mlnx-ofa_kernel --with-core-mod --with-user_mad-mod --with-user_access-mod --with-addr_trans-mod --with-mlxfw-mod --with-mlx4-mod --with-mlx4_en-mod --with-mlx5-mod --with-ipoib-mod --with-innova-flex --with-mdev-mod --with-srp-mod --with-iser-mod --with-nfsrdma-mod --with-isert-mod -j24
Unsupported or unused parameter: --with-mlx4-mod
Unsupported or unused parameter: --with-mlx4_en-mod
Warning: CONFIG_TLS_DEVICE is not enabled in the kernel, cannot enable CONFIG_MLX5_EN_TLS.
backports_applied does not exist. running ofed_patch.sh
/tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/ofed_scripts/ofed_patch.sh --kernel-version 3.10.0-1160.81.1.el7.x86_64
mkdir -p /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/patches
touch /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/patches/quiltrc
/tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/kernel_patches/fixes directory does not exist
getting backport dir for kernel version 3.10.0-1160.81.1.el7.x86_64
found backport dir backports
.
.
.
CC [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband/core/ib_ucm_dummy.o
LD [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband/core/ib_core.o
CC [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.o
ld: /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband/core/trace.o: bad reloc symbol index (0x30b130e >= 0xc) for offset 0xb4d3 in section a.debug_info' LD [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband/core/iw_cm.o CC [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/en/params.o ld: /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband/core/trace.o: bad reloc symbol index (0x30b130e >= 0xc) for offset 0xb4d3 in section
a.debug_info’
ld: final link failed: Bad value
LD [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband/core/ib_umad.o
make[4]: *** [/tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband/core/ib_core.o] Error 1
make[4]: *** Waiting for unfinished jobs…
CC [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/en_debugfs.o
CC [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/umem.o
.
.
.
CC [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.o
make[3]: *** [/tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband/core] Error 2
make[2]: *** [/tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/infiniband] Error 2
CC [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.o
.
.
.
CC [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/meddev/mdev_driver.o
LD [M] /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.o
ld: /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.o: bad reloc symbol index (0x30b130e >= 0xc) for offset 0xb4ea in section a.debug_info' ld: /tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/setup.o: bad reloc symbol index (0x30b130e >= 0xc) for offset 0xb4ea in section
a.debug_info’
ld: final link failed: Bad value
make[3]: *** [/tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.o] Error 1
make[2]: *** [/tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default/drivers/net/ethernet/mellanox/mlx5/core] Error 2
make[1]: *** [module/tmp/MLNX_OFED_LINUX-5.1-2.3.7.1-3.10.0-1160.81.1.el7.x86_64/mlnx_iso.28271/OFED_topdir/BUILD/mlnx-ofa_kernel-5.1/obj/default] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-1160.81.1.el7.x86_64’
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.s5DmMM (%build)
RPM build errors:
user builder does not exist - using root
user builder does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.s5DmMM (%build)
I would like to know how to solve it.
Thanks