NetBSD Problem Report #61001
From www@netbsd.org Fri Nov 13 18:27:11 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 97E8E1A923B
for <gnats-bugs@gnats.NetBSD.org>; Fri, 13 Nov 2026 18:27:11 +0000 (UTC)
Message-Id: <20261113182710.4D61B1A923C@mollari.NetBSD.org>
Date: Fri, 13 Nov 2026 18:27:10 +0000 (UTC)
From: r.j.croksters@gmail.com
Reply-To: r.j.croksters@gmail.com
To: gnats-bugs@NetBSD.org
Subject: fssconfig panics if filesystem is not clean
X-Send-Pr-Version: www-1.0
X-From4GNATS: "r.j.croksters@gmail.com via gnats" <gnats-admin@NetBSD.org>
>Number: 61001
>Category: kern
>Synopsis: fssconfig panics if filesystem is not clean
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 13 18:30:01 +0000 2026
>Originator: R.J.
>Release: netbsd-11
>Organization:
>Environment:
NetBSD dess 11.0_STABLE NetBSD 11.0_STABLE (GENERIC) #1: Mon Nov 2 21:04:09 EST 2026 rjc@dess:/usr/src/sys/arch/amd64/compile/obj/GENERIC amd64
>Description:
Attempting to take a fs snapshot resulted in reproducible panics - see below. The filesystem was mounted with wapbl and nothing was showing that it was not clean. Rebooting in single mode and forcing fsck a couple of times found some issues on the filesystem and also fixed the original issue.
Crash version 11.0_STABLE, image version 11.0_STABLE.
crash: _kvm_kvatop(0)
Kernel compiled without options LOCKDEBUG.
System panicked: snapacct: bad block
Backtrace from time of crash is available.
crash> bt
sljit_modcmd() at 0
kern_reboot() at kern_reboot+0x93
vpanic() at vpanic+0x17b
panic() at vprintf
snapacct() at fullacct
indiracct() at indiracct+0x1e2
indiracct() at indiracct+0x314
expunge() at expunge+0x331
ffs_snapshot() at ffs_snapshot+0x12fc
VFS_SNAPSHOT() at VFS_SNAPSHOT+0x25
fss_ioctl() at fss_ioctl+0x9fc
cdev_ioctl() at cdev_ioctl+0x9b
spec_ioctl() at spec_ioctl+0x59
VOP_IOCTL() at VOP_IOCTL+0x47
vn_ioctl() at vn_ioctl+0xaa
sys_ioctl() at sys_ioctl+0x4ca
syscall() at syscall+0x9a
--- syscall (number 54) ---
syscall+0x9a:
>How-To-Repeat:
Run "fssconfig fss0 / /snapshot/1.store" on a dirty fs.
>Fix:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.