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# kgdb kernel.0 vmcore.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 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-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 = 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 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 
431 415 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     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:165
#1  0xc049cb62 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc049ce89 in panic (fmt=0xc060d59d "ufs_dirbad: bad dir") at 
/usr/src/sys/kern/kern_shutdown.c:565
#3  0xc0588f32 in ufs_dirbad (ip=0x0, offset=512, how=0xc060d557 "mangled 
entry") at /usr/src/sys/ufs/ufs/ufs_lookup.c:599
#4  0xc0588772 in ufs_lookup (ap=0xef0f9aa0) at 
/usr/src/sys/ufs/ufs/ufs_lookup.c:287
#5  0xc05ec7a8 in VOP_CACHEDLOOKUP_APV (vop=0x0, a=0x0) at vnode_if.c:150
#6  0xc04e98fa in vfs_cache_lookup (ap=0x0) at vnode_if.h:82
#7  0xc05ec737 in VOP_LOOKUP_APV (vop=0xc0639360, a=0xef0f9b3c) at vnode_if.c:99
#8  0xc04edf75 in lookup (ndp=0xef0f9c18) at vnode_if.h:56
#9  0xc04ed816 in namei (ndp=0xef0f9c18) at /usr/src/sys/kern/vfs_lookup.c:203
#10 0xc04fd920 in kern_rename (td=0xcb592a80, from=0x0, to=0x0, 
pathseg=UIO_USERSPACE) at /usr/src/sys/kern/vfs_syscalls.c:3237
#11 0xc04fd829 in rename (td=0xcb592a80, uap=0x0) at 
/usr/src/sys/kern/vfs_syscalls.c:3193
#12 0xc05dba67 in syscall (frame=
      {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 134714120, tf_esi = 
134690056, tf_ebp = -1077942136, tf_isp = -284189340, tf_ebx = 134690184, 
tf_edx = 134690077, tf_ecx = 134664804, tf_eax = 128, tf_trapno = 12, tf_err = 
2, tf_eip = 673997415, tf_cs = 51, tf_eflags = 642, tf_esp = -1077942292, tf_ss 
= 59}) at /usr/src/sys/i386/i386/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  p 3
#3  0xc0588f32 in ufs_dirbad (ip=0x0, offset=512, how=0xc060d557 "mangled 
entry") at /usr/src/sys/ufs/ufs/ufs_lookup.c:599
599                     panic("ufs_dirbad: bad dir");
(kgdb) list
594 595 mp = ITOV(ip)->v_mount;
596             (void)printf("%s: bad dir ino %lu at offset %ld: %s\n",
597                 mp->mnt_stat.f_mntonname, (u_long)ip->i_number, 
(long)offset, how);
598             if ((mp->mnt_flag & MNT_RDONLY) == 0)
599                     panic("ufs_dirbad: bad dir");
600     }
601 602 /*
603      * 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 . [EMAIL PROTECTED]                              MSN . [EMAIL PROTECTED]
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to