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

Martin Matuska <[email protected]>
Newsgroups gmane.os.freebsd.current
Message-ID <[email protected]>
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 <[email protected]> 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 <[email protected]> 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
>>
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.