Send Diagnostic; Command Descriptor Block; Completion Status - Seagate Viper 200 Scsi Interface Manual

Lto tape drive
Table of Contents

Advertisement

SCSI Commands

SEND DIAGNOSTIC

Command Descriptor Block

Field Descriptions

Completion Status

The Send Diagnostic command requests the drive to perform diagnostic operations
on itself. 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.
Bits
Byte
7
6
0
1
Self-Test Code
2
3
4
5
Field
Bytes
Operation
0
code
Self-test code
1
Pf
1
Selftest
1
Devoffl
1
UnitOffl
1
Parameter list
3-4
length
Reserved
Control
5
Code
Message
Description
• The drive is ready to perform any appropriate command.
00h
Good
• The drive remains in any previously set mode.
Status
• The tape position is not changed.
02h
Check
Use the Request Sense command to retrieve status information. Possible
Condition
Sense Keys are:
Code
02h
04h
05h
06h
5
4
3
Operation Code (1Dh)
PF
Reserved Selftest
Reserved
Parameter List Length (MSB)
Parameter List Length (LSB)
Control
Bits
Description
The Operation Code for Send Diagnostic is 1Dh.
5-7
This bit field is not supported and must be set to 0.
4
This bit is not supported and must be set to 0.
2
1 = Perform self test diagnostic.
1
This bit is not supported and must be set to 0.
0
This bit is not supported and must be set to 0.
This field is not supported and must be to 0.
All reserved bits must be 0.
The control field must be 0.
Message Description
Not Ready
No cartridge is inserted in the drive.
Hardware Error
Drive hardware failure detected.
Illegal Request
The CDB contains an invalid bit.
Unit Attention
The cartridge was changed, or the drive was
reset prior to this command.
Page 111
2
1
0
Devoffl
UnitOffl

Advertisement

Table of Contents
loading

Table of Contents