Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Aug 2002 13:01:57 +0100
From:      =?iso-8859-1?B?U3RlZmFuIEty/Gdlcg== ?= <skrueger@europe.com>
To:        freebsd-hackers@FreeBSD.org
Subject:   FreeBSD-4.6.2 panic: ufs_dirbad: bad dir
Message-ID:  <20020829120157.94447.qmail@mail.com>

next in thread | raw e-mail | index | archive | help
Hi folks,

this happend yesterday,
I still have the crashdump + kernel.debug,
if you want me to do something with it...

I executed /usr/ports/Tools/scripts/distclean.sh at that time. (with sudo)

Just before a startx failed with a Sig 11...
(started as a plain user)

(my X is a bit unstable, don't know why,
but several wm's don't start properly
[they were in the state STOP when I top(1)'ed them],
this happend a while back too with windowmaker, but after using
LC_ALL; LANG en_US.ISO8859-1 instead of en_US.ISO8859-15
this issue was resolved for me...; very strange...)

uname -a:
FreeBSD localhost.my.domain 4.6.2-RELEASE
FreeBSD 4.6.2-RELEASE #0: Wed Aug 28 11:48:45 CEST 2002    root@localhost.my.domain:/usr/src/sys/compile/CALLISTO  i386

Here's the gdb output

Hope that helps

Script started on Wed Aug 28 11:55:11 2002
# gdb -k kernel.debug vmcore.0
GNU gdb 4.18 (FreeBSD)
[...]
This GDB was configured as "i386-unknown-freebsd"...
IdlePTD at phsyical address 0x0036d000
initial pcb at physical address 0x002659a0
panicstr: ufs_dirbad: bad dir
panic messages:
---
panic: ufs_dirbad: bad dir

syncing disks... 67 38 16 4 3 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
giving up on 1 buffers
Uptime: 1h56m6s

dumping to dev #ad/0x30001, offset 262176
dump ata0: resetting devices ..
ad1: DMA limited to UDMA33, non-ATA66 cable or device
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:487
487             if (dumping++) {
(kgdb) where
#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc014f98f in boot (howto=256) at ../../kern/kern_shutdown.c:316
#2  0xc014fdb4 in poweroff_wait (junk=0xc023a407, howto=-1016360960)
    at ../../kern/kern_shutdown.c:595
#3  0xc01d8e3a in ufs_dirbad (ip=0xc101b700, offset=0,
    how=0xc023a3b0 "mangled entry") at ../../ufs/ufs/ufs_lookup.c:641
#4  0xc01d8655 in ufs_lookup (ap=0xcf542d18) at ../../ufs/ufs/ufs_lookup.c:291
#5  0xc01dd6c5 in ufs_vnoperate (ap=0xcf542d18)
    at ../../ufs/ufs/ufs_vnops.c:2422
#6  0xc01782a2 in vfs_cache_lookup (ap=0xcf542d70) at vnode_if.h:77
#7  0xc01dd6c5 in ufs_vnoperate (ap=0xcf542d70)
    at ../../ufs/ufs/ufs_vnops.c:2422
#8  0xc017b129 in lookup (ndp=0xcf542ec8) at vnode_if.h:52
#9  0xc017ac1c in namei (ndp=0xcf542ec8) at ../../kern/vfs_lookup.c:153
#10 0xc0183577 in vn_open (ndp=0xcf542ec8, fmode=1, cmode=0)
    at ../../kern/vfs_vnops.c:138
#11 0xc017f69c in open (p=0xc7bf1ee0, uap=0xcf542f80)
    at ../../kern/vfs_syscalls.c:1028
#12 0xc020eab9 in syscall2 (frame={tf_fs = 47, tf_es = 47,
  tf_ds = 47, tf_edi = 134562341, tf_esi = -1077985275,
  tf_ebp = -1078005156, tf_isp = -816566316,
  tf_ebx = -1077985276, tf_edx = 363, tf_ecx = 1,
  tf_eax = 5, tf_trapno = 7, tf_err = 2, tf_eip = 134529992,
  tf_cs = 31, tf_eflags = 647, tf_esp = -1078005200, tf_ss = 47})
    at ../../i386/i386/trap.c:1167
#13 0xc0202645 in Xint0x80_syscall ()
#14 0x804830f in ?? ()
#15 0x8048135 in ?? ()
(kgdb) bt
#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc014f98f in boot (howto=256) at ../../kern/kern_shutdown.c:316
#2  0xc014fdb4 in poweroff_wait (junk=0xc023a407, howto=-1016360960)
    at ../../kern/kern_shutdown.c:595
#3  0xc01d8e3a in ufs_dirbad (ip=0xc101b700, offset=0,
    how=0xc023a3b0 "mangled entry") at ../../ufs/ufs/ufs_lookup.c:641
#4  0xc01d8655 in ufs_lookup (ap=0xcf542d18) at ../../ufs/ufs/ufs_lookup.c:291
#5  0xc01dd6c5 in ufs_vnoperate (ap=0xcf542d18)
    at ../../ufs/ufs/ufs_vnops.c:2422
#6  0xc01782a2 in vfs_cache_lookup (ap=0xcf542d70) at vnode_if.h:77
#7  0xc01dd6c5 in ufs_vnoperate (ap=0xcf542d70)
    at ../../ufs/ufs/ufs_vnops.c:2422
#8  0xc017b129 in lookup (ndp=0xcf542ec8) at vnode_if.h:52
#9  0xc017ac1c in namei (ndp=0xcf542ec8) at ../../kern/vfs_lookup.c:153
#10 0xc0183577 in vn_open (ndp=0xcf542ec8, fmode=1, cmode=0)
    at ../../kern/vfs_vnops.c:138
#11 0xc017f69c in open (p=0xc7bf1ee0, uap=0xcf542f80)
    at ../../kern/vfs_syscalls.c:1028
#12 0xc020eab9 in syscall2 (frame={tf_fs = 47, tf_es = 47,
  tf_ds = 47, tf_edi = 134562341, tf_esi = -1077985275,
  tf_ebp = -1078005156, tf_isp = -816566316, tf_ebx = -1077985276,
  tf_edx = 363, tf_ecx = 1, tf_eax = 5, tf_trapno = 7, tf_err = 2,
  tf_eip = 134529992, tf_cs = 31, tf_eflags = 647,
  tf_esp = -1078005200, tf_ss = 47})
    at ../../i386/i386/trap.c:1167
#13 0xc0202645 in Xint0x80_syscall ()
#14 0x804830f in ?? ()
#15 0x8048135 in ?? ()
(kgdb) quit
# exit
exit

Script done on Wed Aug 28 11:55:44 2002
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020829120157.94447.qmail>