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

linux6.0.7-rt-xanmod does not build ZFS module #14186

Open
bugcrazy opened this issue Nov 16, 2022 · 2 comments
Open

linux6.0.7-rt-xanmod does not build ZFS module #14186

bugcrazy opened this issue Nov 16, 2022 · 2 comments
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@bugcrazy
Copy link

System information

Type Version/Name
Distribution Name Void Linux
Distribution Version Rolling release
Kernel Version 6.0.8
Architecture x86_64
OpenZFS Version 2.1.6

Describe the problem you're observing

Xanmod rt versions do not compile OpenZFS module, non rt versions compile normally, the same problem occurs on Ubuntu.

Describe how to reproduce the problem

In Void Linux you need to use this repository to create kernel:
https://notabug.org/Marcoapc/voidxanmodK

On Ubuntu you need to follow the steps from the official Xanmod website:
https://xanmod.org/

Include any warning/errors/backtraces from the system logs

Building DKMS module: zfs-2.1.6... FAILED!

Generating kernel module dependency lists... done.

Executing post-install kernel hook: 20-initramfs ...

grep: warning: stray \ before /

grep: warning: stray \ before /

dracut-install: Failed to find module 'zfs'

dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.b6n1va/initramfs --kerneldir /lib/modules/6.0.7-rt11-xanmod1_1/ -m zfs

@bugcrazy bugcrazy added the Type: Defect Incorrect behavior (e.g. crash, hang) label Nov 16, 2022
@szanni
Copy link

szanni commented Feb 23, 2024

As there are no failed build logs, I can only assume it to be the same issue that plagues all kernels that apply the rt kernel patches: relicensing of the kernel symbols migrate_enable and migrate_disable to be GPL only.

Looks like a duplicate of #11097 to me.

@AllKind
Copy link
Contributor

AllKind commented Feb 23, 2024

Or, the zfs version is just too old for the kernel version:
zfs-2.1.6
Supported Platforms

Linux: compatible with 3.10 - 5.19 kernels

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