12.07.2015 Views

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18 July 2001 T10/1236-D Revision 207.23 SEND DIAGNOSTIC commandThe SEND DIAGNOSTIC command (see table 112) requests the device server to perform diagnostic operations onthe target, on the logical unit, or on both. Targets that support this command shall implement, at a minimum, thedefault self-test feature (i.e., the SELFTEST bit equal to one and a parameter list length of zero). When theSELFTEST bit is zero and the SELF-TEST CODE field contains 000b, this command is usually followed by a RECEIVEDIAGNOSTIC RESULTS (see 7.15) command.Table 112 — SEND DIAGNOSTIC commandBitByte7 6 5 4 3 2 1 00 OPERATION CODE (1Dh)1 SELF-TEST CODE PF Reserved SELFTEST DEVOFFL UNITOFFL2 Reserved3 (MSB)PARAMETER LIST LENGTH4 (LSB)5 CONTROLWhen the SELFTEST bit is one the SELF-TEST CODE field shall contain 000b. When the SELFTEST bit is zero, thecontents of SELF-TEST CODE field are specified in table 113.Value Name DescriptionTable 113 — SELF-TEST CODE field values000b001b010b011b100b101b110b111bBackgroundshort self-testBackgroundextended self-testReservedAbort backgroundself-testForegroundshort self-testForegroundextended self-testReservedThis value shall be used when the SELFTEST bit is set to one or if the SENDDIAGNOSTIC command is not invoking one of the other self-test functions suchas enclosure services (see SES) or the Translate Address page (see SBC).The device server shall start its short self-test (see 5.4.2) in the backgroundmode (see 5.4.3.2). The PARAMETER LIST LENGTH field shall contain zero.The device server shall start its extended self-test (see 5.4.2) in the backgroundmode (see 5.4.3.2). The PARAMETER LIST LENGTH field shall contain zero.The device server shall abort the current self-test running in background mode.The PARAMETER LIST LENGTH field shall contain zero. This value is only valid if aprevious SEND DIAGNOSTIC command specified a background self-test functionand that self-test has not completed. If either of these conditions is not met,then the device server shall return a CHECK CONDITION status with a sensekey of ILLEGAL REQUEST and an additional sense code of INVALID FIELD INCDB.The device server shall start its short self-test (see 5.4.2) in the foregroundmode (see 5.4.3.1). The PARAMETER LIST LENGTH field shall contain zero.The device server shall start its extended self-test (see 5.4.2) in the foregroundmode (see 5.4.3.1). The PARAMETER LIST LENGTH field shall contain zero.dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2) 159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!