Public bug reported:
[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}
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Affects: linux (Ubuntu Focal)
Importance: Undecided
Status: New
** Affects: linux (Ubuntu Groovy)
Importance: Undecided
Status: New
** Affects: linux (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Focal)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Groovy)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1919392
Title:
5.4.0-67.75 breaks compat with 3rd party Mellanox OFED drivers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1919392/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs