Re: zfs module not loaded anymore on e.g MINIMAL

From: Martin Matuska <mm_at_FreeBSD.org>
Date: Thu, 19 Mar 2026 08:38:03 UTC
Hi Warner,

there has been an zstd update in ZFS that has already given me a lot of 
headache and postponed the whole commit by 2 months.

As of our documentation, ZSTDIO should be included in kernel for ZFS:
https://github.com/freebsd/freebsd-src/commit/fb702b4446023

Should we add options ZSTDIO to MINIMAL?

Best regards,
mm

On 18. 3. 2026 14:11, Warner Losh wrote:
> Hey Martin,
>
> Can you track this down?
>
> Warner
>
> On Tue, Mar 17, 2026 at 9:12 AM h v <henry.vogt@gmail.com> wrote:
>
>     HI,
>
>     adding the line
>
>     options     ZSTDIO            # zstd-compressed kernel and user dumps
>
>     to my custom kernel config fixed my problem.
>
>     so it's likely necessary to add to MINIMAL config to restore
>     loading zfs module on boot.
>
>     Regards
>
>     Henry
>
>     Am 16.03.26 um 19:02 schrieb Warner Losh:
>>     Does any kernel load it correctly?
>>
>>     Warner
>>
>>     On Mon, Mar 16, 2026 at 11:45 AM h v <henry.vogt@gmail.com> wrote:
>>
>>         Hi,
>>
>>         on current (since ~ March 15th) my custom kernel, based on
>>         MINIMAL, as
>>         well as  MINIMAL itself,  don't load zfs and hence refuses to
>>         mount the
>>         root fs ... while GENERIC does..
>>
>>         Error (in dmesg) seems to be:
>>
>>
>>         kernel: link_elf_obj: symbol ZSTD_isError undefined
>>
>>         kernel: KLD file zfs.ko - could not finalize loading
>>
>>
>>
>>         Regards
>>
>>         Henry
>>
>>
>>