Subject: kern/9232: lfs panics on make obj
To: None <gnats-bugs@gnats.netbsd.org>
From: matt debergalis <deberg@mit.edu>
List: netbsd-bugs
Date: 01/18/2000 19:24:42
>Number:         9232
>Category:       kern
>Synopsis:       lfs panics on make obj
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 18 19:24:00 2000
>Last-Modified:
>Originator:     matt debergalis
>Organization:
matt debergalis <deberg@mit.edu> KB1CTH
finger deberg@ai.mit.edu for PGP key
>Release:        1.4P 18 jan 2000
>Environment:
System: NetBSD catfoo.deberg.org 1.4P NetBSD 1.4P (CATFOO) #14: Fri Jan 7 12:16:58 EST 2000 deberg@catfoo.deberg.org:/src/netbsd/src/sys/arch/i386/compile/CATFOO i386


>Description:
	with the latest lfs changes, newfs_lfs a /obj partition, mount
	it, and run make obj which creates a directory hierarchy under
	/obj.  kernel panics.  i don't have a tracedump from that, but
	can reproduce this consistently.  reboot, mount /obj again, and
	immediate panic:

partial handcopied trace is below, i have the complete crashdump if it's
useful.

[chamomile!ROOT]# mount -t lfs /dev/sd1e /obj
offset is 822 (seg 0)
block is 5 (seg 2097151)
panic: lfs_ifind: dinode 2 not found
Stopped in lfs_cleanerd at     cpu_Debugger+0x4:	leave
db> trace
cpu_Debugger(800,5,2,fcba0ddc,f020727f) at cpu_Debugger+0x4
panic(f028db40,2,f028db17,5,1fffff) at panic+0x55
lfs_ifind(f0685000,2,f10248e0,f065c200,0) at lfs_ifind+0x97
lfs_vget(f065c200,2,fcba0e24,0,fcba0e78) at lfs_vget+0x18d
ufs_root...
lookup...
namei...
sys_statfs
syscall 157

>How-To-Repeat:
>Fix:
	no clue
>Audit-Trail:
>Unformatted: