It is possible for multiple UNIT ATTENTION conditions to arise (for example, after a
The order of priority is as follows:
highest priority | |
Tape Loaded |
|
Mode Parameters Changed | lowest priority |
Microcode Downloaded |
UNIT ATTENTION sense that arises as a result of a command executing will not be posted to the sending initiator, but will be set for the other initiators.
DEFERRED ERROR sense
DEFERRED ERROR sense is generated when an operation fails and CHECK CONDITION status cannot be reported to the host for one of the following reasons:
•The operation had
LOAD).
•The operation was a write that was
•The operation was abandoned without status (that is, a bus release occurred) after what the drive perceived was a catastrophic error or when an error occurred following the drive’s honoring of an ABORT message. Following the bus release, the drive performed “cleanup” activity that failed. The Deferred Error refers to the reason for this failure.
When any one of the above occurs, the sense generated will be DEFERRED ERROR sense. This sense persists until the host sends a command that has Unit Attention as part of its
If the Buffered Mode field of the MODE SELECT parameter header is not zero, data buffering is enabled. If an error occurs in flushing the
•If the command is WRITE or WRITE FILEMARKS the DEFERRED ERROR sense is copied to Current sense and the error is changed to a Current error (the Error Code field is set to 70h). The information bytes will contain residue information reflecting the size of the write- behind queue plus the transfer size of the current command. CHECK CONDITION is
156 Commands