Sense Data; Asynchronous Event Reporting - Seagate Ultra160 Product Manual

Scsi interface
Table of Contents

Advertisement

SCSI Interface Product Manual, Rev. B
command with CHECK CONDITION status. Sense data shall be set to the values specified for the
REQUEST SENSE command in item b below;
b. The target supports the logical unit, but the peripheral device is not currently attached to the target. In
response to an INQUIRY command the target shall return the INQUIRY data with the peripheral qualifier set
to the value required in the SPC-2 standard. In response to a REQUEST SENSE command, the target shall
return sense data. The sense key shall be set to ILLEGAL REQUEST and the additional sense code shall
be set to Logical Unit Not Supported.
In response to any other command except REQUEST SENSE and INQUIRY, the target shall terminate the
command with CHECK CONDITION status. Sense data shall be set to the values specified for the
REQUEST SENSE command above;
c. The target supports the logical unit and the peripheral device is attached, but not operational. In response
to an INQUIRY command the target shall return the INQUIRY data with the peripheral qualifier set to the
value required in Section 8.0. In response to REQUEST SENSE, the target shall return sense data.
The target's response to any command other than INQUIRY and REQUEST SENSE is vendor-specific; or
d. The target supports the logical unit but is incapable of determining if the peripheral device is attached or is
not operational when it is not ready.
In response to an INQUIRY command the target shall return the INQUIRY data with the peripheral qualifier
set to the value specified in Section 8.0. In response to a REQUEST SENSE command the target shall
return the REQUEST SENSE data with a sense key of No Sense unless an auto contingent allegiance
exists. The target's response to any other command is vendor-specific.
7.6.4

Sense data

Sense data shall be made available by the logical unit in the event a command completes with a CHECK CON-
DITION status or other conditions. The format, content and conditions under which sense data shall be pre-
pared by the logical unit are specified in this manual, the SPC-2 standard, and other applicable SCSI protocol
standards.
Sense data shall be preserved by the logical unit for the initiator until it is transferred by one of the methods
listed below or until another task from that initiator is entered into the task set.
The sense data may be transferred to the initiator through any of the following methods:
a. The REQUEST SENSE command specified in Section 8.38;
b. An asynchronous event report; or
c. Autosense delivery.
The following clauses describe the last two transfer methods.
7.6.4.1

Asynchronous Event Reporting

Asynchronous Event Reporting is used by a logical unit to signal another device that an asynchronous event
has occurred. The mechanism automatically returns sense data associated with the event. Support for asyn-
chronous event reporting is a logical unit option.
The control mode page contains parameters affecting the use of asynchronous event reporting (see Section
8.12.9).
Asynchronous Event Reporting is used to signal a device that one of the four events listed below has occurred:
a. an error condition was encountered after command completion;
b. a newly initialized device is available;
c. some other type of unit attention condition has occurred; or
d. an asynchronous event has occurred.
An example of the first case above occurs in a device that implements a write cache. If the target is unable to
write cache data to the medium, it may use an asynchronous event report to inform the initiator of the failure.
An example of the second case above is a logical unit that generates an asynchronous event report, following
a power-on cycle, to notify other SCSI devices that it is ready to accept I/O commands.
Sense data accompanying the report identifies the condition (see Section 7.6.4).
129

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ultra320

Table of Contents