panic: ufs_dirbad: bad dir

2002-09-10 Thread Kris Kennaway

I got this on the bento cluster this morning (-current from about 2 days ago):

/x: bad dir ino 3180135 at offset 0: mangled entry
panic: ufs_dirbad: bad dir
Debugger("panic")
Stopped at  Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c03f45bc,c0473f80,c040e087,ceac4974,) at Debugger+0x54
panic(c040e087,c25f9aac,308667,0,c040e02c) at panic+0x90
ufs_dirbad(c44b7100,0,c040e02c,0,ceac49f4) at ufs_dirbad+0x52
ufs_lookup(ceac4b20,ceac4b5c,c0286539,ceac4b20,ceac4c98) at ufs_lookup+0x317
ufs_vnoperate(ceac4b20,ceac4c98,ceac4cac,c040dfa0,52) at ufs_vnoperate+0x18
vfs_cache_lookup(ceac4bd0,ceac4bfc,c028aa22,ceac4bd0,c3d9dc00) at 
vfs_cache_lookup+0x3b9
ufs_vnoperate(ceac4bd0,c3d9dc00,0,c3d9dc00,c3d9dc00) at ufs_vnoperate+0x18
lookup(ceac4c84,0,c03fb880,a4,c3d9dc00) at lookup+0x302
namei(ceac4c84,c043c600,c03f80e0,bfbffb3e,0) at namei+0x24e
unmount(c3d9dc00,ceac4d10,c041a960,418,2) at unmount+0x3d
syscall(2f,2f,2f,8099291,80b5005) at syscall+0x2c4
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (22, FreeBSD ELF32, unmount), eip = 0x804aea3, esp = 0xbfbff46c, ebp = 
0xbfbff4e8 ---

An earlier console message which may be important:

ad0: READ command timeout tag=0 serv=0 - resetting
ata0: resetting devices ..
done

Any ideas?

Kris



msg42848/pgp0.pgp
Description: PGP signature


panic: ufs_dirbad: bad dir

2002-01-24 Thread Kris Kennaway

Is anyone else seeing this?

Kris

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x004c7000
initial pcb at physical address 0x003f83a0
panicstr: from debugger
panic messages:
---
panic: ufs_dirbad: bad dir
panic: from debugger
Uptime: 23h58m10s

dumping to dev ad0s1b, offset 262272
dump ata0: resetting devices .. done
127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 
106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 
80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 
51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 
22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  dumpsys () at ../../../kern/kern_shutdown.c:504
504 if (!dodump)
(kgdb) bt
#0  dumpsys () at ../../../kern/kern_shutdown.c:504
#1  0xc01f9a6f in boot (howto=260) at ../../../kern/kern_shutdown.c:336
#2  0xc01f9ef9 in panic (fmt=0xc03431ea "from debugger")
at ../../../kern/kern_shutdown.c:646
#3  0xc015ac35 in db_panic (addr=-1070514536, have_addr=0, count=-1, 
modif=0xcee52930 "") at ../../../ddb/db_command.c:452
#4  0xc015abd3 in db_command (last_cmdp=0xc0398a04, cmd_table=0xc0398824, 
aux_cmd_tablep=0xc038ec4c, aux_cmd_tablep_end=0xc038ec50)
at ../../../ddb/db_command.c:348
#5  0xc015ac9f in db_command_loop () at ../../../ddb/db_command.c:474
#6  0xc015d01f in db_trap (type=3, code=0) at ../../../ddb/db_trap.c:72
#7  0xc0313c26 in kdb_trap (type=3, code=0, regs=0xcee52a30)
at ../../../i386/i386/db_interface.c:167
#8  0xc03202f8 in trap (frame={tf_fs = 24, tf_es = 16, tf_ds = 16, 
  tf_edi = -819039872, tf_esi = 256, tf_ebp = -823842180, 
  tf_isp = -823842212, tf_ebx = 514, tf_edx = -1072984320, tf_ecx = 32, 
  tf_eax = 18, tf_trapno = 3, tf_err = 0, tf_eip = -1070514536, tf_cs = 8, 
  tf_eflags = 70, tf_esp = -1070050049, tf_ss = -1070215717})
at ../../../i386/i386/trap.c:585
#9  0xc0313e98 in Debugger (msg=0xc035cddb "panic") at machine/cpufunc.h:66
#10 0xc01f9ee4 in panic (fmt=0xc037c027 "ufs_dirbad: bad dir")
at ../../../kern/kern_shutdown.c:633
#11 0xc02df44e in ufs_dirbad (ip=0xc2475900, offset=0, 
how=0xc037bfcf "mangled entry") at ../../../ufs/ufs/ufs_lookup.c:643
---Type  to continue, or q  to quit---
#12 0xc02dec68 in ufs_lookup (ap=0xcee52b68)
at ../../../ufs/ufs/ufs_lookup.c:294
#13 0xc02e3fcd in ufs_vnoperate (ap=0xcee52b68)
at ../../../ufs/ufs/ufs_vnops.c:2657
#14 0xc022eb62 in vfs_cache_lookup (ap=0xcee52bc0) at vnode_if.h:66

#15 0xc02e3fcd in ufs_vnoperate (ap=0xcee52bc0)
at ../../../ufs/ufs/ufs_vnops.c:2657
#16 0xc0232495 in lookup (ndp=0xcee52c40) at vnode_if.h:45
#17 0xc0231f84 in namei (ndp=0xcee52c40) at ../../../kern/vfs_lookup.c:171

#18 0xc0239529 in lstat (td=0xcee2ad04, uap=0xcee52d20)
at ../../../kern/vfs_syscalls.c:2069

#19 0xc0320c2b in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, 
  tf_edi = 134574080, tf_esi = 134574272, tf_ebp = -1077937428, 
  tf_isp = -823841420, tf_ebx = 672200872, tf_edx = 134557696, tf_ecx = 0, 
  tf_eax = 190, tf_trapno = 0, tf_err = 2, tf_eip = 671799847, tf_cs = 31, 
  tf_eflags = 647, tf_esp = -1077937568, tf_ss = 47})
at ../../../i386/i386/trap.c:1034
#20 0xc0314b7d in syscall_with_err_pushed ()
#21 0x280a9e01 in ?? ()
#22 0x280a968a in ?? ()
#23 0x8049732 in ?? ()
#24 0x804b6f0 in ?? ()
#25 0x80493c1 in ?? ()
(kgdb)



msg33845/pgp0.pgp
Description: PGP signature