[Bug 256368] ZFS: FreebBSD 13 does not boot after ZIL remove: panic: VERIFY(nvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG, &txg)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Dec 2022 14:48:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256368

titus m <titus@edc.ro> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |titus@edc.ro

--- Comment #4 from titus m <titus@edc.ro> ---
problem described 
https://forums.freebsd.org/threads/nvme-adapter-with-hp-ex900-ssd-pci-e-nvme.85816/page-2#post-589863


patch
--- contrib/openzfs/module/os/freebsd/zfs/spa_os.c    2022-05-17
07:18:53.560252000 +0300
+++ /tmp/spa_os.c    2022-12-02 16:33:04.665494000 +0200
@@ -95,6 +95,7 @@
     for (i = 0; i < count; i++) {
         uint64_t txg;

+        if(!configs[i]) continue;
         txg = fnvlist_lookup_uint64(configs[i], ZPOOL_CONFIG_POOL_TXG);
         if (txg > best_txg) {
             best_txg = txg;

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