Subject: kern/9500: panic in LFS
To: None <gnats-bugs@gnats.netbsd.org>
From: None <deberg@mit.edu>
List: netbsd-bugs
Date: 02/28/2000 08:06:43
>Number:         9500
>Category:       kern
>Synopsis:       panic in LFS
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 28 08:06:01 2000
>Last-Modified:
>Originator:     matt
>Organization:
matt debergalis <deberg@mit.edu> KB1CTH
finger deberg@ai.mit.edu for PGP key
>Release:        1.4T
>Environment:
	
System: NetBSD chamomile.deberg.org 1.4T NetBSD 1.4T (DEBERG) #11: Sat Feb 26 17:51:24 EST 2000 deberg@chamomile.deberg.org:/src/netbsd/src/sys/arch/i386/compile/DEBERG i386


>Description:
	lfs_cleanerd caused a panic this morning, unfortunately i lost
the coredump because after reboot i touched a file in the lfs partition,
and it crashed again.  i do have that dump (available if anyone wants to
poke at it):

panic: lfs_ifind: dinode %u not found
#0  0xc02939c0 in vm_rfc1048 ()
(gdb) bt
#0  0xc02939c0 in vm_rfc1048 ()
#1  0x6cfd000 in ?? ()
#2  0xc022d51f in cpu_reboot (howto=256, bootstr=0x0) at ../../../../arch/i386/i386/machdep.c:1091
#3  0xc01481d5 in panic () at ../../../../kern/subr_prf.c:216
#4  0xc020c827 in lfs_ifind (fs=0xc061ac00, ino=14160, bp=0xc2aabf8c) at ../../../../ufs/lfs/lfs_inode.c:116
#5  0xc021289d in lfs_vget (mp=0xc061c600, ino=14160, vpp=0xd35b6d98) at ../../../../ufs/lfs/lfs_vfsops.c:720
#6  0xc02159ba in ufs_lookup (v=0xd35b6e08) at ../../../../ufs/ufs/ufs_lookup.c:593
#7  0xc015efa3 in lookup (ndp=0xd35b6e98) at ../../../../sys/vnode_if.h:71
#8  0xc015ec97 in namei (ndp=0xd35b6e98) at ../../../../kern/vfs_lookup.c:153
#9  0xc0164be0 in sys___lstat13 (p=0xd35958cc, v=0xd35b6f88, retval=0xd35b6f80) at ../../../../kern/vfs_syscalls.c:1962
#10 0xc0232516 in syscall (frame={tf_es = 31, tf_ds = 31, tf_edi = 134539520, tf_esi = 134539596, tf_ebp = -1077946568, 
      tf_ebx = 1208840976, tf_edx = -1077946664, tf_ecx = 134529024, tf_eax = 280, tf_trapno = 3, tf_err = 2, 
      tf_eip = 1208758939, tf_cs = 23, tf_eflags = 582, tf_esp = -1077946696, tf_ss = 31, tf_vm86_es = 0, tf_vm86_ds = 0, 
      tf_vm86_fs = 0, tf_vm86_gs = 0}) at ../../../../arch/i386/i386/trap.c:760
#11 0xc0100d7d in syscall1 ()
can not access 0xbfbfd738, invalid translation (invalid PDE)
can not access 0xbfbfd738, invalid translation (invalid PDE)
Cannot access memory at address 0xbfbfd738.
(gdb) 

>How-To-Repeat:
	not sure, i've been using this partition as BSDOBJDIR for months
w/o a problem.
>Fix:
	
>Audit-Trail:
>Unformatted: