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

Cannot build on Fedora with kernel 6.10.x #16544

Open
Rudd-O opened this issue Sep 18, 2024 · 2 comments
Open

Cannot build on Fedora with kernel 6.10.x #16544

Rudd-O opened this issue Sep 18, 2024 · 2 comments
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@Rudd-O
Copy link
Contributor

Rudd-O commented Sep 18, 2024

System information

Type | Version/Name
Linux | 6.10
Distribution Name | Fedora
Distribution Version | 39
Kernel Version | 6.10.10-100.fc39.x86_64
Architecture | x68_64
OpenZFS Version | latest master ec02094

Describe the problem you're observing

+ for f in /var/lib/dkms/zfs/*
+ test -L /var/lib/dkms/zfs/2.2.99
+ test -d /var/lib/dkms/zfs/2.2.99
++ basename /var/lib/dkms/zfs/2.2.99
+ ver=2.2.99
++ rpm -q kernel-devel '--queryformat=%{version}-%{release}.%{arch} '
+ for kver in $(rpm -q kernel-devel --queryformat='%{version}-%{release}.%{arch} ')
+ dkms install -m zfs -v 2.2.99 -k 6.10.10-100.fc39.x86_64
Sign command: /lib/modules/6.10.10-100.fc39.x86_64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
...
checking whether bio->bi_opf is defined... yes
checking whether bio_set_op_attrs is available... no
checking whether bio_set_dev() is available... yes
checking whether bio_set_dev() is GPL-only... yes
checking whether bio_set_dev() is a macro... no
checking whether bio_end_io_t wants 1 arg... yes
checking whether bio->bi_status exists... yes
checking whether bio has bi_iter... yes
checking whether submit_bio() wants 1 arg... yes
checking whether current->bio_list exists... yes
checking whether blkg_tryget() is available... no
checking whether bio->bi_bdev->bd_disk exists... yes
checking whether block_device_operations->submit_bio() returns void... yes
checking whether linux/blk-cgroup.h exists... yes
checking whether bio_alloc() wants 4 args... yes
checking whether blkdev_get_by_path() exists and takes 3 args... no
checking whether blkdev_get_by_path() exists and takes 4 args... no
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.2.99-813_g70d3b8d24
	*** Compatible Kernels: 3.10 - 6.7
@Rudd-O Rudd-O added the Type: Defect Incorrect behavior (e.g. crash, hang) label Sep 18, 2024
@robn
Copy link
Member

robn commented Sep 18, 2024

I'm not sure what you're building, but this isn't latest master.

	*** ZFS Version: zfs-2.2.99-813_g70d3b8d24
	*** Compatible Kernels: 3.10 - 6.7
$ git show ec02094:META | grep Linux
Linux-Maximum: 6.10
Linux-Minimum: 3.10

@edgan
Copy link

edgan commented Sep 24, 2024

The packaged version of zfs 2.2.6 works just fine for me with the 6.10.6-200.fc40.x86_64 kernel on Fedora 40. What doesn't work for me is the same version of zfs with a 6.11 kernel on Fedora 41 beta, but that isn't surprising. I do see signs of 6.11 support in master.

https://openzfs.github.io/openzfs-docs/Getting%20Started/Fedora/index.html

https://github.com/search?q=repo%3Aopenzfs%2Fzfs%206.11&type=code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

3 participants