Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux 5.15 compatibility #12847

Closed
hmenke opened this issue Dec 13, 2021 · 6 comments
Closed

Linux 5.15 compatibility #12847

hmenke opened this issue Dec 13, 2021 · 6 comments
Labels
Type: Building Indicates an issue related to building binaries Type: Feature Feature request or new feature

Comments

@hmenke
Copy link

hmenke commented Dec 13, 2021

Describe the feature would like to see added to OpenZFS

Please make a release with the Linux 5.15 compatibility patches merged in and

Linux-Maximum: 5.15

in META. Right now some downstream consumers like the NixOS Linux distributions are in limbo because 5.14 is EOL and is being removed and 5.15 is not yet supported by ZFS.

In general the downstream consumers would appreciate a more timely release of the compatibility patches. Thanks in advance.

How will this feature improve OpenZFS?

Easier integration for rolling-release bleeding-edge Linux distributions.

Additional context

NixOS/nixpkgs#150517

@hmenke hmenke added the Type: Feature Feature request or new feature label Dec 13, 2021
@rincebrain rincebrain added the Type: Building Indicates an issue related to building binaries label Dec 13, 2021
@Mic92
Copy link
Contributor

Mic92 commented Dec 13, 2021

There are no patches required to get 5.15 working. You just need to bump META actually.

@behlendorf
Copy link
Contributor

We expect to release a tagged version this week.

@snowsnoot
Copy link

snowsnoot commented Dec 15, 2021

Just a note on something to watch out for. On FC34, dnf-automatic last night upgraded my kernel to from 5.15.6 to 5.15.7 and in the process removed zfs, zfs-dkms, zfs-dracut and zfs-test from my system, replacing it with zfs-fuse from the Feodra repos. Now I can't run any zfs related commands but the pool still runs OK.

================================================================================
 Package              Arch       Version                Repository         Size
================================================================================
Installing:
 kernel               x86_64     5.15.7-100.fc34        updates            14 k
 kernel-core          x86_64     5.15.7-100.fc34        updates            35 M
 kernel-devel         x86_64     5.15.7-100.fc34        updates            15 M
 kernel-modules       x86_64     5.15.7-100.fc34        updates            32 M
Upgrading:
 libjcat              x86_64     0.1.9-1.fc34           updates            71 k
 rust-srpm-macros     noarch     20-1.fc34              updates           9.2 k
Installing dependencies:
 zfs-fuse             x86_64     0.7.2.2-18.fc34        fedora            1.5 M
Removing:
 kernel               x86_64     5.14.13-200.fc34       @updates            0  
 kernel-core          x86_64     5.14.13-200.fc34       @updates           76 M
 kernel-devel         x86_64     5.14.13-200.fc34       @updates           60 M
 kernel-modules       x86_64     5.14.13-200.fc34       @updates           31 M
Removing dependent packages:
 zfs                  x86_64     2.1.1-1.fc34           @@commandline     1.6 M
 zfs-dkms             noarch     2.1.1-1.fc34           @@commandline      62 M
 zfs-dracut           noarch     2.1.1-1.fc34           @@commandline      39 k
 zfs-test             x86_64     2.1.1-1.fc34           @@commandline      30 M

Transaction Summary
================================================================================
Install  5 Packages
Upgrade  2 Packages
Remove   8 Packages

Edit: I was able to work around this by doing:

dnf install --allowerasing zfs-2.1.1-1.fc34.x86_64.rpm zfs-dkms-2.1.1-1.fc34.noarch.rpm zfs-dracut-2.1.1-1.fc34.noarch.rpm zfs-test-2.1.1-1.fc34.x86_64.rpm

which replaced kernel-devel 5.15.5-100.fc34 with 5.11.12-300.fc34 and now I can run zfs commands again. I've disabled dnf-automatic for now.

@amarshall
Copy link

@snowsnoot To prevent it from unexpectedly happening in the future, can run e.g. echo zfs | sudo tee /etc/dnf/protected.d/zfs.conf to mark the package as protected. See docs.

@Atemu
Copy link

Atemu commented Dec 16, 2021

@Mic92
Copy link
Contributor

Mic92 commented Dec 16, 2021

Right, this one can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Building Indicates an issue related to building binaries Type: Feature Feature request or new feature
Projects
None yet
Development

No branches or pull requests

8 participants