** Changed in: linux (Ubuntu Hirsute)
       Status: Incomplete => Confirmed

** Changed in: linux (Ubuntu Groovy)
       Status: Incomplete => Confirmed

** Changed in: linux (Ubuntu Focal)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1919392

Title:
  5.4.0-67.75 breaks compat with 3rd party Mellanox OFED drivers

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Focal:
  Confirmed
Status in linux source package in Groovy:
  Confirmed
Status in linux source package in Hirsute:
  Confirmed

Bug description:
  [Impact]
  Releases of Mellanox OFED drivers no longer compile against latest focal 
kernel. While Ubuntu can not necessarily guarantee source compatibility with 
3rd party trees, it seems like the MOFED stack has enough users that we'd want 
to avoid breaking it unnecessarily.

  [Fix]
  Temporarily reverting the following commits until MOFED can release a new 
version that supports them would do the trick:

  f21f647e08bd tools headers UAPI: Sync linux/const.h with the kernel headers
  37bbb8ed3e93 uapi: move constants from <linux/kernel.h> to <linux/const.h>

  [Test Case]
  Install MOFED driver stack:

  export DEBIAN_FRONTEND=noninteractive
  NVIDIA_DRIVER_VERSION=450-server
  MELLANOX_OFED_VERSION=5.1-2.5.8.0

  install_mellanox_ofed() {
      local MLNX_REPO="https://linux.mellanox.com/public/repo/mlnx_ofed";
      local mlnx_ofed_ver="$1"
      local ubuntu_ver
      ubuntu_ver="$(lsb_release -rs)"
      
mlnx_url="${MLNX_REPO}/${mlnx_ofed_ver}/ubuntu${ubuntu_ver}/mellanox_mlnx_ofed.list"
      
      wget -qO - https://www.mellanox.com/downloads/ofed/RPM-GPG-KEY-Mellanox | 
\
        apt-key add -
      wget -q -O /etc/apt/sources.list.d/mellanox_mlnx_ofed.list \
         "$mlnx_url"
      apt update
      apt install mlnx-ofed-kernel-only -y
  }

  install_mellanox_ofed ${MELLANOX_OFED_VERSION}

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1919392/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to