Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 01:57:20 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        <current@freebsd.org>
Subject:   Softupdate panic: softdep_update_inodeblock: update failed
Message-ID:  <20020912014843.R50626-100000@levais.imp.ch>

next in thread | raw e-mail | index | archive | help

I just got thisone ... This is CURRENT from 2 hours ago.

Dammnit. Is this mem corruption ?

#10 0xc01edb18 in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:479
#11 0xc02b3539 in softdep_update_inodeblock (ip=0xce432300, bp=0xd878cc84,
    waitfor=0) at /usr/src/sys/ufs/ffs/ffs_softdep.c:4672
#12 0xc02a7648 in ffs_update (vp=0xcedaede0, waitfor=0)
    at /usr/src/sys/ufs/ffs/ffs_inode.c:109
#13 0xc02bce8c in ufs_inactive (ap=0x0) at /usr/src/sys/ufs/ufs/ufs_inode.c:121
#14 0xc02c354b in ufs_vnoperate (ap=0x0)
    at /usr/src/sys/ufs/ufs/ufs_vnops.c:2724
#15 0xc02322ed in vrele (vp=0xcedaede0) at vnode_if.h:906
#16 0xc023af4d in vn_close (vp=0xcedaede0, flags=0, file_cred=0x0, td=0x0)
    at /usr/src/sys/kern/vfs_vnops.c:319
#17 0xc023bc62 in vn_closefile (fp=0x0, td=0xcc383e40)
    at /usr/src/sys/kern/vfs_vnops.c:884
#18 0xc01d49db in fdrop_locked (fp=0xcc361ca8, td=0xcc383e40) at file.h:256
#19 0xc01d46f5 in fdrop (fp=0xcc361ca8, td=0xcc383e40)
    at /usr/src/sys/kern/kern_descrip.c:1637
#20 0xc01d46ab in closef (fp=0xcc361ca8, td=0xcc3
    at /usr/src/sys/kern/kern_descrip.c:1623
#21 0xc01d309b in close (td=0xcc383e40, uap=0x0)
    at /usr/src/sys/kern/kern_descrip.c:832
#22 0xc03008b4 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 672319120, tf_eb
p = -1077943144, tf_isp = -391561868, tf_ebx = 672240892, tf_edx = 24, tf_ecx =
0, tf_eax = 6, tf_trapno = 12, tf_err = 2, tf_eip = 671844223, tf_cs = 31, tf_ef
lags = 518, tf_esp = -1077943172, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1050
#23 0xc02f36cd in Xint0x80_syscall () at {standard input}:140

(kgdb) list
4667            FREE_LOCK(&lk);
4668            if (gotit &&
4669                (error = BUF_WRITE(inodedep->id_buf)) != 0)
4670                    softdep_error("softdep_update_inodeblock: bwrite", error
);
4671            if ((inodedep->id_state & DEPCOMPLETE) == 0)
4672                    panic("softdep_update_inodeblock: update failed");
4673    }
4674
4675    /*
4676     * Merge the a new inode dependency list (such as id_newinoupdt) into an

(kgdb) p inodedep->id_state
There is no member named id_state.

type = struct inodedep {
    struct worklist id_list;
    struct {
        struct inodedep *le_next;
        struct inodedep **le_prev;
    } id_hash;
    struct fs *id_fs;
    ino_t id_ino;
    nlink_t id_nlinkdelta;
    struct {
        struct inodedep *le_next;
        struct inodedep **le_prev;
    } id_deps;
    struct buf *id_buf;
    long int id_savedextsize;
    off_t id_savedsize;
    struct workhead id_pendinghd;
    struct workhead id_bufwait;
    struct workhead id_inowait;
    struct allocdirectlst id_inoupdt;
    struct allocdirectlst id_newinoupdt;
    struct allocdirectlst id_extupdt;
    struct allocdirectlst id_newextupdt;
    union {

(kgdb) p gotit
$6 = -834460928
(kgdb) p inodedep->id_buf
---Can't read userspace from dump, or kernel process---

(kgdb) p inodedep
$7 = (struct inodedep *) 0x0

Huh. What's going on here ?

Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------


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




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