[Bug 278494] Hang during boot after recent ZFS update in CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Apr 2024 01:19:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278494

            Bug ID: 278494
           Summary: Hang during boot after recent ZFS update in CURRENT
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: kyle@ambroffkao.com

Created attachment 250119
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250119&action=edit
Screenshot from my IPMI console of the backgrace from the zpool command

On my development system running CURRENT, my system failed to boot after a
recent update. The system hangs during boot long before enough of userspace is
loaded for me to debug it easily.

I did a git bisect and tracked it down to
https://cgit.freebsd.org/src/commit/?id=1719886f6d08408b834d270c59ffcfd821c8f63a,
which is "zfs: merge openzfs/zfs@90ba19eb7".

When I revert the changes from 1719886f6d08408b834d270c59ffcfd821c8f63a my
system is able to boot just fine (running
b37333899bd27a74bdef34b7f34eb41bc6bd51bd with
1719886f6d08408b834d270c59ffcfd821c8f63a reverted).

From DDD I can see that there is a zpool command which is blocking boot
forever, which I suspect is a zpool command to import all of my zfs pools.
Attached is a screenshot from my IPMI console.

That zpool process is stuck creating zvols, of which I have many, so I suspect
"#15992 99741bde59 zvol: use multiple taskq", but I haven't verified this as
reverting just this change will require some merging I haven't finished.

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