SCSI Commands: 45BSEND DIAGNOSTIC
Page
204
3.33
SEND DIAGNOSTIC
The SEND DIAGNOSTIC command requests the drive to perform self diagnostic
operations. The diagnostic tests are part of the drive’s resident firmware.
The RECEIVE DIAGNOSTIC RESULTS command may be used to retrieve the
result of the diagnostic operations.
A Self Test bit of one requests the drive to perform its self-test diagnostic.
3.33.1
SEND DIAGNOSTIC Command Descriptor Block
Byte
Bits
7 6 5 4 3 2 1 0
0
Operation Code (1Dh)
1
Self-Test
Code
PF
Rsvd Selftest Devoffl UnitOffl
2
Reserved
3
(MSB)
4
Parameter List Length
(LSB)
5
Control
3.33.1.1
SEND DIAGNOSTIC Command Field Descriptions
Field
Bytes
Bits
Description
Operation
code
0
The Operation Code for SEND DIAGNOSTIC is 1Dh.
Self-test code
1
5-7
This bit field is not supported and must be set to 0.
Zero specifies that the parameter list is vendor specific and
conforms to the parameter list definitions below.
PF 1
4
One specifies that the parameters and list conform to the
parameter list definitions below.
Selftest
1
2
Self test diagnostics.
Devoffl 1
1
Device
off-line.
UnitOffl 1
0
Unit
off-line.
Mode 0: supported
Mode 4: Perform self test diagnostics;
Mode 5: Write with incrementing pattern;
Mode 6: Verify with incrementing pattern;
Mode 7: Write and verify with incrementing
pattern
Mode 0: Selftest = 0 Devoffl = 0 UnitOffl = 0
Mode 4: Selftest = 1 Devoffl = 0 UnitOffl = 0
Mode 5: Selftest = 1 Devoffl = 0 UnitOffl = 1
Mode 6: Selftest = 1 Devoffl = 1 UnitOffl = 0
Mode 7: Selftest = 1 Devoffl = 1 UnitOffl = 1
Parameter list
length
3-4
This field is not supported and must be to 0.
Reserved
All reserved bits must be 0.
Control 5
See
SCSI Command Control Byte Format on page 25.
Note that only one diagnostic page may be sent per command.
Содержание LTO 4
Страница 1: ......