Build driver error for ConnectX-3 Pro in Debian12

EVN: Debian 12 (uname= 6.1.0-11-amd64)
VPI Card: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]
Use Driver: MLNX_OFED_LINUX-4.9-7.1.0.0-debian10.0-x86_64.iso

Pls Help. or update driver for debian12 officially

Error:

  1. IN Command status: (./mlnx_add_kernel_support.sh -m /mnt -v)

ERROR: Failed executing “MLNX_OFED_SRC-4.9-7.1.0.0/install.pl --tmpdir /tmp/mlnx_iso.571824_logs --kernel-only --kernel 6.1.0-11-amd64 --kernel-sources /lib/modules/6.1.0-11-amd64/build/ --builddir /tmp/mlnx_iso.571824 --without-dkms --build-only”

ERROR log2: See /tmp/mlnx_iso.571824_logs/mlnx_ofed_iso.571824.log

  1. ERROR log: ( /tmp/mlnx_iso.571824_logs/mlnx_ofed_iso.571824.log)
    1 Logs dir: /tmp/mlnx_iso.571824_logs/OFED.572164.logs
    2 General log file: /tmp/mlnx_iso.571824_logs/OFED.572164.logs/general.log
    3
    4 Below is the list of OFED packages that you have chosen
    (some may have been added by the installer due to package dependencies):
    6
    7 ofed-scripts
    8 mlnx-ofed-kernel-utils
    9 mlnx-ofed-kernel-modules
    10 rshim-modules
    11 iser-modules
    12 isert-modules
    13 srp-modules
    14 mlnx-nvme-modules
    15 kernel-mft-modules
    16 knem-modules
    17
    18 Checking SW Requirements…
    19 One or more required packages for installing OFED-internal are missing.
    20 Attempting to install the following missing packages:
    21 dh-autoreconf gcc make build-essential quilt debhelper bzip2 pkg-config
    22 This program will install the OFED package on your machine.
    23 Note that all other Mellanox, OEM, OFED, RDMA or Distribution IB packages will be removed.
    24 Those packages are removed due to conflicts with OFED, do not reinstall them.
    25
    26 Installing new packages
    27 Building DEB for ofed-scripts-4.9 (ofed-scripts)…
    28 Running /usr/bin/dpkg-buildpackage -us -uc
    29 Building DEB for mlnx-ofed-kernel-utils-4.9 (mlnx-ofed-kernel)…
    30
    31 -W- --with-mlx5-ipsec is enabled
    32 Running /usr/bin/dpkg-buildpackage -us -uc
    33 Failed to build mlnx-ofed-kernel DEB
    34 Collecting debug info…
    35 See /tmp/mlnx_iso.571824_logs/OFED.572164.logs/mlnx-ofed-kernel.debbuild.log

  2. ERROR log3
    file upload:
    mlnx-ofed-kernel.debbuild.log (508.8 KB)

Hi,
The version of Debian12 is too new for OFED .

The supported Debian versions with CX-3 Pro are:
Debian 9.9
Debian 9.6
Debian 9.11
Debian 8.9
Debian 8.11
Debian 10.0

Try to use lower Debian version.

By the way, ConnectX-3 Pro is an EOL production. So, no new feature will be added to support it. Driver won’t support new OS version.

Regards,
Levei

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