After updating from commit base 7140742c8c68 to commit base be9295deedd1, loader.efi (when kicked from boot1.efi, at least) cannot find root pool and drop to loader prompt (not loader menu). As commits to stand/ were limited inbetween, tried advancing commits instead of bisecting, and turned out commit base 3e3fd1fde8e1 triggers the issue.
Is there more than one disk in this system?
Also, does reverting that commit on the tip of main still exhibit the problem or not?
(In reply to Warner Losh from comment #1) Yes. Root-on-ZFS stable/15 on nda0 and Root-on-ZFS main on nda1. Both are NOT detected. No UFS partition exists. Note that this is reproducible with and without patch at D57821 (boot menu fix).
(In reply to Warner Losh from comment #2) Switched back to locally pulled head (commit base be9295deedd1) and reverted commit base 3e3fd1fde8e1 alone resolved the issue. Now found more commits are done to stand/after commit base be9295deedd1. Reading the diffs, seemingly wouldn't affect (fixes for GCC and SPDX), but to be sure, will try upgrading again with reverted commit base 3e3fd1fde8e1 alone. I'll report back once the upgrade finishes.
(In reply to Tomoaki AOKI from comment #4) Updating to commit base d0b3ecdc2749 finished. Without commit base 3e3fd1fde8e1 reverted, drops to loader prompt (erroneous). With commit base 3e3fd1fde8e reverted, sanely shows loader menu and boots fine (with patch at D57821 applied). Loader menu works fine, at least standard boot with "Enter" key and single user mode with "2" key worked.
OK. I'll revert this change. And I need to once again see if I can get a good test suite going... but that's a problem for another time.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c8842f1d18ae136cf5e3144540f76c7ebe0cd28a commit c8842f1d18ae136cf5e3144540f76c7ebe0cd28a Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2026-07-10 04:04:52 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2026-07-10 04:09:41 +0000 Revert "loader.efi: Trim ZFS searching for other booting options" This reverts commit 3e3fd1fde8e168910edc538966111c0b5f03cd5f. This appears to break chainbooting with boot1.efi and similar scenarios with Root-on-ZFS scenarios. Revert until it's better understood. PR: 296309 Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D58071 stand/efi/loader/main.c | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-)
(In reply to commit-hook from comment #7) Thanks!
(In reply to Tomoaki AOKI from comment #8) Sorry it took so long... I'll go ahead and close this.