-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 5.3.0-rc4-rk3399: GPL-incompatible module zfs.ko uses GPL-only symbol 'preempt_schedule_notrace' #9948
Comments
Also failed on linux 5.3.11-rockchip64
|
Also failed on Linux rock64 5.4.20-rockchip64:
|
Same issue, Raspberry pi 4 4gb, running arch linux arm aarch64. Interesting thing: it works fine on kernel 4.19 |
If this is on your own system, then nobody is going to come after you for messing with the licenses on your modules. So run this before building the zfs modules:
It worked for me.
|
(This problem also goes away if you disable preempt on your kernel.) See #8545 for more info. |
With PREEMPTION=y and BLK_CGROUP=y preempt_schedule_notrace() is being used on arm64 which is a GPL-only function and hence the build of the DKMS kernel module fails. Fix that by redefining preempt_schedule_notrace() to preempt_schedule() which should be safe as long as tracing is not used. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Juerg Haefliger <[email protected]> Closes openzfs#8545 Closes openzfs#9948 Closes openzfs#10416 Closes openzfs#10973
With PREEMPTION=y and BLK_CGROUP=y preempt_schedule_notrace() is being used on arm64 which is a GPL-only function and hence the build of the DKMS kernel module fails. Fix that by redefining preempt_schedule_notrace() to preempt_schedule() which should be safe as long as tracing is not used. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Juerg Haefliger <[email protected]> Closes #8545 Closes #9948 Closes #10416 Closes #10973
With PREEMPTION=y and BLK_CGROUP=y preempt_schedule_notrace() is being used on arm64 which is a GPL-only function and hence the build of the DKMS kernel module fails. Fix that by redefining preempt_schedule_notrace() to preempt_schedule() which should be safe as long as tracing is not used. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Juerg Haefliger <[email protected]> Closes openzfs#8545 Closes openzfs#9948 Closes openzfs#10416 Closes openzfs#10973
With PREEMPTION=y and BLK_CGROUP=y preempt_schedule_notrace() is being used on arm64 which is a GPL-only function and hence the build of the DKMS kernel module fails. Fix that by redefining preempt_schedule_notrace() to preempt_schedule() which should be safe as long as tracing is not used. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Juerg Haefliger <[email protected]> Closes openzfs#8545 Closes openzfs#9948 Closes openzfs#10416 Closes openzfs#10973
System information
Describe the problem you're observing
Similar Issue:
#8545 #9745 #6146
The text was updated successfully, but these errors were encountered: