From nobody Thu Mar 19 10:56:56 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 4fc2hF0lbHz6W94T for ; Thu, 19 Mar 2026 10:57:01 +0000 (UTC) (envelope-from henry.vogt@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fc2hD4xQgz3ldl for ; Thu, 19 Mar 2026 10:57:00 +0000 (UTC) (envelope-from henry.vogt@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-43b3d9d0695so610845f8f.0 for ; Thu, 19 Mar 2026 03:57:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773917818; x=1774522618; darn=freebsd.org; h=in-reply-to:from:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=kbF/Dxt+CJBwVyehFg4EZDGVVmVs+rXoDQxkRrOk62o=; b=K+/hp/LR6Y47eFHPy07+3OmkwLDB/IDJzIn0m95wFr86LcheH8UvXlKJSZphMNo228 r1P3raEXjDhgcjQtNtmds7mLg/2qW865u58X/hljxavDtCjhTx0wEclF/L9NFN0XmWht a07fgD0hpXhojZYXREEaVjbbjxuPsBRGQ03K62rDTTqlkPrNubu3bHrvjf6LgKS7dAqO wzRyOsvx3VoYEUqC6nqzPJKEMs49qmCs6P61esogB1q+cyJDRimJUHc4lprqfTrEE777 QEYmpUyu9WGQzWWW5U0E5lwIStVW1SLbXH5B7Nm1hmGta3g7PFAoNQURSljjGU0T2uvZ fw7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773917818; x=1774522618; h=in-reply-to:from:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=kbF/Dxt+CJBwVyehFg4EZDGVVmVs+rXoDQxkRrOk62o=; b=Fl/lHJT8zXnh1+/9Nh4IrcUzB5RhL+x4H/3p1VEs1xiqCuFTgLQ7PkxxNwGNaohAJZ bC/AviHL9jCtmAKCCEbpbdxV3vBvuJ6SNSPncwbgMBLAK+9nBvvsDgcul1/9HSV0TnaZ YXQk8yRDN5v7JPJEZQCS/vIm+Wb9mEUhzGguKZKPai8xRApRtlmN9QQVFou5B9R5708s T91Olno95BIcM0aDtjVuqiiTw/9zBE+2OHH4mTT16TO9ZUgTjYwGGafvoRH/TutzgW6J bTdsXJ3RO67TmIPKZpthBwqa8wQmZ9GA0TOuc4+p8rAsKQlCMruCIWbsaqKjmUE+2ziP 8XnA== X-Gm-Message-State: AOJu0YzfMA9FUkiCumza6EiT6h7uOK3qOwv9t0S7TekyjF/bUiZS5nzA Uv5RqFbPboVSt4i/vqBXmZVLQKVqy+UVSPs3QnlIxO3AqVAmTS84DUUJ X-Gm-Gg: ATEYQzypBy5KJ8MLEpAxK+bJzXmyosnrfgF7Kom+qGH7h1q5tM1pA8w2XaNaATKkM4W UaaW5NxlQm7Vs2iIJvE3KnPdlnHiKNBXXo096p9AiN4w/ubfgei1bN5218pH6oOeHXn4yYxsHa8 IDNIwyBnSVedAQ1YcAvu1fHH3QGzKBlJyNMow/MRzoK8mbnlMJUWeOS0kpxUOPMvJ4y7yGGoaKQ gJtZeFmuS7wG8jIfXx5HPbv1wiliryPmdA/RzfhwOaUTHoLmg9Es2jhdEbTPHJKRNXkDaE5K4/k HJFmow4Z+hXiff5t53JLI6aw9SsqiLJi2Zcmbss2cQbDd9EfKDlGwm3a5+kaqvVI80X25gUrs+T DT/1yDfHo6xh1bf4/Ipg4Hc2wlxDmq1IvvHmvcR067YYPTaOOrn9uoE2cZD+c4ksipJ7jcbF8Dn 13Sd775wVty3+8OAuOpH2zpWtTO4ZiaSYBSZQa0kI773mRgsmUmbvuI0xXYb20UxWfENTyhAp+t rItcPUHVLs= X-Received: by 2002:a05:6000:1863:b0:439:bb42:dbde with SMTP id ffacd0b85a97d-43b5770bb6dmr5244308f8f.23.1773917818062; Thu, 19 Mar 2026 03:56:58 -0700 (PDT) Received: from ?IPV6:2003:c3:4f07:fc54:798b:ce8:d016:925b? ([2003:6:63e6:9b54:798b:ce8:d016:925b]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43b51852a64sm15574656f8f.14.2026.03.19.03.56.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Mar 2026 03:56:57 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------paJQJYCSJrDoiTRVm5zczwQ1" Message-ID: <4bc3357a-2d24-4b77-a0b0-9be97572b2a1@gmail.com> Date: Thu, 19 Mar 2026 11:56:56 +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: Martin Matuska , Warner Losh Cc: freebsd-current@freebsd.org References: <5913b3ac-2ed7-42ab-9c26-0d204c38c578@gmail.com> <299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org> From: h v In-Reply-To: <299d29ce-98b9-4daf-aed7-a8cc9cd3a45f@FreeBSD.org> 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_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4fc2hD4xQgz3ldl X-Spamd-Bar: ---- This is a multi-part message in MIME format. --------------paJQJYCSJrDoiTRVm5zczwQ1 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 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 >>> >>> >>> --------------paJQJYCSJrDoiTRVm5zczwQ1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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



--------------paJQJYCSJrDoiTRVm5zczwQ1--