[lustre-devel] zfs module taints osd_zfs and causes modprobe to fail
c.kuntz at opendrives.com
Thu Jul 29 16:31:44 PDT 2021
Resident crazy guy Christian here, I'm compiling lustre 2.14 on kernel
4.19.194 with ZFS 2.0.3 and running into a bit of a challenge thanks to this
In short, `modprobe lustre` succeeds but `modprobe osd_zfs` fails and
generates this output in dmesg:
[82645.937126] osd_zfs: module_layout: kernel tainted.
[82645.937526] osd_zfs: module uses symbols from proprietary module zfs,
[82645.938356] osd_zfs: Unknown symbol ktime_get_real_seconds (err -2)
[82645.938568] osd_zfs: Unknown symbol ktime_get_seconds (err -2)
>From what I can gather, the license taint from zfs floats up to osd_zfs,
and since osd_zfs becomes tainted as a non-GPL module it can no longer
utilize the GPL-only symbols from ktime, causing the module insertion to
As far as I can tell, my options are to either patch the taint inheritance
out of the kernel, add new functions to osd_zfs that replace the
functionality of ktim_get_real_seconds and ktime_get_seconds (honestly,
that feels a bit intimidating), or remove the gpl only requirement from
osd_zfs. Has anyone else run into this and found working solutions yet?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lustre-devel