User Manual
SCSI Commands Reference Manual, Rev. J 362
www.seagate.com Parameters for direct access devices
PARAMETER CODE field
The PARAMETER CODE field identifies the log parameter being transferred. The PARAMETER CODE field for the results of the most recent
self-test shall contain 0001h; the PARAMETER CODE field for the results of the second most recent test shall contain 0002h; etc.
PARAMETER LENGTH field
The PARAMETER LENGTH field shall contain 10h.
SELF-TEST CODE field
The SELF-TEST CODE field contains the value in the SELF-TEST CODE field of the SEND DIAGNOSTIC command that initiated this self-test.
Table 342 defines the content of the SELF-TEST RESULTS field.
SELF-TEST NUMBER field
The SELF-TEST NUMBER field identifies the self-test that failed and consists of either:
a) The number of the segment that failed during the self-test; or
b) The number of the test that failed and the number of the segment in which the test was run, using a vendor specific method for placing
the two values in the one field.
When the segment in which the failure occurred is not able to be identified or need not be identified, the SELF-TEST NUMBER field shall contain
00h.
Table 342 SELF-TEST RESULTS field
Code Description
0h
The self-test completed without error.
1h
The background self-test was aborted by the application client using a SEND DIAGNOSTIC command (see 3.46) with the
SELF-TEST CODE field set to 100b (i.e., abort background self-test).
2h
The self-test routine was aborted by an application client using a method other than a SEND DIAGNOSTIC command
with the SELF-TEST CODE field set to 100b (e.g., by a task management function, or by issuing an exception command
as defined in SPC-5).
3h
An unknown error occurred while the device server was processing the self-test and the device server was unable to
complete the self-test.
4h
The self-test completed with a failure in a test segment, and the test segment that failed is not known.
5h
The first segment of the self-test failed.
6h
The second segment of the self-test failed.
7h
Another segment of the self-test failed and which test is indicated by the contents of the SELF-TEST NUMBER field.
8h-Eh
Reserved
Fh
The self-test is in progress.