Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 22:17:43 -0500 (EST)
From:      Jeff Roberson <jroberson@chesapeake.net>
To:        Thomas Quinot <thomas@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: crash: bwrite: need chained iodone
Message-ID:  <20030311221505.C43514-100000@mail.chesapeake.net>
In-Reply-To: <20030311183543.GA48464@melusine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I've trimmed to the relavent part of the stack.

On Tue, 11 Mar 2003, Thomas Quinot wrote:

> #11 0xc0232072 in bwrite (bp=0xce5313e0) at /usr/src/sys/kern/vfs_bio.c:795
> #12 0xc0232a7c in bawrite (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:1138
> #13 0xc023a02b in cluster_wbuild (vp=0xc4a21124, size=16384, start_lbn=44,
>     len=3) at /usr/src/sys/kern/vfs_cluster.c:996
> #14 0xc02396ff in cluster_write (bp=0xce6bd4e8, filesize=753664, seqcount=18)
>     at /usr/src/sys/kern/vfs_cluster.c:596
> #15 0xc02e3fec in ffs_write (ap=0xe5db4be0)
>     at /usr/src/sys/ufs/ffs/ffs_vnops.c:728
> #16 0xc024e1b2 in vn_write (fp=0xc456921c, uio=0xe5db4c7c,
> ---Type <return> to continue, or q <return> to quit---
>     active_cred=0xc48e5780, flags=0, td=0xc46e2000) at vnode_if.h:417
> #17 0xc0214008 in dofilewrite (td=0xc46e2000, fp=0xc456921c, fd=0,
>     buf=0x8e1e400, nbyte=0, offset=0, flags=0) at file.h:239
> #18 0xc0213e49 in write (td=0xc46e2000, uap=0xe5db4d10)
>     at /usr/src/sys/kern/sys_generic.c:329
> #19 0xc033a68e in syscall (frame=
>       {tf_fs = 47, tf_es = 47, tf_ds = 134742063, tf_edi = 677204256, tf_esi = 0, tf_ebp = -1077939928, tf_isp = -438612620, tf_ebx = 677216484, tf_edx = 20, tf_ecx = 0, tf_eax = 4, tf_trapno = 0, tf_err = 2, tf_eip = 677548851, tf_cs = 31, tf_eflags = 518, tf_esp = -1077939988, tf_ss = 47})
>     at /usr/src/sys/i386/i386/trap.c:1030
> #20 0xc032a89d in Xint0x80_syscall () at {standard input}:138
> ---Can't read userspace from dump, or kernel process---

>
> #11 0xc0232072 in bwrite (bp=0xce5313e0) at /usr/src/sys/kern/vfs_bio.c:795
> 795				panic("bwrite: need chained iodone");

> (kgdb) list
> 790		    (bp->b_flags & B_ASYNC) &&
> 791		    !vm_page_count_severe() &&
> 792		    !buf_dirty_count_severe()) {
> 793			if (bp->b_iodone != NULL) {
> 794				printf("bp->b_iodone = %p\n", bp->b_iodone);
> 795				panic("bwrite: need chained iodone");
> 796			}
> 797
> 798			/* get a new block */
> 799			newbp = geteblk(bp->b_bufsize);
> (kgdb) print bp->b_iodone
> $1 = (void (*)(struct buf *)) 0xc0239320 <cluster_callback>
> (kgdb) quit

Can you please print bp?  I'd like to know what all of the members are.  A
cluster buf should NEVER have BX_BKGRDWRITE set.  This is totally bogus.

> I still have the crash dump at hand, if further forensics is necessary.
>

Thanks!


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?20030311221505.C43514-100000>