-
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
zfs-2.1.15 don't compile with RHEL 9.5 last kernel-5.14.0-503.11.1.el9_5.x86_64 #16746
Comments
I don't think ZFS 2.1.x is maintained any more. |
2.1.15 is still the version in the "official" RHEL repo here. I think 2.2.6 will work, but i need some time to test this. |
You could just run |
Version 2.2.6 seems to be working. You can enable zfs-testing to install. dnf config-manager --enable zfs-testing |
I can confirm 2.2.6 from zfs-testing (dkms) repo works with RHEL9.5. Still im shure that a couple of people will run in this issue in a few days, when all the RHEL Clones (Rocky, Alma, Oracle) also bump from 9.4 to 9.5. Maybe this should be fixed/updated in some way. ;) |
The testing repo for RHEL9 has 2.2.6 and works for me |
I had the same issue when updating RHEL 9 to the latest version.
|
when 2.2.x will be moved from "testing" to "stable" repository for RHEL? These packages should not be used on production systems.
@AllKind which
On Github I do see a |
yeah guys my plex server was down for an entire 10 minutes... unacceptable. |
lol. That's how I discovered the problem this morning too... but mine had been down for over 8 hours. I thought I was the only one running Plex on RHEL! |
Thanks all for reporting this. Looks like the new kernel has hit AlmaLinux 9. I've put together a new release PR with the commits needed to get it building again: #16781 |
@tonyhutter you can use RHEL for free under certain circumstances (see terms at https://developers.redhat.com/articles/faqs-no-cost-red-hat-enterprise-linux ) |
I assume this is a duplicate of #16196. |
this hit also Rocky 9 checking whether bdev_open_by_path() exists... configure: error:
*** None of the expected "blkdev_get_by_path()" 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.15-3
*** Compatible Kernels: 3.10 - 6.7
Cleaning build area...(bad exit status: 2)
Failed command:
make -C /lib/modules/5.14.0-503.14.1.el9_5.x86_64/build M=/var/lib/dkms/zfs/2.1.15/build cleanBuilding module(s)...(bad exit status: 2)
Failed command:
make -j2 KERNELRELEASE=5.14.0-503.14.1.el9_5.x86_64
Error! Bad return status for module build on kernel: 5.14.0-503.14.1.el9_5.x86_64 (x86_64)
Consult /var/lib/dkms/zfs/2.1.15/build/make.log for more information. |
And PSA: don't forget to Also, one-liner alternative to enabling the repo, updating, then disabling it: dnf update --enablerepo=zfs-testing zfs |
This does not seem to work. Is there anything else that's needed? Edit: I got it to work. Just patching zfs-dkms wasn't enough. Applying the patches to the git repo and rebuilding all rpm's worked. Thanks! |
AlmaLinux OS is not 1:1 RHEL clone, AlmaLinux OS Foundation board Jul 13, 2023 has decided to drop the aim to be 1:1 with RHEL:
It is more safe to use original RHEL - it is no-cost for development use - https://developers.redhat.com/articles/faqs-no-cost-red-hat-enterprise-linux Or use Rocky Linux, because Rocky Linux is designed to be 100% bug-for-bug compatible with RHEL. |
As far as I understand ZoL supports current and last release, so since we're not far away from OpenZFS 2.3, we safely can enable 2.2.6 on current EL9 since 2.2.x branch will become default for EL9 in a not so far distant feature. |
This worked for me on both Rocky 9 and Alma 9. But what was interesting was that building 2.2.6 and 2.3.0-RC3 from source (actually just running the configure script) on Alma 9 failed with the same error, but installing from the zfs-testing repo worked fine. Is there some kind of secret sauce in the RPM that's not accessible by doing the following in the source? ./autogen.sh
./configure
Using the RHEL development license is as easy as 1, 2, 3 hours of searching their website for the correct process. |
we can close this ticket |
The on 6 December released 2.1.16 seems to work well on RHEL9 |
Confirmed. |
Thank you for the good work! |
System information
Distribution Name | Red Hat Enterprise Linux (not a rhel clone)
Distribution Version | 9.5
Kernel Version | kernel-5.14.0-503.11.1.el9_5.x86_64
Architecture | x86_64
OpenZFS Version | 2.1.15
Describe the problem you're observing
Working zfs on RHEL 9.4 system with kernel-5.14.0-427.42.1.el9_4.x86_64.
couple of error messages during kernel update (see below).
After booting no zfs module present
Describe how to reproduce the problem
Update from RHEL 9.4 kernel 5.14.0-427 to RHEL 9.5 kernel-5.14.0.-503
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: