Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2023 11:02:34 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        freebsd-current@freebsd.org
Subject:   Another ZFS Panic -- buffer modified while frozen
Message-ID:  <20230830180234.8F1E668@slippy.cwsent.com>

next in thread | raw e-mail | index | archive | help
A different panic on a different amd64 machine also running poudriere but 
building amd64 packages. Exmh was just started, displaying back to my 
laptop at the time of panic.

panic: buffer modified while frozen!
cpuid = 1
time = 1693417762
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 
0xfffffe008e67fba0
vpanic() at vpanic+0x132/frame 0xfffffe008e67fcd0
panic() at panic+0x43/frame 0xfffffe008e67fd30
arc_cksum_verify() at arc_cksum_verify+0x12c/frame 0xfffffe008e67fd80
arc_buf_destroy_impl() at arc_buf_destroy_impl+0x6f/frame 0xfffffe008e67fdc0
arc_buf_destroy() at arc_buf_destroy+0xd5/frame 0xfffffe008e67fdf0
dbuf_destroy() at dbuf_destroy+0x60/frame 0xfffffe008e67fe40
dbuf_evict_one() at dbuf_evict_one+0x176/frame 0xfffffe008e67fe70
dbuf_evict_thread() at dbuf_evict_thread+0x345/frame 0xfffffe008e67fef0
fork_exit() at fork_exit+0x82/frame 0xfffffe008e67ff30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe008e67ff30
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
Uptime: 3h46m10s
Dumping 1962 out of 8122 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91
%

__curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57
57		__asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu
,
(kgdb) bt
#0  __curthread () at /opt/src/git-src/sys/amd64/include/pcpu_aux.h:57
#1  doadump (textdump=textdump@entry=1)
    at /opt/src/git-src/sys/kern/kern_shutdown.c:405
#2  0xffffffff806c1b30 in kern_reboot (howto=260)
    at /opt/src/git-src/sys/kern/kern_shutdown.c:526
#3  0xffffffff806c202f in vpanic (
    fmt=0xffffffff83d82b7c "buffer modified while frozen!", 
    ap=ap@entry=0xfffffe008e67fd10)
    at /opt/src/git-src/sys/kern/kern_shutdown.c:970
#4  0xffffffff806c1dd3 in panic (fmt=<unavailable>)
    at /opt/src/git-src/sys/kern/kern_shutdown.c:894
#5  0xffffffff83ae5f2c in arc_cksum_verify (buf=0xfffff80188cde180)
    at /opt/src/git-src/sys/contrib/openzfs/module/zfs/arc.c:1475
#6  0xffffffff83ae99ff in arc_buf_destroy_impl (
    buf=buf@entry=0xfffff80188cde180)
    at /opt/src/git-src/sys/contrib/openzfs/module/zfs/arc.c:3113
#7  0xffffffff83ae9625 in arc_buf_destroy (buf=0xfffff80188cde180, 
    tag=tag@entry=0xfffff80104a534c8)
    at /opt/src/git-src/sys/contrib/openzfs/module/zfs/arc.c:3889
#8  0xffffffff83b0eee0 in dbuf_destroy (db=db@entry=0xfffff80104a534c8)
    at /opt/src/git-src/sys/contrib/openzfs/module/zfs/dbuf.c:2983
#9  0xffffffff83b17996 in dbuf_evict_one ()
    at /opt/src/git-src/sys/contrib/openzfs/module/zfs/dbuf.c:781
--Type <RET> for more, q to quit, c to continue without paging--c
#10 0xffffffff83b0c345 in dbuf_evict_thread (unused=<optimized out>)
    at /opt/src/git-src/sys/contrib/openzfs/module/zfs/dbuf.c:819
#11 0xffffffff80677ab2 in fork_exit (
    callout=0xffffffff83b0c000 <dbuf_evict_thread>, arg=0x0, 
    frame=0xfffffe008e67ff40) at /opt/src/git-src/sys/kern/kern_fork.c:1160
#12 <signal handler called>
(kgdb) 


FreeBSD cwsys 15.0-CURRENT FreeBSD 15.0-CURRENT amd64 1500000 #4 
komquats-n26508
9-b22aae410bc7: Wed Aug 30 04:38:24 PDT 2023     root@cwsys:/export/obj/opt/
src/
git-src/amd64.amd64/sys/BREAK2 amd64

Almost the same configuration as the other machine.


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230830180234.8F1E668>