From nobody Thu Mar 19 08:38:03 2026 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fbzc62LZjz6W0vj for ; Thu, 19 Mar 2026 08:38:14 +0000 (UTC) (envelope-from mm@FreeBSD.org) Received: from www541.your-server.de (www541.your-server.de [213.133.107.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4fbzc60Gq4z3SDF for ; Thu, 19 Mar 2026 08:38:14 +0000 (UTC) (envelope-from mm@FreeBSD.org) Authentication-Results: mx1.freebsd.org; none Received: from sslproxy06.your-server.de ([78.46.172.3]) by www541.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1w38tI-000Cuy-30; Thu, 19 Mar 2026 09:38:05 +0100 Received: from localhost ([127.0.0.1]) by sslproxy06.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w38sl-0000IT-16; Thu, 19 Mar 2026 09:37:31 +0100 Content-Type: multipart/alternative; boundary="------------IrWre3CsvJMULHNLezWAoACm" Message-ID: <299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org> Date: Thu, 19 Mar 2026 09:38:03 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: zfs module not loaded anymore on e.g MINIMAL To: Warner Losh , h v Cc: freebsd-current@freebsd.org References: <5913b3ac-2ed7-42ab-9c26-0d204c38c578@gmail.com> From: Martin Matuska Content-Language: en-US In-Reply-To: X-Virus-Scanned: Clear (ClamAV 1.4.3/27945/Thu Mar 19 07:24:38 2026) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE] X-Rspamd-Queue-Id: 4fbzc60Gq4z3SDF X-Spamd-Bar: ---- This is a multi-part message in MIME format. --------------IrWre3CsvJMULHNLezWAoACm Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 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 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 >> >> >> --------------IrWre3CsvJMULHNLezWAoACm Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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



--------------IrWre3CsvJMULHNLezWAoACm--