AHA-2940, CHECK_CONDITION

Matthew Jacob mjacob at feral.com
Fri Aug 29 15:23:42 PDT 1997


>From owner-aic7xxx at FreeBSD.ORG  Fri Aug 29 14:15:05 1997
>> > The aic7xxx driver (and other drivers too) automatically request
>> > the sense information upon a check condition.  Check the sense
>> > buffer in the SCSI command for non-zero which is what I believe
>> > the mid-level SCSI code does.  
>> 
>> Of course, we also set the aic7xxx_error(cmd) = DID_ERROR (mapped from 
>> DID_RETRY_COMMAND).  This very well could be causing the mid level code to 
>> retry the command instead of passing the sense up to the calling party.  It 
>> may be more appropriate to do something like this:
>
>We don't set any error on a CHECK_CONDITION.

I noticed that today in a quick look at the Jun1 release. Isn't that
a bug- you aren't even setting a value that target drivers can then
see that "Oh, there's sense data"...? Or did I not read deeply enough...



More information about the aic7xxx mailing list