Replies: 5 comments 3 replies
-
@dipol0 Can you verify if this an official and standard debian kernel without mods or backports? Also did you build with PREEMPT? One fix you can try, is simply building ZFS by telling it that it is GPL, (technically ZFS "binary is GPL" anyway) see: |
Beta Was this translation helpful? Give feedback.
-
@dipol0 After you changed META in file from CDDL to GPL. Did you re-run ./autogen.sh && ./configure and build zfs again? Please paste what you did and the output/result because this should have fixed error if done correctly. Maybe also paste META file license info to verify. (After you edit META to GPL you must re-build, ie autogen, configure and "make" and install again to overwrite previous version.) |
Beta Was this translation helpful? Give feedback.
-
@dipol0 If you did finally get it so that compiled "binary" advertises as GPL, then I'm not sure why it would still complain of using GPL-only symbols if in fact the currently loaded module was set as GPL license, I don't have time to test, I hadn't gotten around to testing this cddl->gpl myself yet, but maybe @sempervictus or @Ornias1993 can look and give you some hints, I skimmed this but have no time right now. |
Beta Was this translation helpful? Give feedback.
-
@dipol0 Sorry still busy and no time to duplicate your setup, but if you can't get rid of error even when running zfs.ko binary that says GPL, just click the button to the right that says "create issue from discussion" so it can be dealt with as an actual bug and others can help. https://github.com/openzfs/zfs/issues/new?created_from_discussion_number=13471 |
Beta Was this translation helpful? Give feedback.
-
The issue is cropping up again in recent builds. I am unable to build 2.12, and 2.2rc1 zfs against Linux kernel 6.3 series on Ubuntu MATE 20.04.6. Last successful built kernel was 6.2.11-xanmod1 with 2.12 zfs. Ironically, the Ubuntu MATE 23.10 mantic's zfs-dkms package was versioned 2.1.99 and you can dkms the 6.4.3-xanmod1 kernel successfully, even built against 6.4 xanmod kernel. How ironic. AR built-in.a |
Beta Was this translation helpful? Give feedback.
-
I try build kernel 5.17-5 with zfs-master.
Get error:
How to fix it ?
Beta Was this translation helpful? Give feedback.
All reactions