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

kernel-ml suppoert #12405

Closed
slavonnet opened this issue Jul 21, 2021 · 6 comments
Closed

kernel-ml suppoert #12405

slavonnet opened this issue Jul 21, 2021 · 6 comments
Labels
Status: Understood The root cause of the issue is known Type: Question Issue for discussion

Comments

@slavonnet
Copy link

I not understand .... zfs can compile and work on 5.13 ....

https://elrepo.org/bugs/view.php?id=1111

What do they have to introduce?

@slavonnet slavonnet added the Type: Defect Incorrect behavior (e.g. crash, hang) label Jul 21, 2021
@rincebrain
Copy link
Contributor

rincebrain commented Aug 12, 2021

If I'm reading it correctly, they're not willing to provide binary kernel module packages of anything out of tree because they'd need to rebuild them every kernel update, since kernel-ml doesn't provide the same guarantees as vanilla RHEL kernels that they can keep using a driver built against an older one in the same release.

It's not OpenZFS-specific, and I don't think it's something OpenZFS can fix. (OpenZFS could, in theory, cut its own kernel-ml kmod packages, but I would strongly doubt that they would, because they don't provide kmod packages for Fedora for the same reason.)

@stale
Copy link

stale bot commented Aug 12, 2022

This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale No recent activity for issue label Aug 12, 2022
@yazun
Copy link

yazun commented Aug 17, 2022

Has something happened with kernel-ml DKMS as well:

 dkms --force install zfs/2.1.5

Kernel preparation unnecessary for this kernel.  Skipping...

Running the pre_build script:
checking for gawk... gawk
...
hecking kernel build directory... /lib/modules/5.19.1-1.el7.elrepo.x86_64/build
checking kernel source version... 5.19.1-1.el7.elrepo.x86_64
checking for kernel config option compatibility... done
checking whether CONFIG_MODULES is defined... no
configure: error:
		*** This kernel does not include the required loadable module
		*** support!
		***
		*** To build OpenZFS as a loadable Linux kernel module
		*** enable loadable module support by setting
		*** `CONFIG_MODULES=y` in the kernel configuration and run
		*** `make modules_prepare` in the Linux source tree.
		***
		*** If you don't intend to enable loadable kernel module
		*** support, please compile OpenZFS as a Linux kernel built-in.
		***
		*** Prepare the Linux source tree by running `make prepare`,
		*** use the OpenZFS `--enable-linux-builtin` configure option,
		*** copy the OpenZFS sources into the Linux source tree using
		*** `./copy-builtin <linux source directory>`,
		*** set `CONFIG_ZFS=y` in the kernel configuration and compile
		*** kernel as usual.


Building module:
cleaning build area...(bad exit status: 2)
make -j48 KERNELRELEASE=5.19.1-1.el7.elrepo.x86_64...(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.19.1-1.el7.elrepo.x86_64 (x86_64)
Consult /var/lib/dkms/zfs/2.1.5/build/make.log for more information.

?

@yazun
Copy link

yazun commented Aug 17, 2022

hmm, or it's still 5.19 support missing instead?

grep -Hnr "CONFIG_MODULES="  /usr/src/kernels/5.19.1-1.el7.elrepo.x86_64/
/usr/src/kernels/5.19.1-1.el7.elrepo.x86_64/.config:850:CONFIG_MODULES=y
/usr/src/kernels/5.19.1-1.el7.elrepo.x86_64/include/config/auto.conf:2473:CONFIG_MODULES=y

@almereyda
Copy link

almereyda commented Sep 9, 2022

It seems so. This machine is just trying to downgrade ZFS to FUSE, while the kernel upgrades to 5.19:

$ dnf upgrade | grep -B 1 'zfs|kernel'
Installieren:
 kernel                       x86_64  5.19.7-100.fc35            updates                                              261 k
 kernel-core                  x86_64  5.19.7-100.fc35            updates                                               50 M
 kernel-devel                 x86_64  5.19.7-100.fc35            updates                                               16 M
 kernel-modules               x86_64  5.19.7-100.fc35            updates                                               59 M
 kernel-modules-extra         x86_64  5.19.7-100.fc35            updates                                              3.7 M
--
Abhängigkeiten werden installiert:
 zfs-fuse                     x86_64  0.7.2.2-20.fc35            fedora                                               1.5 M
Entfernen:
 kernel                       x86_64  5.18.19-100.fc35           @updates                                               0
 kernel-core                  x86_64  5.18.19-100.fc35           @updates                                              92 M
 kernel-devel                 x86_64  5.18.19-100.fc35           @updates                                              63 M
 kernel-modules               x86_64  5.18.19-100.fc35           @updates                                              57 M
 kernel-modules-extra         x86_64  5.18.19-100.fc35           @updates                                             3.3 M
Abhängige Pakete werden entfernt:
 zfs                          x86_64  2.1.5-1.fc35               @zfs                                                 1.7 M
 zfs-dkms                     noarch  2.1.5-1.fc35               @zfs                                                  62 M

Kernels at 5.19 will become available with the 2.1.6 release. This commit can be found in the 2.1.6-staging branch:

57e1052

It will allow for Linux 5.19 build hosts:

zfs/META

Line 9 in 57e1052

Linux-Maximum: 5.19

@stale stale bot removed the Status: Stale No recent activity for issue label Sep 9, 2022
@yazun
Copy link

yazun commented Sep 9, 2022

Thanks for the hint!

@ghost ghost added Type: Question Issue for discussion Status: Understood The root cause of the issue is known and removed Type: Defect Incorrect behavior (e.g. crash, hang) labels Sep 9, 2022
@ghost ghost closed this as not planned Won't fix, can't repro, duplicate, stale Sep 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Understood The root cause of the issue is known Type: Question Issue for discussion
Projects
None yet
Development

No branches or pull requests

4 participants