Send diagnostic 1dh, Send diagnostic 1dh 14, Pre-execution checks – HP C737990900 User Manual
Page 145: Command descriptor block: cdb fields

Commands 145
Co
m
m
an
ds
SEND DIAGNOSTIC
1Dh
S
END DIAGNOSTIC
tells the drive to perform either its standard self-test, or
diagnostics specified in the parameter list on itself. The parameter list is
transferred to the drive in a series of data-out phases; each 8-byte data-out
phase specifies a diagnostic to be performed by the drive. It is not an error to
set Self-Test = 0 and to have a zero-length parameter list.
The test results can be retrieved with the
RECEIVE DIAGNOSTIC RESULTS
command.
Pre-Execution Checks:
■
If Self-Test = 0, the UntOffl bit must be set, otherwise
CHECK CONDITION
is
reported. Sense data will be as described in Illegal Field Checks.
■
If Self-Test = 1, the Parameter List Length field must be zero. Otherwise
CHECK CONDITION
is reported. Sense data will be as described in Illegal
Field Checks.
■
It is not an error to set Self-Test = 0 and to have a zero-length parameter
list.
Command Descriptor Block:
CDB Fields:
Illegal Field
Reservation
Deferred Error
Unit Attention
7
6
5
4
3
2
1
0
0
Operation Code (1Dh)
1
Reserved (0)
PF (1)
Rsvd(0)
Self-Test
DevOffL(0)
UnitOffL
2
Reserved (0)
3
(MSB)
Parameter List Length
4
(LSB)
5
Control
PF
Page Format.
Specifies that the accompanying data follows the SCSI-3 Diagnostic Page format.
It must be set to 1.