-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 6 compatibility in and tracking discussion of the 2.1.7 patchset #14024
Comments
The situation is quite disappointing actually, and that's not for the first (and even not for the second!) time. Now I'm left with 2.1.6 and EOLed 5.19 kernel in gentoo. As it is not known which kernel version would become the next LTS, I have no other realistic option except for downgrading to 5.15. |
@lvd2 While it is not 100% percent certain, 6.1 is likely to be the next LTS kernel. Though that is assuming nothing unexpected happens during Linux development and testing. |
@lvd2 at least you have the option of downgrading--my laptop won't work prior to 5.17 or 18 (and has severe bugs < 5.19). I'm hoping |
The version in the META file represents latest kernel which we have tested. Fast moving downstream distributions, and end users building from source, are always welcome to perform their own testing and bump that max version as they see fit. What we want to avoid is misleading anyone about what has, and has not, been tested by the developers. |
On a Fedora 36 machine, with the 2.1.6 sources installed to $ sed -i 's/Linux-Maximum: 5.19/Linux-Maximum: 6.00/g' /usr/src/zfs-2.1.6/META
$ dkms install zfs/2.1.6
$ modprobe zfs
$ zfs version
zfs-2.1.6-1
zfs-kmod-2.1.6-1
$ uname -r
6.0.5-200.fc36.x86_64 |
Can someone help me,too ? I've tried several methods and actually I'm confused. I'm on Ubuntu 22.10 kinetic with the "6.0.0-6.1-liquorix-amd64" kernel. I tried to repeat your commands,but in my case it didn't work. Can you give a look at the log below ? thanks. https://pastebin.ubuntu.com/p/KwgByTtNpr/ this is the META file located inside the folder /usr/src/zfs-2.1.99 :
on /usr/src I have another folder,called zfs-2.1.6 and inside of it there is only one file,called META6,that has this content inside
this is what happens if I try to build the DKMS module for zfs 2.1.6 :
|
@almereyda I think you don't need to patch
|
Yes. It worked for Ubuntu 22.04 (running on top of kernel 5.19.0-16.4-liquorix
and kernel 6.0.0-6.1-liquorix). I issued the apt install zfs-dkms command
when I was running Ubuntu 22.04 + kernel 5.19.0-16.4-liquorix and it
compiled the ZFS module for both the kernel versions. It does not work on
Ubuntu 22.10,neither with kernel 5.19.0-16.4-liquorix,nor on top
of kernel 6.0.0-6.1-liquorix. Probably I've messed up the configuration
files and now it is broken. Or maybe zfs-dkms is not compatible,for some
reasons,with Ubuntu 22.10.
Il lun 31 ott 2022, 20:35 Danilo Margarido ***@***.***> ha
scritto:
… On a Fedora 36 machine, with the 2.1.6 sources installed to
/usr/src/zfs-2.1.6/ through dnf download --source zfs and rpm -ivh
zfs-2.1.6-1.fc36.src.rpm, the build succeeded on their recent Linux 6
kernel with patching META to 6 and installing the DKMS module manually:
@almereyda <https://github.com/almereyda> I think you don't need to patch
META.
Today I installed 6.0.5-200.fc36.x86_64 on my main rig (also Fedora 36)
just by doing a bog-standard update with sudo dnf upgrade and zfs got
built without any issues, just like with previous 5.19 kernel releases.
(Not yet rebooted into the newer kernel, so not tested yet)
$ cat /usr/src/zfs-2.1.6/META
Meta: 1
Name: zfs
Branch: 1.0
Version: 2.1.6
Release: 1
Release-Tags: relext
License: CDDL
Author: OpenZFS
Linux-Maximum: 5.19
Linux-Minimum: 3.10
$ dkms status
zfs/2.1.6, 5.19.16-200.fc36.x86_64, x86_64: installed
zfs/2.1.6, 6.0.5-200.fc36.x86_64, x86_64: installed
—
Reply to this email directly, view it on GitHub
<#14024 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFYNCZAITTF2PUHV4K25TDWGANQTANCNFSM6AAAAAARDSYPAI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Reporting back from a rebooted F36 machine, that has the DKMS module built, there was an incident with a tainted Kernel after resuming from standby. Please see this ABRT (link valid for 7 days): |
@Marietto2008 OpenZFS sources are incorrectly installed in your case. Please try fetching sources from git (the master branch), build
Results:
|
There is an issue with linux-6.1 In /usr/src/linux-headers-6.1.0-0-common/include/linux/memory_hotplug.h this function was added:
It clashes with: |
Please confirm which commit you built at, as 212ba9b should fix that. Note that 2.1.6 won't work, you need to build from 2.1.7-staging. |
The 6.0 kernel is not yet compatible with ZFS: openzfs/zfs#14024 Signed-off-by: Jakub Sokołowski <jakub@status.im>
is now here and on a good run to being completed fairly soon. |
This has long been implemented. |
Describe the feature would like to see added to OpenZFS
I would like to see the
META
file increase the Linux version to 6, in order to allow for builds against newer Kernels.How will this feature improve OpenZFS?
This will allow to build in rolling release and fast-paced distributions, such as Gentoo, Arch Linux, NixOS or Fedora.
Additional context
It has previously been suggested to already open a tracking PR for the
zfs-2.1.7-staging
branch:It was previously stated that LInux 6 compatibility is already present in
zfs-2.1.6-staging
, but not thoroughly tested:A PR for tracking the status of the
zfs-2.1.7-staging
branch has the advantage over merely comparing the branch against master, that discussions can be held and further code review employed.The text was updated successfully, but these errors were encountered: