Date: Wed, 16 Jun 2010 13:14:55 -0700 From: Matthew Jacob <mj@feral.com> To: freebsd-scsi@freebsd.org Subject: Re: Overlapped Commands error Message-ID: <4C1930BF.3090408@feral.com> In-Reply-To: <51DD9715-89B2-4058-A4FE-7097603013CC@averesystems.com> References: <51DD9715-89B2-4058-A4FE-7097603013CC@averesystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Can anyone point me to where in the stack the command identifier is assigned? I see where MPT assigns tags in target mode, but it's the initiator in this case. Any advice? > > The mpt f/w assigns tags. Don't really know what happened here. > Also, is CAM doing the right thing by retrying? scsi_error_action() in cam/scsi/scsi_all.c always sets the retry bit on aborted commands, even though the spec quoted above makes it sound like this should be a fatal error ("This is considered a catastrophic failure on the part of the SCSI initiator device"). Should scsi_error_action() be looking at the Additional Sense Code? > Not really, IMO. It's up to each periph driver to decide whether commands are statefull or can be retried with impunity.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C1930BF.3090408>