Date: Sat, 26 Jul 2003 16:00:05 -0400 From: Don Bowman <don@sandvine.com> To: Don Bowman <don@sandvine.com>, "'freebsd-scsi@freebsd.org'" <freebsd-scsi@freebsd.org>, "'aic7xxx@freebsd.org'" <aic7xxx@freebsd.org> Subject: RE: AIC7902 w/ seagate U320 drive issue on releng-4 (and current) Message-ID: <FE045D4D9F7AED4CBFF1B3B813C8533702741FEA@mail.sandvine.com>
next in thread | raw e-mail | index | archive | help
> From: Don Bowman ... [scsi errors with seagate cheetah on supermicro with adaptec aic7902] I sometimes then get a panic due to this KASSERT in sys/ufs/ufs/ufs_readwrite.c: /* * We should only get non-zero b_resid when an I/O error * has occurred, which should cause us to break above. * However, if the short read did not cause an error, * then we want to ensure that we do not uiomove bad * or uninitialized data. * * XXX b_resid is only valid when an actual I/O has occured * and may be incorrect if the buffer is B_CACHE or if the * last op on the buffer was a failed write. This KASSERT * is a precursor to removing it from the UFS code. */ KASSERT(bp->b_resid == 0, ("bp->b_resid != 0"));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE045D4D9F7AED4CBFF1B3B813C8533702741FEA>