Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2006 14:01:44 -0300 (ADT)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        freebsd-stable@freebsd.org
Subject:   ufs_dirbad: bad dir
Message-ID:  <20060628140014.E1114@ganymede.hub.org>

next in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1979464340-1151514104=:1114
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE


haven't seen one of these in awhile ... June 15th kernel ...

Script started on Wed Jun 28 13:59:08 2006
You have mail.
pluto# kg=07db kernel.0 vmc=07ore.1
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so:=
 Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you ar=
e
welcome to change it and/or distribute copies of it under certain condition=
s.
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-marcel-freebsd".

Unread portion of the kernel message buffer:
/vm: bad dir ino 5936839 at offset 512: mangled entry
panic: ufs_dirbad: bad dir
cpuid =3D 0
Uptime: 25m2s
Dumping 4031 MB (2 chunks)
   chunk 0: 1MB (143 pages) ... ok
   chunk 1: 4031MB (1031920 pages) 4015 3999 3983 3967 3951 3935 3919 3903 =
3887 3871 3855 3839 3823 3807 3791 3775 3759 3743 3727 3711 3695 3679 3663 =
3647 3631 3615 3599 3583 3567 3551 3535 3519 3503 3487 3471 3455 3439 3423 =
3407 3391 3375 3359 3343 3327 3311 3295 3279 3263 3247 3231 3215 3199 3183 =
3167 3151 3135 3119 3103 3087 3071 3055 3039 3023 3007 2991 2975 2959 2943 =
2927 2911 2895 2879 2863 2847 2831 2815 2799 2783 2767 2751 2735 2719 2703 =
2687 2671 2655 2639 2623 2607 2591 2575 2559 2543 2527 2511 2495 2479 2463 =
2447 2431 2415 2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239 2223 =
2207 2191 2175 2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999 1983 =
1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 =
1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 =
1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 =
1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 =
1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 71=
9 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 4=
15 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 =
111 95 79 63 47 31 15

#0  doadump () at pcpu.h:165
165=09pcpu.h: No such file or directory.
 =09in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:165
#1  0xc049cb62 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:4=
09
#2  0xc049ce89 in panic (fmt=3D0xc060d59d "ufs_dirbad: bad dir") at /usr/sr=
c/sys/kern/kern_shutdown.c:565
#3  0xc0588f32 in ufs_dirbad (ip=3D0x0, offset=3D512, how=3D0xc060d557 "man=
gled entry") at /usr/src/sys/ufs/ufs/ufs_lookup.c:599
#4  0xc0588772 in ufs_lookup (ap=3D0xef0f9aa0) at /usr/src/sys/ufs/ufs/ufs_=
lookup.c:287
#5  0xc05ec7a8 in VOP_CACHEDLOOKUP_APV (vop=3D0x0, a=3D0x0) at vnode_if.c:1=
50
#6  0xc04e98fa in vfs_cache_lookup (ap=3D0x0) at vnode_if.h:82
#7  0xc05ec737 in VOP_LOOKUP_APV (vop=3D0xc0639360, a=3D0xef0f9b3c) at vnod=
e_if.c:99
#8  0xc04edf75 in lookup (ndp=3D0xef0f9c18) at vnode_if.h:56
#9  0xc04ed816 in namei (ndp=3D0xef0f9c18) at /usr/src/sys/kern/vfs_lookup.=
c:203
#10 0xc04fd920 in kern_rename (td=3D0xcb592a80, from=3D0x0, to=3D0x0, paths=
eg=3DUIO_USERSPACE) at /usr/src/sys/kern/vfs_syscalls.c:3237
#11 0xc04fd829 in rename (td=3D0xcb592a80, uap=3D0x0) at /usr/src/sys/kern/=
vfs_syscalls.c:3193
#12 0xc05dba67 in syscall (frame=3D
       {tf_fs =3D 59, tf_es =3D 59, tf_ds =3D 59, tf_edi =3D 134714120, tf_=
esi =3D 134690056, tf_ebp =3D -1077942136, tf_isp =3D -284189340, tf_ebx =
=3D 134690184, tf_edx =3D 134690077, tf_ecx =3D 134664804, tf_eax =3D 128, =
tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 673997415, tf_cs =3D 51, tf_efla=
gs =3D 642, tf_esp =3D -1077942292, tf_ss =3D 59}) at /usr/src/sys/i386/i38=
6/trap.c:981
#13 0xc05c90df in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s=
:200
#14 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) u =08 =08p 3
#3  0xc0588f32 in ufs_dirbad (ip=3D0x0, offset=3D512, how=3D0xc060d557 "man=
gled entry") at /usr/src/sys/ufs/ufs/ufs_lookup.c:599
599=09=09=09panic("ufs_dirbad: bad dir");
(kgdb) list
594=20
595=09=09mp =3D ITOV(ip)->v_mount;
596=09=09(void)printf("%s: bad dir ino %lu at offset %ld: %s\n",
597=09=09    mp->mnt_stat.f_mntonname, (u_long)ip->i_number, (long)offset, =
how);
598=09=09if ((mp->mnt_flag & MNT_RDONLY) =3D=3D 0)
599=09=09=09panic("ufs_dirbad: bad dir");
600=09}
601=20
602=09/*
603=09 * Do consistency checking on a directory entry:
(kgdb) quit
pluto# exit
exit

Script done on Wed Jun 28 13:59:31 2006
----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy@hub.org                              MSN . scrappy@hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
--0-1979464340-1151514104=:1114--



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