Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Dec 2022 07:41:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 256368] ZFS: FreebBSD 13 does not boot after ZIL remove: panic: VERIFY(nvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG, &txg)
Message-ID:  <bug-256368-3630-aYsWPLESTG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-256368-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-256368-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256368

--- Comment #5 from titus m <titus@edc.ro> ---
(In reply to titus m from comment #4)
for some reason the patch fails to apply to a stock 13.1
try this
--- spa_os.c    2022-12-03 09:21:13.458192000 +0200
+++ 1spa_os.c   2022-12-03 09:19:32.962406000 +0200
@@ -94,7 +94,7 @@
        best_txg =3D 0;
        for (i =3D 0; i < count; i++) {
                uint64_t txg;
-
+               if(!configs[i]) continue;
                txg =3D fnvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL=
_TXG);
                if (txg > best_txg) {
                        best_txg =3D txg;

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256368-3630-aYsWPLESTG>