Bug 248518

Summary: After upgrading from 12.1-STABLE r363327 to r364004, system will not mount zfs root filesystem
Product: Base System Reporter: Patrick McMunn <doctorwhoguy>
Component: kernAssignee: Mark Linimon <linimon>
Status: Closed Overcome By Events    
Severity: Affects Only Me    
Priority: ---    
Version: 12.1-STABLE   
Hardware: Any   
OS: Any   

Description Patrick McMunn 2020-08-07 22:47:56 UTC
After running "make -j24 buildworld buildkernel" (using GENERIC kernel with no modifications), I ran "make installkernel" and rebooted with "shutdown -r now". I got the following errors upon rebooting.

-----

Solaris: NOTICE: Cannot find the pool label for 'zroot'
Mounting from zfs:zroot/ROOT/default failed with error 5.

Loader variables:
  vfs.root.mountfrom=zfs:zroot/ROOT/default

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:zroot/ROOT/default
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot>

-----

I was able to reboot, choose to boot from the old kernel, and everything was working fine as it had before. I didn't see any notices in UPDATING that would indicate any ZFS incompatibilities I needed to account for, so I'm assuming this is a bug.
Comment 1 Patrick McMunn 2020-08-12 21:46:53 UTC
I waited a few days and rebuilt the source for r364178. It had no problem booting or mounting the filesystem. Whatever the issue was with the earlier revision appears to have already been resolved.