Data required, Specific status – HP C737990900 User Manual
Page 146

146 Commands
Data Required
No data is required if the standard self-test is to be performed. Otherwise, a
single diagnostic page must be provided as a parameter.
Specific Status
Any Send Diagnostic command received with a Enclosure Services page
number (01h to 0Fh) will generate
CHECK CONDITION
with sense key of
ILLEGAL REQUEST
and additional sense of 3501h (unsupported enclosure
function).
The drive reports
GOOD
status if the diagnostics pass. It will report
CHECK
CONDITION
if the diagnostics fail, with a sense key of
HARDWARE ERROR
and
additional sense of 4000h.
More detailed results can then be recovered using the
Receive Diagnostic Results
page.
Self-Test
0
Perform the diagnostics specified in the parameter list. The UnitOffL bit must be set,
otherwise
CHECK CONDITION
is reported. The drive reports status when the command has
been completed.
1
Perform the standard self-test depending on the value of UnitOffL (see above). The
Parameter List Length must be 0 otherwise
CHECK CONDITION
is reported. The drive will
report
GOOD
status following the pre-execution checks and before executing the
command.
DevOffl
Device Offline bit.
Must be cleared to zero.
UnitOffL
Unit Offline bit
0
Indicates that the host is not prepared for the drive to perform tests that could affect logical
position.
1
Indicates that the host is prepared for the drive to perform tests that could affect logical
position, modify the tape or modify cartridge status. This bit must be set if the Self-Test bit is
0.
Parameter List
Length
Indicates how many bytes of diagnostic parameter data are to be sent to the drive. The
length of the data phase for
SEND DIAGNOSTIC
is limited to 4 bytes of header plus 34
parameters, each of which is 4 bytes long. This gives an upper limit for the parameter list
length of 136 bytes.