Reference Guide

Chapter 4 SCSI Commands
SEND DIAGNOSTIC Command (1Dh)
DLT-S4 Interface Reference Guide 325
3 Reads the two tracks of data.
4Rewinds the tape.
The execution time for the Level 2 test is approximately 12 minutes. See
table 180
for information on setting the SEND DIAGNOSTIC CDB fields to
select a Level 2 test.
The Level 1 and Level 2 diagnostic tests do not take parameters.
If the PF bit is set to one and the SelfTst bit is set to one, the drive will
reject the command and indicate an
Illegal Request. If the PF bit is set to
one and the SelfTst bit is set to zero, the Dev Ofl and Unit Ofl bits are
ignored and the drive will request the number of page bytes specified in
the Parameter List Length field. If the PF bit is set to zero, the SelfTst,
DevOfl, and UnitOfl bits are interpreted as defined in table 180
.
Table 180 SEND
DIAGNOSTIC CDB Fields —
Selftst, DevOfl, and UnitOfl
If the specified diagnostic test passes, the drive returns GOOD status. If
the specified diagnostic test fails, the drive returns
CHECK CONDITION
status with Sense Data containing information about the failure, as
described in table 181
.
Selftst DevOfl UnitOfl Diagnostic Test Run
0 0 0 Level 1 Test with Drive and Media
Health Check
1
(drive is on-line)
0 0 1 Illegal Combination
0 1 0 Illegal Combination
0 1 1 Level 1 Test and Level 2 Test with Drive
and Media Health Check* (drive is on-
line)
1 0 0 Level 1 Test only (drive is on-line)
1 0 1 Illegal Combination
1 1 0 Level 1 Test (drive is off-line)
1 1 1 Level 2 Test (drive is off-line)
1. Drive and Media Health Check. This test checks for the highest priority
DLTSage Tape Alert that has been set against the drive and/or the media.
This information is reported in response to the next RECEIVE
DIAGNOSTIC RESULTS command.