This bug affects all Groovy kernels from 5.8.0-45 or higher. This bug did not affect Groovy kernel 5.8.0-44 or earlier.
To fix it: git clone --recursive git://git.launchpad.net/~ubuntu- kernel/ubuntu/+source/linux/+git/groovy cd groovy git log --grep="tools headers UAPI: Sync linux/const.h with the kernel headers" git log --grep="uapi: move constants from <linux/kernel.h> to <linux/const.h>" git revert ecd8d70a8da1ab4987b488510c476be9052def19 git revert 5edb59c030419e21af5961ab60610f39a3c218e1 sudo nano /etc/apt/sources.list -------------------------------- Uncomment these lines: ....................... deb-src http://archive.ubuntu.com/ubuntu groovy main restricted ... deb-src http://archive.ubuntu.com/ubuntu groovy-updates main restricted ........................ sudo apt-get build-dep linux linux-image-$(uname -r) sudo apt-get install libncurses-dev gawk flex bison openssl libssl-dev dkms libelf-dev libudev-dev libpci-dev libiberty-dev autoconf LANG=C fakeroot debian/rules clean LANG=C fakeroot debian/rules binary-headers binary-generic binary- perarch cd .. rm linux-cloud-tools* sudo dpkg -i * -- 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