Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827293 - sys-fs/zfs-kmod-2.1.1: Enable support for kernel 5.15
Summary: sys-fs/zfs-kmod-2.1.1: Enable support for kernel 5.15
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-25 16:13 UTC by Patrick Lauer
Modified: 2021-11-28 21:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2021-11-25 16:13:15 UTC
Kernel 5.15 was released after zfs 2.1.1, as such there's no official stamp of approval on it. But the required changes were added to zfs-kmod, so this works:

ZFS_KERNEL_COMPAT_OVERRIDE="5.15" emerge -av1 zfs-kmod

# uname -a
Linux localhost 5.15.4-gentoo-x86_64 #1 SMP Wed Nov 24 11:53:05 -00 2021 x86_64 AMD Ryzen 9 3900X 12-Core Processor AuthenticAMD GNU/Linux

# lsmod | grep zfs
zfs                  3657728  8


As such I would recommend increasing the allowed kernel versions in zfs-kmod.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2021-11-25 20:23:06 UTC
it has been requested but we usually try to be a bit conservative here.
It's not a tested configuration, so we'd like to avoid adding it.
it builds and it may even work, but may not work with some options enabled or some arches.

there has been situations there deviation from upstream compat lead to problems before.

2.1.2 release is going to happen _very_ soon, that one will contain 5.15 compat.
https://github.com/openzfs/zfs/pull/12718
2.0.7 is soon too and will contain 5.15 support

indeed it looks like there's no compat commits in the queue, just general bugfixes.


I'll ask around again and test it first before adding it, but hopefully release happens next monday-tuesday and we'll just have a new version.
Comment 2 Larry the Git Cow gentoo-dev 2021-11-28 19:32:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da56e42dccab2237f2c60640e5392f9953f18fd4

commit da56e42dccab2237f2c60640e5392f9953f18fd4
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2021-11-28 19:30:37 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-11-28 19:32:41 +0000

    sys-fs/zfs-kmod: enable kernel 5.15 for 2.1.1
    
    Closes: https://bugs.gentoo.org/827293
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 sys-fs/zfs-kmod/{zfs-kmod-2.1.1-r3.ebuild => zfs-kmod-2.1.1-r4.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 matoro archtester 2021-11-28 21:11:20 UTC
Note that 2.1.2 plans to have kernel 5.16 compat per https://github.com/openzfs/zfs/pull/12725 so that should be specified in the new ebuilds whenever it gets released.