Date: Sun, 10 Nov 2002 14:02:17 -0400 (AST) From: "Marc G. Fournier" <scrappy@hub.org> To: freebsd-stable@freebsd.org Subject: panic (fmt=0xc0218458 "bp->b_resid != 0") Message-ID: <20021110135951.V14219-100000@hub.org>
next in thread | raw e-mail | index | archive | help
same crash as last reported ... not sure if there is anything else I can
report in here, or check for ... I'm going to re-try upgrading to the
latest kernel today, removing the INVARIANTS stuff that I have in there
now to see if I can get it past that hang ...
(kgdb) where
#0 0xc9540256 in ?? ()
#1 0xc01430bc in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:223
#2 0xc01437e1 in panic (fmt=0xc0218458 "bp->b_resid != 0") at /usr/src/sys/kern/kern_shutdown.c:595
#3 0xc01b0ad2 in ffs_read (ap=0xf7202e98) at /usr/src/sys/ufs/ufs/ufs_readwrite.c:302
#4 0xc01b71d6 in ufs_readdir (ap=0xf7202ee8) at vnode_if.h:334
#5 0xc01b7c29 in ufs_vnoperate (ap=0xf7202ee8) at /usr/src/sys/ufs/ufs/ufs_vnops.c:2422
#6 0xc0177d87 in getdirentries (p=0xf71ecc60, uap=0xf7202f80) at vnode_if.h:769
#7 0xc01f3049 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 134643264, tf_ebp = -1077939716,
tf_isp = -148885548, tf_ebx = 672906948, tf_edx = 134643264, tf_ecx = 672981632, tf_eax = 196, tf_trapno = 7, tf_err = 2,
tf_eip = 672590908, tf_cs = 31, tf_eflags = 582, tf_esp = -1077939760, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1175
#8 0xc01e035b in Xint0x80_syscall ()
#9 0x8053086 in ?? ()
#10 0x804a355 in ?? ()
#11 0x804a4f7 in ?? ()
#12 0x804a5d1 in ?? ()
#13 0x8050756 in ?? ()
#14 0x804ae62 in ?? ()
#15 0x804a3d6 in ?? ()
#16 0x8049b65 in ?? ()
(kgdb) up 3
#3 0xc01b0ad2 in ffs_read (ap=0xf7202e98) at /usr/src/sys/ufs/ufs/ufs_readwrite.c:302
302 KASSERT(bp->b_resid == 0, ("bp->b_resid != 0"));
(kgdb) list
297 * XXX b_resid is only valid when an actual I/O has occured
298 * and may be incorrect if the buffer is B_CACHE or if the
299 * last op on the buffer was a failed write. This KASSERT
300 * is a precursor to removing it from the UFS code.
301 */
302 KASSERT(bp->b_resid == 0, ("bp->b_resid != 0"));
303 size -= bp->b_resid;
304 if (size < xfersize) {
305 if (size == 0)
306 break;
(kgdb) print bp->b_resid
$1 = 2048
(kgdb) quit
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021110135951.V14219-100000>
