[Bug 247544] zvol: unbootable system with root on zfs [regression]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 25 18:29:35 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247544

            Bug ID: 247544
           Summary: zvol: unbootable system with root on zfs [regression]
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: contact at evilham.com

I have bisected the source (took me a few days, wanted to report with more
info) and traced my issue down to revisions 362048 and 362047, coming from
differential: https://reviews.freebsd.org/D23478

Running HEAD the two afore mentioned revisions reverted results in a properly
working system.

What I am experiencing with the mentioned revisions applied is a hanging boot
sequence with following message (modulo typos because it's a transcript):

/etc/rc: DEBUG: checkyesno: zfs_enable is set to YES.
/etc/rc: DEBUG: load_kld: zfs kernel module already loaded.
/etc/rc: DEBUG: run_rc_command: doit: zvol_start

(no further messages are shown)


The setup itself is somewhat standard:

Created with the installer geli full disk encryption + zfs on root using the
whole disk (with partitions for EFI, boot, swap as created by the installer).

Inside the main pool, which contains the root dataset, I do have a zvol which
in turn is also encrypted with geli and I only unlock when necessary.

Hardware wise: this is a Lenovo A485 laptop with an AMD Ryzen processor (BIOS
being up to date) and the disk is nvme using the nda driver (as opposed to
nvd).


I'll try to re-create this with a simpler setup that isn't my work one, but
since this is scheduled to be MFC'd, I thought I'd notify this with as much
information as I could first.

Cheers,

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list