Overlapped Commands error

Andrew Boyer aboyer at averesystems.com
Wed Jun 16 20:31:18 UTC 2010


On Jun 16, 2010, at 4:14 PM, Matthew Jacob wrote:

>> 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.
> 

OK.  Thank you for looking into it.

-Andrew

--------------------------------------------------
Andrew Boyer	aboyer at averesystems.com






More information about the freebsd-scsi mailing list