Sense data and SCSI Good Status
Edward A. Gardner
eag at ophidian.com
Wed Oct 31 15:07:34 PST 2001
* From the T10 Reflector (t10 at t10.org), posted by:
* "Edward A. Gardner" <eag at ophidian.com>
>If a recoverable error occurs for a command other than REQUEST SENSE, is it
>valid to return sense data along with a Good SCSI status? (I'm looking but
>have not yet found any text about this yet, but I'll keep looking).
No. Sam2r20.pdf, page 68, second paragraph of sub-clause 126.96.36.199,
"If supported by the protocol and logical unit and requested by the Execute
Command remote procedure call (see 5.1), the device server shall only return
sense data in this manner coincident with the completion of a command with a
status of CHECK CONDITION."
This applies to Autosense, but since CHECK CONDITION is what tells the
initiator to issue a REQUEST SENSE, operation is the same with or without
Autosense -- sense data is only available with CHECK CONDITION status.
With that said, you could always propose changing the above sentence. I
recall discussion of a possible GOOD WITH SENSE DATA status. Watch out for
editting collisions with the latest revision of 00-359 (it changes the
referenced paragraph, althought not that sentence).
Edward A. Gardner eag at ophidian.com
Ophidian Designs 719 593-8866 voice
1262 Hofstead Terrace 719 593-8989 fax
Colorado Springs, CO 80907 719 210-7200 cell
* For T10 Reflector information, send a message with
* 'info t10' (no quotes) in the message body to majordomo at t10.org
More information about the T10