Subject: kern/20708: LFS panics easily when creating directories
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fvdl@netbsd.org>
List: netbsd-bugs
Date: 03/15/2003 02:05:19
>Number: 20708
>Category: kern
>Synopsis: LFS panics easily when creating directories
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 14 17:23:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Frank van der Linden
>Release: NetBSD 1.6P
>Organization:
I wish.
>Environment:
System: NetBSD k2 1.6P NetBSD 1.6P (K2) #0: Sat Mar 15 01:18:19 CET 2003 fvdl@k2:/work/trees/current/sys/arch/i386/compile/K2 i386
Architecture: i386
Machine: i386
>Description:
LFS is, after the latest round of changes, easily crashed by extracting
a large tarfile. Trace:
uvm_fault(0xc039ebe0, 0xc1b42000, 0, 2) -> e
kernel: page fault trap, code=0
Stopped in pid 498.1 (tar) at lfs_update_single+0x32b: movl %eax,0(%
edx,%ebx,4)
db{1}> t
lfs_update_single(c1783000,e4be5000,0,0,91) at lfs_update_single+0x32b
lfs_updatemeta(e4be5000,cab14c28,e4af4c0c,c01e36f8,c1980044) at lfs_updatemeta+0
x17a
lfs_gather(c1783000,e4be5000,e4be3988,c01e5428,e4be3988) at lfs_gather+0x11e
lfs_writefile(c1783000,e4be5000,e4be3988,c01e64a1,c1783000) at lfs_writefile+0x1
5f
lfs_writevnodes(c1783000,c195a000,e4be5000,1,c1783000) at lfs_writevnodes+0x136
lfs_segwrite(c195a000,0,c038c8c4,c024ae81,c195a000) at lfs_segwrite+0x12a
lfs_flush_fs(c1783000,0,10,c01dedb1,5f7) at lfs_flush_fs+0x7f
lfs_flush(c1783000,0,e4af4e2c,3e72766b,e4e9ec90) at lfs_flush+0xf2
lfs_check(e4e9df1c,ffffffff,ffffffff,0,c1783214) at lfs_check+0x21e
lfs_mkdir(e4af4e2c,3e72766b,e4af4e50,c0254583,0) at lfs_mkdir+0x12c
VOP_MKDIR(e4e9df1c,e4af4e94,e4af4ea8,e4af4ecc,e4e9df1c) at VOP_MKDIR+0x3b
sys_mkdir(e41e7900,e4af4f80,e4af4f78,c02924ef,e41e7900) at sys_mkdir+0x133
syscall_plain(1f,1f,806001f,bfbf001f,80812b7) at syscall_plain+0xc0
>How-To-Repeat:
cd /somelfs ; tar xf /foo/bar/pkgsrc.tar
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: