Send Diagnostic Command (1Dh) - Seagate Ultra160 Product Manual

Scsi interface
Table of Contents

Advertisement

302
8.47

SEND DIAGNOSTIC command (1Dh)

The SEND DIAGNOSTIC command (see Table 232) requests the device server to perform diagnostic
operations on the target, on the logical unit, or on both. Targets that support this command shall implement, at
a minimum, the default self-test feature (the SelfTest bit equal to one and a PARAMETER LIST LENGTH of
zero). When the SelfTest bit is zero and the Self-test Code field contains 000b, this command is usually
followed by a RECEIVE DIAGNOSTIC RESULTS (see Section 8.32) command.
Table 232:
SEND DIAGNOSTIC command (1Dh)
Bit
7
Byte
0
OPERATION CODE (1Dh)
1
SELF-TEST CODE [1]
2
Reserved
3
(MSB)
4
5
Control [7]
[1]
When the SELF TEST bit is one, the SELF-TEST CODE field shall contain 000b. When the SELF TEST
bit is zero, the contents of the SELF-TEST CODE field are as specified in Table 233.
Table 233:
Self-Test Code field values
Value
Function name
000b
N/A
001b
Background short
self-test
010b
Background
extended self-test
011b
Reserved.
100b
Abort background
self-test
101b
Foreground short
self-test
110b
Foreground
extended self-test
111b
Reserved.
[2]
A Page Format (PF) bit of one specifies that the SEND DIAGNOSTIC parameters conform to the page
structure as specified in this manual. The implementation of the PF bit is optional. See Section 8.1 in
6
5
PF [2]
PARAMETER LIST LENGTH [6]
Description
This value shall be used when the SelfTest bit is set to one or if the SEND
DIAGNOSTIC command is not invoking one of the other self-test functions
such as enclosure services (see ANSI SES, T10/1212D) or the Translate
Address page (see Section 8.47.2).
The device server shall start its short self-test (see Section 9.2.2) in the
background mode (see Section 9.2.3.2). The PARAMETER LIST LENGTH
field shall contain zero.
The device server shall start its extended self-test (see Section 9.2.2) in
the background mode (see Section 9.2.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 a previous SEND DIAGNOSTIC command specified a back-
ground self-test function and 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 sense key of ILLEGAL REQUEST and an addi-
tional sense code of Invalid Field in CDB.
The device server shall start its short self-test (see Section 9.2.2) in the
foreground mode (see Section 9.2.3.1). The PARAMETER LIST LENGTH
field shall contain zero.
The device server shall start its extended self-test (see Section 9.2.2) in
the foreground mode (see Section 9.2.3.1). The PARAMETER LIST
LENGTH field shall contain zero.
SCSI Interface Product Manual, Rev. B
4
3
SELF TEST
Reserved
[1] [3]
2
1
DEVOFFL
UNIT OFFL
[4]
(LSB)
0
[5]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ultra320

Table of Contents