need to rebuild for every running kernel
– define KERNEL accordingly you’re building the module for another one
sbopkg -i openzfs
see https://slackbuilds.org/repository/15.0/system/openzfs/?search=openzfs
see zfs-source
Linux dmesg
ZFS: Loaded module v2.0.0-rc1_19_gb73a8b1dc, ZFS pool version 5000, ZFS filesystem version 5 ZFS: Loaded module v2.0.0-1, ZFS pool version 5000, ZFS filesystem version 5 ZFS: Loaded module v2.4.0-rc4, ZFS pool version 5000, ZFS filesystem version 5
FreeBSD dmesg
ZFS filesystem version: 5 ZFS storage pool version: features support (5000)