Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2026 11:56:56 +0100
From:      h v <henry.vogt@gmail.com>
To:        Martin Matuska <mm@FreeBSD.org>, Warner Losh <imp@bsdimp.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: zfs module not loaded anymore on e.g MINIMAL
Message-ID:  <4bc3357a-2d24-4b77-a0b0-9be97572b2a1@gmail.com>
In-Reply-To: <299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org>
References:  <5913b3ac-2ed7-42ab-9c26-0d204c38c578@gmail.com> <CANCZdfq8gxi2ywvfvCdC%2Bsoqu_9-XPFrvqNNeGqjsJbUfkLoXg@mail.gmail.com> <fdb20aa1-46e6-41ff-83a4-8549ed56c316@gmail.com> <CANCZdfpQnALFj%2B5Hd0xC-5yO3wzjOmZG9TYQL6tWbHr_%2By%2BRFQ@mail.gmail.com> <299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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
>>>
>>>
>>>
[-- Attachment #2 --]
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>Am 19.03.26 um 09:38 schrieb Martin Matuska:</p>
    <blockquote type="cite"
      cite="mid:299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org">
      <p>Hi Warner,<br>
      </p>
    </blockquote>
    ...
    <blockquote type="cite"
      cite="mid:299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org">
      <p>Should we add options ZSTDIO to MINIMAL?<br>
        <br>
      </p>
    </blockquote>
    <p>Since MINIMAL "follows GENERIC, minus all functionality that can
      be replaced by loading kernel modules."</p>
    <p>and loading zfs isn't possible without ZSTDIO =&gt; yes, please.</p>
    <p>Best Regards</p>
    <p>Henry</p>
    <blockquote type="cite"
      cite="mid:299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org">
      <p>Best regards,<br>
        mm</p>
      <div class="moz-cite-prefix">On 18. 3. 2026 14:11, Warner Losh
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CANCZdfpQnALFj+5Hd0xC-5yO3wzjOmZG9TYQL6tWbHr_+y+RFQ@mail.gmail.com">
        <meta http-equiv="content-type"
          content="text/html; charset=UTF-8">
        <div dir="ltr">Hey Martin,
          <div><br>
          </div>
          <div>Can you track this down?</div>
          <div><br>
          </div>
          <div>Warner</div>
        </div>
        <br>
        <div class="gmail_quote gmail_quote_container">
          <div dir="ltr" class="gmail_attr">On Tue, Mar 17, 2026 at
            9:12 AM h v &lt;<a href="mailto:henry.vogt@gmail.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">henry.vogt@gmail.com</a>&gt;
            wrote:<br>
          </div>
          <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
            <div>
              <p>HI,</p>
              <p>adding the line</p>
              <p>options     ZSTDIO            # zstd-compressed kernel
                and user dumps</p>
              <p>to my custom kernel config fixed my problem.</p>
              <p>so it's likely necessary to add to MINIMAL config to
                restore loading zfs module on boot.</p>
              <p>Regards </p>
              <p>Henry</p>
              <div>Am 16.03.26 um 19:02 schrieb Warner Losh:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Does any kernel load it correctly?
                  <div><br>
                  </div>
                  <div>Warner</div>
                </div>
                <br>
                <div class="gmail_quote">
                  <div dir="ltr" class="gmail_attr">On Mon, Mar 16, 2026
                    at 11:45 AM h v &lt;<a
                      href="mailto:henry.vogt@gmail.com" target="_blank"
                      moz-do-not-send="true"
                      class="moz-txt-link-freetext">henry.vogt@gmail.com</a>&gt;
                    wrote:<br>
                  </div>
                  <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
                    <br>
                    on current (since ~ March 15th) my custom kernel,
                    based on MINIMAL, as <br>
                    well as  MINIMAL itself,  don't load zfs and hence
                    refuses to mount the <br>
                    root fs ... while GENERIC does..<br>
                    <br>
                    Error (in dmesg) seems to be:<br>
                    <br>
                    <br>
                    kernel: link_elf_obj: symbol ZSTD_isError undefined<br>
                    <br>
                    kernel: KLD file zfs.ko - could not finalize loading<br>
                    <br>
                    <br>
                    <br>
                    Regards<br>
                    <br>
                    Henry<br>
                    <br>
                    <br>
                    <br>
                  </blockquote>
                </div>
              </blockquote>
            </div>
          </blockquote>
        </div>
      </blockquote>
    </blockquote>
  </body>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4bc3357a-2d24-4b77-a0b0-9be97572b2a1>