Public bug reported:

The Mellanox OFED modules fail to build on the 6.17 kernel.

I'm not sure if these modules are supposed to work on Ubuntu 25.10
(Questing), but they fail to build for me.  Notably, these modules don't
seem to be set to autoinstall in DKMS, so any tests that just install
the package and deps, but don't manually call `dkms install`, would not
trigger the failure.

Mainly, I was hoping to use the OFED utilities with Secure Boot enabled,
so the issue isn't a blocker for me personally, but I'd imagine others
might run into the same issue.


Excerpt from make.log:

Building module(s)
# command: ./build_all.sh 6.17.0-14-generic /lib/modules/6.17.0-14-generic/build
tac: failed to write to stdout: Broken pipe (os error 32)
Warning: CONFIG_MLX5_ESWITCH not support kernel version 6.13 or higher 
(current: 6.17.0-14-generic).
Warning: CONFIG_MLX5_BRIDGE not support kernel version 6.13 or higher (current: 
6.17.0-14-generic).
Warning: CONFIG_MLX5_CLS_ACT not support kernel version 6.13 or higher 
(current: 6.17.0-14-generic).
Warning: CONFIG_SUNRPC_XPRT_RDMA not support kernel version 6.13 or higher 
(current: 6.17.0-14-generic).
Warning: NVMF not support kernel version 6.13 or higher (current: 
6.17.0-14-generic).
Warning: ISER/ISERT not support kernel version 6.13 or higher (current: 
6.17.0-14-generic).
Warning: SRP not support kernel version 6.13 or higher (current: 
6.17.0-14-generic).

...

checking that modules can be built at all... no
configure: WARNING: Consult config.log for details.
configure: WARNING: If you are trying to build with a kernel-source rpm, 
consult build/README.kernel-source
configure: error: Kernel modules cannot be built.

################ Snippet from 
/var/lib/dkms/mofed-modules-24.10/24.10.1.1.4.0/build/mlnx-ofed-kernel/compat/config.log:
/usr/src/linux-headers-6.17.0-14-generic/include/uapi/linux/types.h:5:10: fatal 
error: asm/types.h: No such file or directory
    5 | #include <asm/types.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make[3]: *** 
[/usr/src/linux-headers-6.17.0-14-generic/scripts/Makefile.build:287: 
conftest.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:2016: .] Error 2
make[1]: *** [/usr/src/linux-headers-6.17.0-14-generic/Makefile:248: 
__sub-make] Error 2
make: *** [Makefile:248: __sub-make] Error 2

ProblemType: Package
DistroRelease: Ubuntu 25.10
Package: mofed-modules-24.10-dkms 24.10.1.1.4.0-0ubuntu2
ProcVersionSignature: Ubuntu 6.17.0-14.14-generic 6.17.9
Uname: Linux 6.17.0-14-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
DKMSKernelVersion: 6.17.0-14-generic
Date: Thu Feb 19 20:12:49 2026
DuplicateSignature: 
dkms:mofed-modules-24.10-dkms:24.10.1.1.4.0-0ubuntu2:configure: error: Kernel 
modules cannot be built.
InstallationDate: Installed on 2025-11-28 (83 days ago)
InstallationMedia: Kubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
PackageArchitecture: all
PackageVersion: 24.10.1.1.4.0-0ubuntu2
Python3Details: /usr/bin/python3.13, Python 3.13.7, python3-minimal, 3.13.7-1
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.22.21ubuntu3.1
 apt  3.1.6ubuntu2
SourcePackage: mofed-modules-24.10
Title: mofed-modules-24.10-dkms 24.10.1.1.4.0-0ubuntu2: mofed-modules-24.10 
kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mofed-modules-24.10 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package questing

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142264

Title:
  mofed-modules-24.10-dkms 24.10.1.1.4.0-0ubuntu2: mofed-modules-24.10
  kernel module failed to build on 6.17

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mofed-modules-24.10/+bug/2142264/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to