AHA-2940, CHECK_CONDITION

Daniel M. Eischen deischen at iworks.InterWorks.org
Fri Aug 29 11:58:51 PDT 1997


>  I'm developing a user level interface with the generic scsi driver 
> sg.c under linux-2.0.29.
> 
>  The target scsi device attached to my aha-2940 returns 
> CHECK_CONDITION (0x02) to indicate an abnormal, but not fatal
> event.
>
>  When I check the result from the scsi transaction, this status is
> set to 0, and there is no sense information (there should be).

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.  

Dan Eischen
deischen at iworks.InterWorks.org



More information about the aic7xxx mailing list