-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
not install on 5.10 kernel #11449
Comments
https://github.com/openzfs/zfs/releases/tag/zfs-0.8.6
|
Hello @suicidesky92, OpenZFS 2.0.1 very recently got into Debian experimental. If 5.10 is a requirement, and you are willing to accept upgrading to 2.0, you can use that option. ZoL has expressed that they will not be attempting to backport the 5.10 compatibility patches to 0.8.x, due to their complexity---but are willing to accept patches providing that support. Upgrading to 2.0.x is the only certain option at this point, AIUI. |
So this is the only way out? Versions 0.8.x will no longer be supported? I can't find a guide for a safe transition from 0.8.x to 2.0, does it exist for debian? |
The Debian ZFS team has not yet decided between 0.8.x and 2.0.x. I am advocating for 2.0.x, because OpenZFS has EOL-ed 0.8.x (last I have heard). Whatever Debian ZFS decides, will be supported through the lifetime of bullseye, but right now it is still testing---Debian cannot provide the same guarantees for stable to the testing distribution. As a testing user, you have to be prepared for this kind of packaging churn. If Debian ZFS decides on 2.0.1, you will have to migrate to that, or maintain the software yourself out of Debian. Your options are to either move to 2.0.x in Debian experimental---which will be backported to bullseye---or to stay on 0.8.6, which requires you to remain on 5.9, since there is not 0.8.x release in existence that supports 5.10. |
Update: 2.0.1 has been accepted into Debian unstable---and should be available in ~hours. If you experience any difficulty during that upgrade, that is a bug, and please report it to the Debian bugtracker. |
Just tested the unstable package files on 20.04 with latest mainline kernel 5.10.6 successfully (rebuild package recipe). |
Seems like 2.0.1 doesn't want to work with kernel 5.10.7 `checking whether modules can be built... no Building module:
|
Works fine for me. Builds fine with arch 5.10.7. Which |
Got 2.69-11.1 on focal. Weird that it does build with with 5.10.6 on the same system but 5.10.7 refuses to build ;) |
autoconf 2.69 (Ubuntu 20.04) Just tried with mainline Kernel 5.10.8, same thing - DKMS Kernel module doesn't want to build. |
Latest 5.10.10 works for me with 2.0.1-3 packages:
|
I can confirm that OpenZFS v2.0.1 DKMS module builds fine with mainline Linux Kernel v5.10.10 Update: broken again on v5.10.11 |
@suicidesky92 5.10.11 and 5.10.12 mainline ubuntu kernel on 20.04 still fail to compile dkms under openzfs 2.0.2. However, 5.10.10 dkms compiles fine. Should be re-opened. |
I am on Arch and 2.0.x compiles fine on any of the kernels I have installed:
|
Same here, OpenZFS 2.0.2 DKMS build fails with Ubuntu's mainline kernels 5.10.11 and 5.10.12. |
Reopening until the build issue with the 5.10.11 and 5.10.12 kernel is resolved. |
The 5.10.11/12 build failures appear to have been caused by a kernel change resulting in a missing https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1906131 |
Looks like it is fixed in Linux kernel v5.10.13 Ubuntu mainline build. |
I just tried kernel v5.10.14 Ubuntu mainline, and it is broken again showing "Unable to build an empty module.". |
@suicidesky92 @EriksRemess @inthebrilliantblue Is it still an issue? OpenZFS 2.0+ should build fine with Linux 5.10 on Debian/Ubuntu. |
Still an issue, just tried dist-upgrading Linux Mint Debian Edition and ZFS 2.0.x and 2.1.2 are not compatible with Debian BPO kernels 5.10 or 5.15 |
Would you share exact commands executed? |
https://github.com/kneutron/ansitest/blob/master/debian-compile-zfs--boojum.sh (snip) Building module: $ less /var/lib/dkms/zfs/2.1.2/build/make.log |
I haven't the least idea how to do manual patching with ZFS code or branching out with my own git tree, I just wait for full stable releases. (Not a C programmer) Already applied the soft-symlink fix in this thread however: |
@kneutron, did the symlink hack work out for you we'll? |
It works OK with Debian Oldstable kernels, when I tried dist-upgrading to current Stable I ran into issues as described |
@kneutron, I managed to reproduce the issue using LMDE 4 + bullseye repos. Please make following change right after you unpack OpenZFS sources (it can be done with the text editor). It turns out that Linux Mint was treated as Proxmox.
|
I manually put in the 1-line fix, redid ./configure and the "make" part from my script, dpkg -i on the resulting .deb packages and it looks like it works :) zpool versionzfs-2.1.2-1 dmesg|grep ZFS[13249.605625] ZFS: Loaded module v2.1.2-1, ZFS pool version 5000, ZFS filesystem version 5 uname -aLinux p2300m-lmde 5.15.0-0.bpo.3-amd64 #1 SMP Debian 5.15.15-2~bpo11+1 (2022-02-03) x86_64 GNU/Linux Thanks! Hope this makes it into zfs 2.1.3 :) |
@kneutron, we are very glad that you can use OpenZFS now! I issued #13141 with a correction. Now everything in @behlendorf (merging and reviewing) and @tonyhutter (including the correction to zfs-2.1.3, #13063) hands. Have a good one! |
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
Fix `zfs-dkms` installation on Debian-derived distributions by aligning the directory detection logic to openzfs#13096. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: szubersk <szuberskidamian@gmail.com> Closes openzfs#11449 Closes openzfs#13141
System information
I am trying to install a package in debian via the standard apt repository. It gives me this error.
-->
Does this mean I need to wait for the bug fix package to be updated?
The text was updated successfully, but these errors were encountered: