kern/51585:
scrappy at hub.org
scrappy at hub.org
Tue Apr 29 07:20:19 PDT 2003
>Number: 51585
>Category: kern
>Synopsis:
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 29 07:20:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Marc G. Fournier
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Hub.Org Networking Services
>Environment:
System: FreeBSD venus.hub.org 4.8-STABLE FreeBSD 4.8-STABLE #4: Fri Apr 11 14:58:21 EDT 2003 root at venus.hub.org:/usr/obj/usr/src/sys/kernel i386
>Description:
(kgdb) up 3
#3 0x801ee8f2 in ufs_dirbad (ip=0x8830cb00, offset=29, how=0x8025bf70 "mangled entry") at /usr/src/sys/ufs/ufs/ufs_lookup.c:641
641 panic("ufs_dirbad: bad dir");
(kgdb) list
636
637 mp = ITOV(ip)->v_mount;
638 (void)printf("%s: bad dir ino %lu at offset %ld: %s\n",
639 mp->mnt_stat.f_mntonname, (u_long)ip->i_number, (long)offset, how);
640 if ((mp->mnt_flag & MNT_RDONLY) == 0)
641 panic("ufs_dirbad: bad dir");
642 }
643
644 /*
645 * Do consistency checking on a directory entry:
(kgdb) print *mp
$1 = {mnt_list = {tqe_next = 0x864b7e00, tqe_prev = 0x80279da8}, mnt_op = 0x80280220, mnt_vfc = 0x80280260, mnt_vnodecovered = 0x0,
mnt_syncer = 0xb516a480, mnt_nvnodelist = {tqh_first = 0xb516be00, tqh_last = 0xb9138fe4}, mnt_lock = {lk_interlock = {lock_data = 0},
lk_flags = 16777216, lk_sharecount = 0, lk_waitcount = 0, lk_exclusivecount = 0, lk_prio = 20, lk_wmesg = 0x802519a2 "vfslock",
lk_timo = 6, lk_lockholder = -1}, mnt_flag = 20480, mnt_kern_flag = 0, mnt_maxsymlinklen = 60, mnt_stat = {f_spare2 = 0,
f_bsize = 2048, f_iosize = 16384, f_blocks = 49824021, f_bfree = 6345901, f_bavail = 2359980, f_files = 12525566, f_ffree = 7238797,
f_fsid = {val = {1047069831, 1526014709}}, f_owner = 0, f_type = 1, f_flags = 20480, f_syncwrites = 22799, f_asyncwrites = 145277,
f_fstypename = "ufs", '\000' <repeats 12 times>, f_mntonname = "/", '\000' <repeats 78 times>, f_syncreads = 164980,
f_asyncreads = 12518, f_spares1 = 0, f_mntfromname = "/dev/da0s1a", '\000' <repeats 68 times>, f_spares2 = 0, f_spare = {0, 0}},
mnt_data = 0x864b7800, mnt_time = 1050433524, mnt_iosize_max = 65536, mnt_reservedvnlist = {tqh_first = 0x0, tqh_last = 0x864a0558},
mnt_nvnodelistsize = 53553}
(kgdb) quit
venus# exit
exit
>How-To-Repeat:
operator ran a 'grep -r' on a directory structure to try and find some
information
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list