Subject: kern/30328: LFS crash
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <juan@xtrarom.org>
List: netbsd-bugs
Date: 05/24/2005 22:46:00
>Number:         30328
>Category:       kern
>Synopsis:       LFS crash
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 24 22:46:00 +0000 2005
>Originator:     Juan RP
>Release:        NetBSD 3.99.5
>Organization:
>Environment:
System: NetBSD Nocturno 3.99.5 NetBSD 3.99.5 (Nocturno) #0: Tue May 24 16:58:23 CEST 2005 juan@Nocturno:/home/juan/build/obj/sys/arch/i386/compile/Nocturno i386
Architecture: i386
Machine: i386
>Description:

	One Xen VM just crashed while building packages:

db> bt
check_dirty(c09e5000,cc7a0358,0,0,ffffc000) at netbsd:check_dirty+0x2b9
lfs_putpages(caa4bdf4,cc7a0344,caa4be1c,c020c8fd,c032c9e0) at netbsd:lfs_putpage
s+0x4b8
VOP_PUTPAGES(cc7a0358,0,0,0,0) at netbsd:VOP_PUTPAGES+0x42
lfs_writefile(c09e5000,cae45018,cc7a0358,c0265dec,c1081fd4) at netbsd:lfs_writef
ile+0x2ee
lfs_writevnodes(c09e5000,c1082000,cae45018,0,10001) at netbsd:lfs_writevnodes+0x
111
lfs_segwrite(c1082000,20,0,c1082000,c1082000) at netbsd:lfs_segwrite+0x465
lfs_flush_fs(c09e5000,20,10,c029f424,c158b018) at netbsd:lfs_flush_fs+0x4c
lfs_flush(0,20,0,a,c0353c7c) at netbsd:lfs_flush+0x138
lfs_writerd(ca0eb528,41a000,c0424000,0,c010017a) at netbsd:lfs_writerd+0x110
db>

     $NetBSD: lfs_alloc.c,v 1.82 2005/04/19 20:59:05 perseant Exp $
     $NetBSD: lfs_balloc.c,v 1.56 2005/04/19 20:59:05 perseant Exp $
     $NetBSD: lfs_bio.c,v 1.85 2005/04/23 19:47:51 perseant Exp $
     $NetBSD: lfs_cksum.c,v 1.25 2005/02/26 22:32:20 perry Exp $
     $NetBSD: lfs_inode.c,v 1.95 2005/04/23 19:47:51 perseant Exp $
     $NetBSD: lfs_segment.c,v 1.163 2005/04/23 19:47:51 perseant Exp $
     $NetBSD: lfs_subr.c,v 1.52 2005/04/16 17:28:37 perseant Exp $
     $NetBSD: lfs_syscalls.c,v 1.106 2005/05/20 19:48:25 perseant Exp $
     $NetBSD: lfs_vfsops.c,v 1.180 2005/05/20 19:48:25 perseant Exp $
     $NetBSD: lfs_vnops.c,v 1.151 2005/05/20 19:09:25 perseant Exp $

	The userland is 2 weeks old (more or less).

>How-To-Repeat:
>Fix: