Bug 238800

Summary: loader hangs after failing to detect correct zpool partition to boot from
Product: Base System Reporter: Dave Cottlehuber <dch>
Component: kernAssignee: Rebecca Cran <bcran>
Status: Closed FIXED    
Severity: Affects Some People CC: emaste, kevans
Priority: --- Keywords: needs-qa
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Dave Cottlehuber freebsd_committer freebsd_triage 2019-06-25 11:51:20 UTC
new loader fails to detect ZFS partition to boot from, choosing incorrectly
the EFI partition, on 2 boxes (both UEFI firmware -> refind -> zfs partition).

loader hangs at:

Reading loader env vars from /efi/freeebsd/loader.env
setting currdev to disk0p1

bad: r349352
last known good: r349299

# gpart show

    =>        40  1000215136  nvd0  GPT  (477G)
              40     1228800     1  efi  (600M)
         1228840   734003200     2  freebsd-zfs  (350G)
       735232040   251658240     3  openbsd-data  (120G)
       986890280    13324896     4  freebsd-swap  (6.4G)

# /etc/src.conf

    WITH_CCACHE_BUILD=yes
    WITHOUT_LIB32=yes
    WITH_REPRODUCIBLE_BUILD=yes
  ​
    WITH_LOADER_LUA=yes
    WITHOUT_FORTH=yes
    ​
    WITHOUT_FLOPPY=yes
    WITHOUT_FINGER=yes
    WITHOUT_GAMES=yes
    WITHOUT_HAST=yes
    WITHOUT_SENDMAIL=yes
    WITHOUT_RBOOTD=yes
    WITHOUT_RCMDs=yes
    WITHOUT_TALK=yes
    WITHOUT_TELNET=yes
    WITHOUT_TIMED=yes
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-06-26 03:43:27 UTC
Assign committer of base r349350

See Also: https://lists.freebsd.org/pipermail/freebsd-current/2019-June/073719.html
Comment 2 Dave Cottlehuber freebsd_committer freebsd_triage 2019-06-26 16:45:12 UTC
resolved since r349404