Overlapped Commands error

Matthew Jacob mj at feral.com
Wed Jun 16 20:15:22 UTC 2010



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


More information about the freebsd-scsi mailing list