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

From: h v <henry.vogt_at_gmail.com>
Date: Thu, 19 Mar 2026 10:56:56 UTC
Hi,

Am 19.03.26 um 09:38 schrieb Martin Matuska:

> Hi Warner,
>
...
>
> Should we add options ZSTDIO to MINIMAL?
>
Since MINIMAL "follows GENERIC, minus all functionality that can be 
replaced by loading kernel modules."

and loading zfs isn't possible without ZSTDIO => yes, please.

Best Regards

Henry

> 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
>>>
>>>
>>>