NetBSD Problem Report #61039

From www@netbsd.org  Sat Nov 21 20:07:55 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) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.netbsd.org", Issuer "YR1" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 760991A923D
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 21 Nov 2026 20:07:55 +0000 (UTC)
Message-Id: <20261121200753.ECD661A923E@mollari.NetBSD.org>
Date: Sat, 21 Nov 2026 20:07:53 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: dump with snapshot on lvm crashed
X-Send-Pr-Version: www-1.0
X-From4GNATS: "campbell+netbsd@mumble.net via gnats" <gnats-admin@NetBSD.org>

>Number:         61039
>Category:       kern
>Synopsis:       dump with snapshot on lvm crashed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 21 20:10:00 +0000 2026
>Last-Modified:  Sat Nov 21 20:15:43 +0000 2026
>Originator:     Taylor R Campbell
>Release:        NetBSD 10.1
>Organization:
The CrashBSDump Foundation, LVM
>Environment:
>Description:
[ 2590006.0788009] uvm_fault(0xffffffff80ba7140, 0xffffba00029ad000, 1) -> e
[ 2590006.0788009] fatal page fault in supervisor mode
[ 2590006.0788009] trap type 6 code 0 rip 0xffffffff806813bd cs 0xe030 rflags 0x10202 cr2 0xffffba00029ad000 ilevel 0 rsp 0xffffba007b0bea30
[ 2590006.0788009] curlwp 0xffffba0002bab8c0 pid 0.507 lowest kstack 0xffffba007b0ba2c0
kernel: page fault trap, code=0
Stopped in pid 0.507 (system) at        netbsd:fss_copy_on_write+0xbe:  movzbl  0(%rax,%rdi,1),%r13d
fss_copy_on_write() at netbsd:fss_copy_on_write+0xbe
fscow_run() at netbsd:fscow_run+0xd9
spec_strategy() at netbsd:spec_strategy+0x4c
VOP_STRATEGY() at netbsd:VOP_STRATEGY+0x36
dm_target_linear_strategy() at netbsd:dm_target_linear_strategy+0x1c
dmstrategy() at netbsd:dmstrategy+0x1da
bdev_strategy() at netbsd:bdev_strategy+0x7c
spec_strategy() at netbsd:spec_strategy+0x58
VOP_STRATEGY() at netbsd:VOP_STRATEGY+0x36
bwrite() at netbsd:bwrite+0x1a2
vn_bwrite() at netbsd:vn_bwrite+0xd
VOP_BWRITE() at netbsd:VOP_BWRITE+0x55
bawrite() at netbsd:bawrite+0x17
vflushbuf() at netbsd:vflushbuf+0xcb
ffs_vfs_fsync() at netbsd:ffs_vfs_fsync+0xe7
spec_fsync() at netbsd:spec_fsync+0x44
ffs_spec_fsync() at netbsd:ffs_spec_fsync+0x19
VOP_FSYNC() at netbsd:VOP_FSYNC+0x41
sched_sync() at netbsd:sched_sync+0x15b
ds          4
es          6800
fs          3380
gs          3448
rdi         1e000
rsi         ffffba000359f670
rbp         ffffba007b0beaa0
rbx         f0004
rdx         ffffba0002d3ef00
rcx         4
rax         ffffba000298f000
r8          0
r9          0
r10         0
r11         13a19c6d069b60
r12         ffffba0002b4dac8
r13         f0004
r14         ffffba0002b4dac0
r15         ffffba0002d3ef00
rip         ffffffff806813bd    fss_copy_on_write+0xbe
cs          e030
rflags      10202
rsp         ffffba007b0bea30
ss          e02b
netbsd:fss_copy_on_write+0xbe:  movzbl  0(%rax,%rdi,1),%r13d

>How-To-Repeat:
Not sure but maybe:

1. mount an ffs file system read/write from an lvm logical volume
2. dump the file system with a snapshot
>Fix:
Yes, please!

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.