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

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

--- Comment #4 from Graham Perrin <grahamperrin@freebsd.org> ---
Fifth. 

(This panic occurred so soon after the fourth, above, that I did not get a
core.txt for the fourth.) 

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

----

Dump header from device: /dev/ada0p2
  Architecture: amd64
  Architecture Version: 2
  Dump Length: 1065807872
  Blocksize: 512
  Compression: none
  Dumptime: 2023-05-27 17:03:59 +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 (5895209984
<= 5895196160)

  Dump Parity: 2874308210
  Bounds: 5
  Dump Status: good

----

…

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

cpuid = 3
time = 1685203439
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 0xd76fc700, rip = 0xa0243d076ea0a69f, rsp = 0xf8b58c250ce46217, rbp =
0x3c30052e1ef2463b ---
KDB: enter: panic
Uptime: 2m15s
Dumping 1016 out of 16260 MB:..2%..12%..21%..32%..41%..51%..62%..71%..81%..92%

__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  0xffffffff8207727a 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  0xffffffff820d31e1 in l2arc_write_buffers (spa=0xfffffe0110b51000, 
    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=0xffffffff820d0de0 <l2arc_feed_thread>, arg=0x0, 
    frame=0xfffffe00c6bd8f40) at /usr/src/sys/kern/kern_fork.c:1102
#8  <signal handler called>
#9  0xa0243d076ea0a69f in ?? ()
Backtrace stopped: Cannot access memory at address 0xf8b58c250ce46217
(kgdb) 

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

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

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