Subject: kern/5022: NetBSD-1.3C/i386 (with UVM, new pmap, diskless) panic: bad dir
To: None <gnats-bugs@gnats.netbsd.org>
From: None <giles@nemeton.com.au>
List: netbsd-bugs
Date: 02/20/1998 09:41:28
>Number:         5022
>Category:       kern
>Synopsis:       NetBSD-1.3C/i386 (with UVM, new pmap, diskless) panic: bad dir
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 19 14:50:01 1998
>Last-Modified:
>Originator:     Giles Lean
>Organization:
Giles Lean               <giles@nemeton.com.au>             +61 3 9480 2118
Nemeton Pty. Ltd.                                       fax +61 3 9480 1771
PGP Fingerprint (DA68EE41) 9F FB 28 37 81 F2 AC F3  8A B0 37 E5 73 CF 39 E7
>Release:        -current Feb 18 1998
>Environment:
	<machine, os, target, libraries (multiple lines)>
System: NetBSD topaz.nemeton.com.au 1.3C NetBSD 1.3C (TOPAZ) #0: Wed Feb 18 21:16:34 EST 1998 giles@topaz.nemeton.com.au:/b/NetBSD/current-build/src/sys/arch/i386/compile/TOPAZ i386


>Description:
	This panic has occured a couple of times.  I have the core file
	if anyone wants/needs more information.

	I was running X, emacs, Netscape (FreeBSD emulation) at the time.
	The machine is diskless.

panic: bad dir
#0  0xf050d100 in ?? ()
(gdb) bt
#0  0xf050d100 in ?? ()
#1  0x1b68000 in ?? ()
#2  0xf01b55a3 in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:1288
#3  0xf0121310 in log (level=-266733835, fmt=0xf415c000 "")
    at ../../../../kern/subr_prf.c:184
#4  0xf019f737 in ufs_dirbad (ip=0xf04a0500, offset=0, 
    how=0xf019e998 "mangled entry") at ../../../../ufs/ufs/ufs_lookup.c:626
#5  0xf019eebd in ufs_lookup (v=0xf48cde40)
    at ../../../../ufs/ufs/ufs_lookup.c:279
#6  0xf0135cd2 in lookup (ndp=0xf48cdef8) at ../../../../sys/vnode_if.h:71
#7  0xf0135806 in namei (ndp=0xf48cdef8) at ../../../../kern/vfs_lookup.c:151
#8  0xf0139d0d in sys_unlink (p=0xf0462800, v=0xf48cdf88, retval=0xf48cdf80)
    at ../../../../kern/vfs_syscalls.c:1133
#9  0xf01bbbc8 in syscall (frame={tf_es = 43, tf_ds = 43, tf_edi = 6025564, 
      tf_esi = 2337392, tf_ebp = -272639924, tf_ebx = -272640948, tf_edx = 13, 
      tf_ecx = -272641068, tf_eax = 10, tf_trapno = 3, tf_err = 2, 
      tf_eip = 1076191059, tf_cs = 35, tf_eflags = 12870, tf_esp = -272640980, 
      tf_ss = 43, tf_vm86_es = 0, tf_vm86_ds = 0, tf_vm86_fs = 0, 
      tf_vm86_gs = 0}) at ../../../../arch/i386/i386/trap.c:717
(gdb) quit
>How-To-Repeat:
	<code/input/activities to reproduce the problem (multiple lines)>
>Fix:
	<how to correct or work around the problem, if known (multiple lines)>
>Audit-Trail:
>Unformatted: