[Bug 271772] ZFS: panic: VERIFY3(dev->l2ad_hand <= dev->l2ad_evict) failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 01 Jun 2023 17:34:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271772

            Bug ID: 271772
           Summary: ZFS: panic: VERIFY3(dev->l2ad_hand <= dev->l2ad_evict)
                    failed
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: grahamperrin@freebsd.org

Five panics soon after attempting to use GENERIC
main-n263189-c2c9ac88c2bb-dirty. 

No panic since I switched to GENERIC-NODEBUG. 

The first of five: 

Dumptime: 2023-05-27 03:17:16 +0100

----

Dump header from device: /dev/ada0p2
  Architecture: amd64
  Architecture Version: 2
  Dump Length: 1840246784
  Blocksize: 512
  Compression: none
  Dumptime: 2023-05-27 03:17:16 +0100
  Hostname: mowa219-gjp4-8570p-freebsd
  Magic: FreeBSD Kernel Dump
  Version String: FreeBSD 14.0-CURRENT #3 main-n263189-c2c9ac88c2bb-dirty: Sat
May 27 01:04:23 BST 2023
   
grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
  Panic String: VERIFY3(dev->l2ad_hand <= dev->l2ad_evict) failed (14053755392
<= 14053740032)

  Dump Parity: 1896504401
  Bounds: 1
  Dump Status: good

----

…

Unread portion of the kernel message buffer:
panic: VERIFY3(dev->l2ad_hand <= dev->l2ad_evict) failed (14053755392 <=
14053740032)

cpuid = 2
time = 1685153836
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00c6bd8c90
vpanic() at vpanic+0x150/frame 0xfffffe00c6bd8ce0
spl_panic() at spl_panic+0x3a/frame 0xfffffe00c6bd8d40
l2arc_feed_thread() at l2arc_feed_thread+0x2401/frame 0xfffffe00c6bd8ef0
fork_exit() at fork_exit+0x80/frame 0xfffffe00c6bd8f30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00c6bd8f30
--- trap 0x2f2a2072, rip = 0x949504154415f4d, rsp = 0x7265747061644120, rbp =
0x52505f4253550965 ---
KDB: enter: panic
Uptime: 5m47s
Dumping 1754 out of 16260 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91%

__curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:59
59              __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct
pcpu,
(kgdb) #0  __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:59
#1  doadump (textdump=textdump@entry=1)
    at /usr/src/sys/kern/kern_shutdown.c:407
#2  0xffffffff80b5102c in kern_reboot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:528
#3  0xffffffff80b5154d in vpanic (fmt=<optimized out>, 
    ap=ap@entry=0xfffffe00c6bd8d20) at /usr/src/sys/kern/kern_shutdown.c:972
#4  0xffffffff81f9327a in spl_panic (file=<optimized out>, 
    func=<optimized out>, line=<unavailable>, fmt=<unavailable>)
    at /usr/src/sys/contrib/openzfs/module/os/freebsd/spl/spl_misc.c:103
#5  0xffffffff81fef1e1 in l2arc_write_buffers (spa=0xfffffe0110b5d000, 
    dev=0x0, target_sz=16777216)
    at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:9445
#6  l2arc_feed_thread (unused=<optimized out>)
    at /usr/src/sys/contrib/openzfs/module/zfs/arc.c:9559
#7  0xffffffff80b077b0 in fork_exit (
    callout=0xffffffff81fecde0 <l2arc_feed_thread>, arg=0x0, 
    frame=0xfffffe00c6bd8f40) at /usr/src/sys/kern/kern_fork.c:1102
#8  <signal handler called>
#9  0x0949504154415f4d in ?? ()
Backtrace stopped: Cannot access memory at address 0x7265747061644120
(kgdb) 

------------------------------------------------------------------------
ps -axlww

UID   PID  PPID C PRI  NI    VSZ               RSS MWCHAN   STAT TT      TIME
COMMAND
  0     0     0 0 -16   0      0 18005604586963200 swapin   DLs   -   0:45.86
[kernel]
…

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