openafs-modules-dkms 1.8.10-2ubuntu1~22.04.1: openafs kernel module failed to build

Bug #2077114 reported by Edward Ferraz
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
openafs (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

teste

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: openafs-modules-dkms 1.8.10-2ubuntu1~22.04.1
ProcVersionSignature: Ubuntu 6.5.0-45.45~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-45-generic x86_64
NonfreeKernelModules: openafs nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
DKMSKernelVersion: 6.8.0-40-generic
Date: Thu Aug 15 15:07:01 2024
DuplicateSignature: dkms:openafs-modules-dkms:1.8.10-2ubuntu1~22.04.1:/var/lib/dkms/openafs/1.8.10/build/src/libafs/MODLOAD-6.8.0-40-generic-SP/afs_bypasscache.c:391:31: error: ‘KM_USER0’ undeclared (first use in this function)
InstallationDate: Installed on 2020-05-06 (1562 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
PackageVersion: 1.8.10-2ubuntu1~22.04.1
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: /usr/bin/python3.10, Python 3.10.12, python-is-python3, 3.9.2-2
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.3
 apt 2.4.12
SourcePackage: openafs
Title: openafs-modules-dkms 1.8.10-2ubuntu1~22.04.1: openafs kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Edward Ferraz (dudufis) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openafs (Ubuntu):
status: New → Confirmed
Revision history for this message
Achim Bohnet (allee) wrote (last edit ):

Now that 6.8 kernel is in jammy via the HWE kernel series, the openafs module build fails as it did originally in noble and the 6.8 kernel. See https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/2064628

Revision history for this message
Ray Link (rlink) wrote :

Can confirm that lifting all of the 6.8-support quilt patches directly from Noble and importing them unmodified into to the existing 1.8.10-2ubuntu1~22.04.1 in Jammy results in packages that build cleanly and produce a DKMS package that builds a functional OpenAFS kernel module for a Jammy machine running a 6.8 kernel.

Specifically, the patches:
0020-roken-Use-srcdir-for-roken-post.h.patch
0023-LINUX-Minor-osi_vfsop.c-cleanup.patch
0026-cf-Avoid-nested-C-functions-built-by-autoconf.patch
0027-cf-Use-static-allocated-structs-for-cf-tests.patch
0028-cf-Add-function-prototypes-for-linux-conftest.patch
0032-roken-Declare-ct_memcmp-in-hcrypto-kernel-roken.h.patch
0033-Linux-6.8-Use-roken-s-strlcpy-in-kernel-module.patch
0034-afs-Add-prototypes-for-roken-strlcpy-strlcat.patch
0035-LINUX-Make-fs-flush-invalidate-dentry.patch
0036-Linux-6.8-use-hlist-iteration-for-dentry-children.patch

Revision history for this message
Ray Link (rlink) wrote :

The recently-released 1.8.10-2ubuntu1~22.04.2 also does not contain the above-mentioned patches for 6.8 kernel support.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.