Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2026 09:38:03 +0100
From:      Martin Matuska <mm@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>, h v <henry.vogt@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: zfs module not loaded anymore on e.g MINIMAL
Message-ID:  <299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org>
In-Reply-To: <CANCZdfpQnALFj%2B5Hd0xC-5yO3wzjOmZG9TYQL6tWbHr_%2By%2BRFQ@mail.gmail.com>
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>

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

[-- Attachment #1 --]
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
>>
>>
>>
[-- Attachment #2 --]
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Warner,</p>
    <p>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.</p>
    <p>As of our documentation, ZSTDIO should be included in kernel for
      ZFS:<br>
      <a class="moz-txt-link-freetext" href="https://github.com/freebsd/freebsd-src/commit/fb702b4446023">https://github.com/freebsd/freebsd-src/commit/fb702b4446023</a><br>;
      <br>
      Should we add options ZSTDIO to MINIMAL?<br>
      <br>
      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>
  </body>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?299d29ce-98b9-4daf-aed7-a8cc9cd3a45f>