zfs-dkms: support linux 6.1

Bug #1998487 reported by Andrea Righi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zfs-linux (Ubuntu)
Fix Released
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

The current version of zfs-dkms available in lunar (2.1.5) fails to build with kernels >= 6.1.

[Test case]

$ apt install zfs-dkms

[Fix]

Resync with the latest zfs-linux from debian unstable and apply the following upstream patch to properly support linux 6.1:

ecb6a5081 ("Linux 6.1 compat: change order of sys/mutex.h includes")

[Regression potential]

Newer version of zfs can introduce potential regressions, so this change should be limited to lunar for now.

Tags: patch
Revision history for this message
Andrea Righi (arighi) wrote :

With the debdiff in attach applied (on top of the latest debian unstable zfs) everything seems to work fine on the latest lunar/linux-unstable (6.1.0-9-generic).

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in zfs-linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zfs-linux - 2.1.7-1ubuntu1

---------------
zfs-linux (2.1.7-1ubuntu1) lunar; urgency=medium

  * Merge from Debian Unstable (LP: #1998487), remaining changes:
    - debian/control:
      + drop dependencies on "zfs-modules | zfs-dkms" such that all
    packages can be installed in containers, on hosts that have zfs module
    loaded.
      + change initramfs/dracut packages to only Ubuntu-64bit
    architectures, zfs is not well supported on 32bit arches
    - debian/rules:
      + enforce abi check on Ubuntu amd64
    - debian/tests/control:
      + reduce testing to smoketest only
      + Ubuntu Kernel regression testing covers zfs testsuite
    - debian/patches:
      + Apply Ubuntu patchset to integrate with zsys

 -- Andrea Righi <email address hidden> Thu, 01 Dec 2022 12:06:06 +0000

Changed in zfs-linux (Ubuntu Lunar):
status: Confirmed → Fix Released
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.