tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: SCSI sense



> I understood I should isse a request sense command to know what happened
I don't think that would make sense.
If you did fill in scsireq.sense and .senselen, the SCIOCCOMMAND ioctl should 
already have done that for you when the target returns CHECK CONDITION.
I guess you need to inspect the driver code under which conditions it sets 
retsts to SCCMD_UNKNOWN. For instance, I don't know what it does when the 
target returns CHECK CONDITION on the original request and the REQUEST SENSE 
command fails.
Unfortunatly, there seems to be little documentation on the exact expected 
behaviuor under various error conditions.
Maybe setting SCSIVERBOSE or turnning on SCIOCDEBUG will help.


Home | Main Index | Thread Index | Old Index