How to build userland tools seperately #15794
-
I'm a bit lost, I compiled zfs into the kernel with
added required config files and compiled kernel, all good so far. But how do I get the userland tools compiled? If I just do:
the compiled tools complain about the kernel module not being loaded. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
How you compile them, at the moment, has no bearing on how they decide the module is loaded, so if it's complaining the module isn't loaded, it's probably because it's not loaded. Does /proc/spl/kstat/zfs exist? If not, I would suggest your kernel is missing ZFS. |
Beta Was this translation helpful? Give feedback.
-
There was a bug in install scripts for some versions of ZFS with new
kernels. Check that fs/Makefile has a reference to ZFS directory.
…On Sat, Jan 20, 2024, 02:05 Furby Haxx ***@***.***> wrote:
you're right, that does not exist. But I don't get it why it isn't,
copy-builtin, add CONFIG_ZFS=y and make. am I missing something here? I do
not get any errors.
—
Reply to this email directly, view it on GitHub
<#15794 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXQ6HNHSI4NTU3MMJ55IMDYPKDSDAVCNFSM6AAAAABCBUUJFSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCOBSGYYTA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Commonly, because CONFIG_ZFS=y got erased at some point, and so it didn't actually get built in. If you have a copy of your running kernel's configure, from /proc/config.gz or /boot/config-something or w/e, you might want to check what it actually produced.