Date: Thu, 28 Mar 1996 11:08:50 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: current@FreeBSD.org, scsi@FreeBSD.org Subject: Re: Panic in sc_done Message-ID: <199603281008.LAA24351@uriah.heep.sax.de> In-Reply-To: <199603272203.BAA00333@astral.msk.su> from "=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=" at Mar 28, 96 01:03:39 am
next in thread | previous in thread | raw e-mail | index | archive | help
As =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= wrote:
> I just got page fault:
> sc_done+0x35: testb $0x40,0x5(%ecx)
> sc_err1
This is here:
/*
* an EOF condition results in a VALID resid..
*/
if(xs->flags & SCSI_EOF) {
^^^^^^^^^
xs->resid = xs->datalen;
xs->flags |= SCSI_RESID_VALID;
}
Looks weird. sc_err1() does always evaluate xs->error first, so this
should already break if xs is an invalid pointer.
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603281008.LAA24351>
