zfs-dkms: support linux 6.2

Bug #2008245 reported by Andrea Righi
20
This bug affects 4 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 fails to build with kernels >= 6.2, reporting the following configure error:

configure: error:
 *** None of the expected "iops->get_acl()" interfaces were detected.
 *** This may be because your kernel version is newer than what is
 *** supported, or you are using a patched custom kernel with
 *** incompatible modifications.
 ***
 *** ZFS Version: zfs-2.1.7-1ubuntu1
 *** Compatible Kernels: 3.10 - 6.0

[Test case]

$ apt install zfs-dkms

[Fix]

Resync with zfs version in Debian (2.1.9) and apply the usual Ubuntu specific changes.

[Regression potential]

We may experience zfs regressions due to a new major version, especially on zfs volumes / filesystems created with the previous versions. However this goes in pair with the new major kernel version and we need to upgrade the version of zfs to properly support the new kernel 6.2.

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

debdiff in attach applied to zfs-2.1.9 from Debian seems to work fine on linux 6.2

description: updated
tags: added: patch
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

there's 2.1.9-2 now, care to rebase?

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

New debdiff on top of Debian zfs-linux 2.1.9-2. Smoke-tested in a local VM. Thanks!

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

uploaded, thanks

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

This bug was fixed in the package zfs-linux - 2.1.9-2ubuntu1

---------------
zfs-linux (2.1.9-2ubuntu1) lunar; urgency=medium

  * Merge from Debian Unstable (LP: #2008245), 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> Fri, 03 Mar 2023 07:18:14 +0000

Changed in zfs-linux (Ubuntu Lunar):
status: New → Fix Released
Revision history for this message
Cician (cician) wrote :

Since kernel 6.2.0 has been rolled out to Ubuntu 22.04, it also affects me on KDE Neon 5.27 (which is mostly just Ubuntu 22.04 + fresh KDE).

I got this error during a standard system update:

configure: error:
        *** None of the expected "iops->get_acl()" interfaces were detected.
        *** This may be because your kernel version is newer than what is
        *** supported, or you are using a patched custom kernel with
        *** incompatible modifications.
        ***
        *** ZFS Version: zfs-2.1.5-1ubuntu6~22.04.2
        *** Compatible Kernels: 3.10 - 5.19

Should I check to make sure it affects a pristine installation of plain Ubuntu 22.04?

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.