Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2004 08:43:14 +0100
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        Xin LI <delphij@frontfree.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: panic in ffs_blkfree on 4-STABLE
Message-ID:  <200411260843.15373.michaelnottebrock@gmx.net>
In-Reply-To: <20041126072531.GA773@frontfree.net>
References:  <200411260600.46989.michaelnottebrock@gmx.net> <20041126072531.GA773@frontfree.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday, 26. November 2004 08:25, Xin LI wrote:
> On Fri, Nov 26, 2004 at 06:00:43AM +0100, Michael Nottebrock wrote:
> > This came out of thin air, I have no idea what caused it and how to
> > reproduce it, but I had crash dumps enabled, so here goes... Could this
> > be a sign of a hdd going bad?
>
> It's possible.  Will you please post the output of ``bt full''?  I think
> that would be helpful for us to determine whether there's other issues.

Sure, here goes:

#0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
        error = 0
#1  0xc0256e1f in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:316
        howto = 260
#2  0xc0257244 in poweroff_wait (junk=0xc044bad5, howto=-1069237600) 
at /usr/src/sys/kern/kern_shutdown.c:595
        fmt = 0xc044bad5 "ffs_blkfree: bad size"
        bootopt = 260
        buf = "ffs_blkfree: bad size", '\000' <repeats 234 times>
#3  0xc035a83f in ffs_blkfree (ip=0xe1236bec, bno=828410013, size=16384) 
at /usr/src/sys/ufs/ffs/ffs_alloc.c:1421
        size = -1069237547
        fs = (struct fs *) 0x104
        cgp = (struct cg *) 0xc3417600
        bp = (struct buf *) 0x1000000
        blkno = 828410013
        i = 828410013
        error = 0
        cg = 0
        blk = 0
        frags = 0
        bbase = 828410013
        blksfree = (u_int8_t *) 0xe1236bec "(m#á\001"
#4  0xc035f084 in handle_workitem_freeblocks (freeblks=0xc3b39a00) 
at /usr/src/sys/ufs/ffs/ffs_softdep.c:2136
        tip = {i_lock = {lk_interlock = {lock_data = -517771992}, lk_flags = 
1, lk_sharecount = -1068600342, lk_waitcount = 0, lk_exclusivecount = 3840, 
lk_prio = 0,
    lk_wmesg = 0xe1236c1c "`\027NÀ", lk_timo = -517772264, lk_lockholder = 
-1068624192}, i_hash = {le_next = 0xe1236c24, le_prev = 0xc03bcd23}, i_vnode 
= 0xe1236c20,
  i_devvp = 0xe1229b40, i_flag = 3226343264, i_dev = 0xc364d500, i_number = 
406476, i_effnlink = -1068624032, inode_u = {fs = 0xc36db000, e2fs = 
0xc36db000}, i_dquot = {
    0xe1236c43, 0x1}, i_modrev = 32, i_lockf = 0x20a40000, i_count = 
-517772200, i_endoff = -1071185206, i_diroff = -1068708288, i_offset = 32, 
i_ino = 5,
  i_reclen = 3777195120, i_spare = {3223729020, 32, 1}, i_dirhash = 
0xe1236cc4, i_din = {di_mode = 32, di_nlink = 0, di_u = {oldids = {27912, 
57635}, inumber = -517772024},
    di_size = 157173564246082108, di_atime = -517771992, di_atimensec = 1, 
di_mtime = 0, di_mtimensec = 0, di_ctime = 1, di_ctimensec = 2, di_db = 
{540965770, 0, 0, 0, 0, 0, 0,
      0, 0, 2, -517772476, 1}, di_ib = {-517787136, -601006656, -517772036}, 
di_flags = 3777195240, di_blocks = -1071342436, di_gen = 0, di_uid = 
2528546864,
    di_gid = 3224751978, di_spare = {0, -517772012}}}
        bn = 828410013
        fs = (struct fs *) 0xc36db000
        i = -517772308
        level = 2
        bsize = 2
        nblocks = 32
        blocksreleased = 0
        error = 0
        baselbns = {12, 4108, 16781324}
        tmpval = 0
#5  0xc035d577 in process_worklist_item (matchmnt=0x0, flags=0) 
at /usr/src/sys/ufs/ffs/ffs_softdep.c:723
        flags = 0
        wk = (struct worklist *) 0xc3b39a00
        matchfs = (struct fs *) 0x0
        vp = (struct vnode *) 0x0
        matchcnt = 0
#6  0xc035d40a in softdep_process_worklist (matchmnt=0x0) 
at /usr/src/sys/ufs/ffs/ffs_softdep.c:622
        matchmnt = (struct mount *) 0x0
        p = (struct proc *) 0xdc2d5dc0
        matchcnt = 0
        loopcount = 2
        starttime = 1101442862
#7  0xc0256c7d in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:261
        bp = (struct buf *) 0xcfc971d4
        iter = 6
        nbusy = 2
        pbusy = 2
        howto = 256
#8  0xc0257244 in poweroff_wait (junk=0xc044bad5, howto=-1069237600) 
at /usr/src/sys/kern/kern_shutdown.c:595
        fmt = 0xc044bad5 "ffs_blkfree: bad size"
        bootopt = 256
        buf = "ffs_blkfree: bad size", '\000' <repeats 234 times>
---Type <return> to continue, or q <return> to quit---
#9  0xc035a83f in ffs_blkfree (ip=0xe1236e0c, bno=555810946, size=16384) 
at /usr/src/sys/ufs/ffs/ffs_alloc.c:1421
        size = -1069237547
        fs = (struct fs *) 0x100
        cgp = (struct cg *) 0x0
        bp = (struct buf *) 0x1000000
        blkno = 555810946
        i = 555810946
        error = 0
        cg = 0
        blk = 0
        frags = 0
        bbase = 555810946
        blksfree = (u_int8_t *) 0xe1236e0c ""
#10 0xc035f084 in handle_workitem_freeblocks (freeblks=0xc3e07e00) 
at /usr/src/sys/ufs/ffs/ffs_softdep.c:2136
        tip = {i_lock = {lk_interlock = {lock_data = 0}, lk_flags = 
3223874976, lk_sharecount = 0, lk_waitcount = -476676736, lk_exclusivecount = 
28256, lk_prio = -7901,
    lk_wmesg = 0xc02861d8 "ÇCt", lk_timo = -476676736, lk_lockholder = 
-476676736}, i_hash = {le_next = 0xc4a34400, le_prev = 0xdc2d5dc0}, i_vnode = 
0xc046e9c0,
  i_devvp = 0xe1229b40, i_flag = 3225871552, i_dev = 0xc364d500, i_number = 
406477, i_effnlink = -601006656, inode_u = {fs = 0xc36db000, e2fs = 
0xc36db000}, i_dquot = {
    0xc046e500, 0xe3967d80}, i_modrev = 15865440141511294983, i_lockf = 
0xe3967d80, i_count = -517771656, i_endoff = -1071095096, i_diroff = 
-1071094885, i_offset = 0,
  i_ino = 3818290560, i_reclen = 3777195656, i_spare = {3223872105, 
3818290560, 3693960640}, i_dirhash = 0xe1236ebc, i_din = {di_mode = 29051, 
di_nlink = -16330, di_u = {
      oldids = {32128, 58262}, inumber = -476676736}, di_size = 
7304707460983419499, di_atime = -476676736, di_atimensec = -1003747520, 
di_mtime = -601006656, di_mtimensec = 0,
    di_ctime = -1069095616, di_ctimensec = -1071306595, di_db = {0, 0, 
-1003747520, -601006656, 0, 32, -1003747520, -517771552, -1070214523, 
-1003747520, -517771932,
      -517771508}, di_ib = {-1070203142, -1003747520, 12}, di_flags = 
3818290560, di_blocks = -1068862980, di_gen = -1003747520, di_uid = 
200917441, di_gid = 3224751978,
    di_spare = {0, -517771468}}}
        bn = 555810946
        fs = (struct fs *) 0xc36db000
        i = -517771764
        level = 2
        bsize = 2
        nblocks = 32
        blocksreleased = 0
        error = 0
        baselbns = {12, 4108, 16781324}
        tmpval = 0
#11 0xc035d577 in process_worklist_item (matchmnt=0x0, flags=0) 
at /usr/src/sys/ufs/ffs/ffs_softdep.c:723
        flags = 0
        wk = (struct worklist *) 0xc3e07e00
        matchfs = (struct fs *) 0x0
        vp = (struct vnode *) 0x0
        matchcnt = 0
#12 0xc035d40a in softdep_process_worklist (matchmnt=0x0) 
at /usr/src/sys/ufs/ffs/ffs_softdep.c:622
        matchmnt = (struct mount *) 0x0
        p = (struct proc *) 0xdc2d5dc0
        matchcnt = 0
        loopcount = 116
        starttime = 1101442860
#13 0xc02856e7 in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1198
        slp = (struct synclist *) 0xc3468e88
        vp = (struct vnode *) 0x0
        starttime = 1101442859
        s = 0
        p = (struct proc *) 0xdc2d5dc0

-- 
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org



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