SEND DIAGNOSTIC
6.Command Specification
SONY AIT-5 drive SDX-1100V series Ver.1.0
6-97
For Page Code 81h, the Page Length must be five and the Parameter List Length must be set to nine otherwise
the drive returns a CHECK CONDITION status with an ILLEGAL REQUEST sense key set. This page Code
instructs the drive to execute the five bytes of diagnostic test that follow the four bytes of header. The five
bytes of diagnostic test information will be of the form:
Table 6-96: Diagnostic Test information
Bit
Byte
7 6 5 4 3 2 1 0
0
Diagnostic Test Number
1
Break
Loop Count Identifier
2
Parameter A
3
Parameter B
4
Parameter C
Diagnostic Test Number:
Number identifying which test to execute
Break:
This field allows the initiator to terminate the diagnostic test when an error occurs.
0 = stop on first error
1 = do not stop on error
Loop Count Identifier:
The number of times that the test will be repeated before status is returned.
0 = run once
1 = run once
2 = run 10 times
3 = run 100 times
4 = run 1000 times
Parameters A, B, C:
Any additional parameters required to fully define the diagnostic test.
If the test completes successfully, the drive returns GOOD status. If the test failed, a CHECK CONDITION status is
returned with a HARDWARE ERROR Sense Key and an Additional Sense Code of DIAGNOSTIC FAILURE set.
The initiator will then send a REQUEST DIAGNOSTIC command which will return information as to which test
failed and the nature of the failure. If the test requested is not defined, not available to the requested processor,
or not executable in the current configuration, this information will be reported in the data returned by the
REQUEST DIAGNOSTIC command.
Refer to clause 7, Drive Diagnostics for more detailed information about the supported diagnostic tests and test
operations.