Quantum, the Quantum logo, and the DLTtape logo are trademarks of Quantum Corporation, registered in the
U.S.A. and other countries. DLTtape, DLTSage, and Super DLTtape are trademarks of Quantum Corporation.
Other company and product names used in this document are trademarks, registered trademarks, or service
marks of their respective owners.
Legal Disclaimers
The information contained in this document is the exclusive property of Quantum Corporation. Quantum retains
its copyright on the information contained herein in all cases and situations of usage, including derivative works.
The possessor agrees to safeguard this information and to maintain it in confidence and not re-publish it in whole
or in part without Quantum’s prior written consent.
Quantum reserves the right to make changes and improvements to its products, without incurring any obligation
to incorporate such changes or improvements in units previously sold or shipped.
It is the responsibility of the user to carefully read and understand the User Manual statements for Class A
Equipment and Class B Equipment that appear on page iii and page iv, respectively.
Contact Information
You can request Quantum publications from your Quantum Sales Representative or order them directly from
Quantum.
Telephone numbers and street addresses change frequently; for the latest, up-to-date contact information, visit:
www.quantum.com
Te lephone numbers, street addresses, time zones, and other pertinent facts are listed in the Support section of the
web site.
iiJuly 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Revision History
The following table lists all revisions made to this document in chronological order.
7/26/2004Converted to FrameMaker and Quantum Style Guide. Released
Per C0O9834.
User Manual Statements for Class A Equipment (Internal Tape
System)
This is a Class A product. This equipment has been tested and found to comply with the limits for a Class A
digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection
against harmful interference when the equipment is operated in a commercial environment. This equipment
generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a
residential area may cause harmful interference in which case the user will be required to correct the interference
at his own expense.
Any modifications to this device—unless expressly approved by the manufacturer—can void the user’s authority
to operate this equipment under Part 15 of the FCC rules.
German Statement
Dieses ist ein Gerät der Funkstörgrenzwertklasse A. In Wohnbereichen können bei Betrieb dieses Gerätes
Rundfunkstörungen auftreten, in welchen Fällen der Benutzer für entsprechende Gegenmaßnahmen
verantwortlich ist.
Canadian Notice (Avis Canadien)
This Class A digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe A est conforme à la norme NMB-003 du Canada.
French Statement
Ceci est un produit de Classe A. Dans un environnement domestique, ce produit risque de créer des interférences
radioélectriques, il appartiendra alors à l'utilisateur de prendre les mesures spécifiques appropriées.
81-81276-01 Re v A01July 2004iii
DLT1/VS80 SCSI Interface Guide
Taiwan Statement
Japanese Notice
User Manual Statements for Class B Equipment (External Tape
System)
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part
15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference in a
residential installation. Any modifications to this device—unless expressly approved by the manufacturer—can
void the user’s authority to operate this equipment under part 15 of the FCC rules. Operation is subject to the
following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept
any interference that may cause undesirable operation.
This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in
accordance with the instructions, may cause harmful interference to radio communications. However, there is no
guarantee that interference will not occur in a particular installation. If this equipment does cause harmful
interference to radio or television reception, which can be determined by turning the equipment off and on, the
user is encouraged to try to correct the interference by one or more of the following measures:
•Reorient or relocate the receiving antenna.
•Increase the separation between the equipment and receiver.
•Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
•Consult the dealer or an experienced radio or TV technician for help.
Canadian Notice
This Class B digital apparatus complies with Canadian ICES-003.
Cet appareil numérique de la classe B est conforme à la norme NMB-003 du Canada.
This manual provides a detailed explana tio n of the Small Comp uter S ystem In te rface (SCSI) Protocol
features the Quantum VS80 tape drive implements. This manual does not replace the full ANSI SCSI
specificati on, messages, options, and co m mand code spec if i cations; instead, it describes the
commands , messages, and options this tape dr ive supports. It a ls o describes the tape drive’s error
recovery procedures.
NOTE: From this point forward, we may refer to the Quantum VS80 tape drive
simply as the “tape drive.”
Chapter 1
Introduction
1.2Audience
Quantum provides this docum ent to softwar e and firmware engineers and technicians wh o support
Quantum VS80 tape drives . It also serves sof t w are and firmwar e engineers and t echnicians wh o
integrate Quantum VS80 tape drives into aut omate d sy ste ms su ch as tape drive libraries.
81-81276-01 R ev A01July 20041-1
Chapter 1: Introduction
1.3Related Documents
•DLT VS80 Installation and Operations Guide (001596-01)
•Current standards documents availabl e fr om w ww.t10.org
Chapter 1, “Introduction,” is the chapter you are currently rea di ng.
Chapter 2, “General SCSI Bus Opera tion,” describes tape drive responses to a variety of situations that
occur on the SCSI bus; for example , po w er-on, bus phases, data transfer, and so forth .
Chapter 3, “SCSI Messages,” describes the SCSI message system and lists the messages supported by
the tap e d rive.
Chapter 4, “SCSI Commands,” lists the commands the tape drive suppor ts and defines each command .
Chapter 5, “ Supported SCSI- 2 Medium Changer D evice Commands,” lists the commands unique to
the medium ch anger that the tape drive support s . I t al s o defines each supported command.
1.5Conventions Used In This Manual
This manual uses the following conventions:
NOTE: Notes provide supp le m ental informati on.
1-2July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
TECH TIP: Tech Tips provide information that helps you comple te a procedure or
avoid additional steps.
C
AUTIONCautions provide information yo u must know to avoid
damaging the tape drive or losing data.
ARNING! Warnings provide information yo u must know to avoid
W
personal injury.
Table 1-1.Typographical Conventions
ElementConventionExample
CommandsUppercase (unless case-
sensitive)
Hexadecimal NotationNumber followed by
lowercase h
Binary NotationNumber followed by
lowercase b
Decimal NotationNumber without suffix512
AcronymsUppercasePOST
AbbreviationsLowercase, except where
standard usage requires
uppercase
TEST UNIT READY
25h
101b
Mb (megabits)
MB (megabytes)
81-81276-01 R ev A01July 20041-3
Chapter 1: Introduction
Notes
1-4July 200481-81276-01 Rev A01
2.1Data Transfer
The tape drive supports both narr ow and wide, asynchronous and sy nchronous data transfers. The
product is conf ig ured as a Low-Voltage Differential (LVD) or Single-Ended (SE) tape drive. The tape
drive generates p arity (ODD) d urin g all i nformati on tr ansfer phases where t he tape dr ive tr ansfer s dat a
onto the SCSI bus. The tape drive also checks parity during all info rmation transfer phases where the
tape drive receives data from the SCSI bus.
The tape drive supports even block sizes of 2 bytes to (16 MB – 2) bytes.
CHA PTER 2
Chapter 2General SCSI Bus Operation
Disconnects from the SCSI bus occur at regular intervals during a data transfer. This allows other tape
drives to acces s t he bus. The Disconnect–Reconn ect Mode Parameters page configures SCSI bus
disconnects.
2.2Initiator/Target Operation
The tape drive doe s not act as an initiator on t he SCSI bus. Therefor e, th e tape drive does not perform
any of the follow ing tasks:
•Genera t e u nsolic ited inte rrupts to the host
•Initiate its own SCSI commands
•Assert a bus reset.
81-81276-01 R ev A01July 20042-1
Chapter 2: General SCSI Bus Operation
2.3SCSI IDs and Logical Unit Numbers
The tape drive has one logical unit num ber (LUN), which is always LUN 0.
The tape drive treats uns upported LUNs a s follo ws: If the LUN specif ied in t he IDENTIFY message is
invalid, the tap e dr ive accepts the Co m m and Descriptor Block (CDB). The next action is one of the
follow ing three cases:
•If the command is INQUIRY, the target retur ns the INQUIRY data with the peripheral qualifier set
to 011, indicating that the ta rget does not support the LUN in question.
•If the command is REQUEST SENSE, the target returns sense data. The sense key is ILLEGAL
REQUEST, with an Additional Sense Code of INVALID Logical Unit Number.
•For any other command, the tar get terminate s the command with CHECK CONDITION status an d
generates the Sense Data described in item 2.
2.4UNIT ATTENTION Condition
The tape drive implements Queued Unit Attentions which are maintained separately for each valid
LUN for each Initiator. The host compute r cr eates Unit At te nt io ns under the foll owing conditio ns:
•Power-on Reset
•BUS Reset
•Bus Drive Reset message
•Asynchronous m edi a change
•Mode Parameters changed by another initia to r
•Firmware up dat e completed.
T wo queued Unit Attentions are not unusual. For example, powering up a tape drive and loading a data
cartridge create Power Up and Not-ready to Ready Transition Unit Attentions. Since there are a limited
number of Unit Attention buffers, if an initiator does not clear Unit Attentions queued for it, at some
point the tape drive stops generating new Unit Attentions for that I–L combination. However, existing
Unit Attentions remain queued.
A LOAD command does not generate a Unit Attention for the initiator that issued the command since
the transition to Ready is a synchronous event.
2-2July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
2.5Behavior Around Power-On and SCSI BUS
RESET
In the following situations, the tape drive generates these responses:
Table 2-1.Tape Drive Behavior after a Po w er -On and SCSI BUS RESET
SituationTape Drive Response
Tape drive power offAll tape drive SCSI lines go to high impedance.
Tape drive power onThe tape drive does not generate any spurious signals on
the SCSI bus
Within 5 seconds of power on and within 250
milliseconds (typically under 4 ms) after a BUS
RESET
The tape drive recognizes multiple bus resets in succession and bus resets of arbitrarily long duration.
It recovers within the time limits specified above following the last bus reset.
The tape drive responds to SCSI bus selections and
returns appropriate, normal responses. The tape drive
returns medium motion commands with CHECK
CONDITION status, Sense Key Not Ready, until the
media is ready.
The tape drive implements the Hard BUS RESET option.
The tape drive rewinds the medium to BOP (Beginning
of Partition, i.e. Beginning of Medium).
2.6Data Cache and Medium Write Interaction
The tape drive contains a data cache that buffers blocks (records) until writing them. This section
defines specific times that the tape drive writes blocks to medium. A MODE SELECT parameter
allows disab ling the data cache (unbuffered mode). In this mo de, every WRITE com mand cause s t he
tape drive to write data to the data cartridge before returning the STATUS byte and the COMMAND
COMPLETE messages to the host.
NOTE: We do not recommend unbuffere d m o de because it pr oduces poor
performance.
81-81276-01 R ev A01July 20042-3
Chapter 2: General SCSI Bus Operation
The tape drive w ri t es ( fl ushes) the write data cache to the dat a cartridge under the following
circumstances:
•An initiator issues one or more WRITE FILEMARKS commands without intervening medium
motion commands.
•An initiator issues a WRITE 0 FILEMARKS command.
•The tape drive automatically writes data in the cache longer than specified by the value of the
Mode Parameter “Write Delay Time” to the data cartridge.
•The tape drive receives a non-write type medium access command; for example, SPACE, READ,
UNLOAD, REWIND, and so forth.
2.7Other SCSI Functionality
The tape drive supports these addition al func tions:
•Linked commands
•Untagged queuing.
2.8Bus Phases
The tape drive conforms to the bus state transition table shown in the SCSI-2 standard, “Phase
Sequences.” The informatio n in the follo win g se ct ions also applies.
2.8.1 ATTENTION Signal Response
The tape drive res ponds to an ATN condition at le ast at every phase tr ansition, as lon g as the initiator
sets the ATN bit before the target abandons the REQ for the last byte of the previous phase. Ordinarily
the tape drive immediately recognizes ATN and changes the bus phase to MESSAGE OUT.
2-4July 200481-81276-01 Rev A01
2.8.2 STATUS Phase
The tape drive enters the STATUS phase only once per command unless the initiator requests a retry.
The sole exception to this behavior is during error cases when the drive goes immediately to BUS
FREE, as define d i n th e SCSI-2 standard.
The tape drive returns the following STATUS bytes:
•GOOD (00h): This status indicates the tape drive successfully completed the command.
•CHECK CONDITION (02h): A contingent allegiance conditio n occurred. The REQUEST SENSE
command should be sent following this status to determine the nature of the event.
•BUSY (08h): The target is busy. The tape drive returns this status whenever the tape drive is
unable to accept a command from an otherwi se acceptable initiat or . The initiator s hould reiss ue the
command at a later time.
•INTERMEDIATE GOOD (10h): The tape drive returns this status instead of GOOD status for
commands issued with the LINK bi t set. Follo wing the return of this stat us, the tape driv e proceeds
to the COMMAND phase for the transfer of the next linked command.
•RESERVATION CONFLICT (18h): The tape drive returns this status whenever one initiator (a
SCSI tape drive) attempts to access the tape drive when another initiator has reserved the tape
drive with a RESERVE UNIT command.
DLT1/VS80 SCSI Interface Guide
•COMMAND TERMINATED (22h): The tape drive returns this status for a command that a
TERMINATE I/O PROC ESS message has terminated. T hi s st atus also indica te s that a contingent
allegiance condition has occurred.
NOTE: In contrast to the BUSY status condition, the tape drive returns the
DRIVE NOT READY Sense Key as part of the Sense data following a
REQUEST SENSE command. This indicates that an initiator has issu ed a
data cartridge access command and the data cart ridge is not ready to be
accessed. For example, the data cartridge is not installed, the data
cartridge has been unloaded, the tape drive is currently initializing the
data cartridge to prepare it for access, a nd s o forth.
When the tape drive is in the “not ready” state, the initiator cannot perform any oper at i on that would
cause medium motion, fo r e xa mp le, write, read, space, v e rify, etc. If the initiator attempts any of these
commands, the tape drive returns a CHECK CONDITION status with a DRIVE NOT READY sense
key. The initiator may, however, execute commands that do not require access to the data cartridge and
the tape drive may return a GOOD status.
81-81276-01 R ev A01July 20042-5
Chapter 2: General SCSI Bus Operation
These commands do not requir e ac cess to the data c ar tr i dge:
•INQUIRY
•LOG SENSE/SELECT
•MODE SELECT
•MODE SENSE
•PREVENT/ALLOW MEDIUM REMOVAL
•READ BLOCK LIMITS
•READ BUFFER
•READ ELEMENT STATUS
•RECEIVE DIAGNOSTIC RESULTS
•REQUEST SENSE
•RESERVE/RELEASE UNIT
•SEND DIAGNOSTIC (non-media access diagnostics)
•WRITE BUFFER.
NOTE: The TEST UNIT READY command determines whether the tape drive
would accept a data cartridge access command without returning CHECK
CONDITION status.
2.8.3 BUS FREE Phase
Some situations can cause the tape drive to go to BUS FREE unexpectedly, as defined in the SCSI-2
standard (see sections 6.1.1 a nd 6.31 in the SCSI-2 specification ):
•An internal hardware or fi rmware fault tha t makes it unsafe for th e tape drive to continue opera tion
without a full reset (similar to a power-up reset)
•Bus parity erro r detected durin g non-medium data transfers.
2.9Bus Parity Errors
The occurrences of bus parity errors (that is, single bit errors) are very serious because they imply the
possibility of undetected dou ble-bit errors on th e bus. These mos t l ik el y w o uld result in undetected
data corruption. On properl y configured SCSI buses, parity er rors should b e extremely rare. If bus
parity errors are detected, they should be quickly addressed by improving the electrical and mechanical
configuration of the SCSI bus.
A well-confi gur ed SCSI system bus in most norm al environme nts should be prac ti cally free of bus
parity errors.
2-6July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Bus parity errors cause the tape drive to retry the operation, go to STATUS phase, or go to BUS FREE
and prepare Sense Data (see section 6.1.1 in the SCSI-2 specification). Retrying of parity errors during
DATA OUT Phase when writing is normally not done, but can be enabled by changing the
EnaParErrRetry parameter in the Vendor Unique EEPROM Mode Page. The default value for this
feature is pa ri t y er ror disable d.
81-81276-01 R ev A01July 20042-7
Chapter 2: General SCSI Bus Operation
Notes
2-8July 200481-81276-01 Rev A01
This chapter provides a detailed description of the SCSI messages DLT1 tape drives support.
Specificall y, it covers the fo llowing topics:
•“SCSI Message System” lists the specific format of SCSI messages.
•“Supported SC SI Messages” contains a description of each message supported by the tape drive.
3.1SCSI Message System
CHA PTER 3
Chapter 3SCSI Messages
SCSI messages allow communication between an initiator and a target for the purpose of physical path
management.
To support particular SCSI-1 initiators, the tape drive does not require an IDENTIFY message. If the
initiator sends a message after the SELECTION phase, it should be an IDENTIFY, ABORT, or BUS
DEVICE RESET message. If the tape drive receives any other message in this cas e, it goes dir ectly to
BUS FREE phase.
Table 3-1 l is ts th e supported SCS I messages. It al s o shows the message code and the direction of the
message flow (In = target-to-initiator, Out = initiator-to-target).
Table 3-1.Supp or te d SCSI Messages
CodeIn/OutDescriptionSection
06hOutABORT“ABORT (06h)” on page 3-2
0ChOutBUS DEVICE RESET“BUS DEVICE RESET (0Ch)” on page 3-3
00hInCOMMAND COMPLETE“COMMAND COMPLETE (00h)” on page 3-3
04hInDISCONNECT“DISCONNECT (04h)” on page 3-3
01hBothEXTENDED MESSAGE “EXTENDED MESSAGE (01h)” on page 3-4
80h–FFhBothIDENTIFY“IDENTIFY (80h–FFh)” on page 3-5
81-81276-01 R ev A01July 20043-1
Chapter 3: SCSI Messages
Table 3-1.Supp or te d SCSI Messages (Con tinued)
CodeIn/OutDescriptionSection
05hOutINITIATOR DETECTED
ERROR
23hInIGNORE WIDE RESIDUE“IGNORE WIDE RESIDUE (23h)” on
0AhInLINKED COMMAND
COMPLETE
0BhInLINKED COMMAND
COMPLETE w/ flag
09hOutMESSAGE PARITY ERROR“MESSAGE PARITY ERROR (09h)” on
07hBothMESSAGE REJECT“MESSAGE REJECT (07h)” on page 3-7
08hOutNO–OP“NO–OPERATION (NO–OP, 08h)” on
03hInRESTORE POINTERS“RESTORE POINTERS (03h)” on page 3-7
02hInSAVE DATA POINTER“SAVE DATA POINTER (02h)” on page 3-8
“INITIATOR DETECTED ERROR (05h)” on
page 3-6
page 3-5
“LINKED COMMAND COMPLETE (0Ah)”
on page 3-6
“LINKED COMMAND COMPLETE, with
flag (0Bh)” on page 3-6
page 3-6
page 3-7
3.2Supported SCSI Messages
This section describes the messages outlined in Table 3-1.
3.2.1 ABORT (06h)
The initiator sends this message to the target to clear the current I/O process on the selected tape drive.
On buffered (cached) write operations, the tape drive attempts to complete the command, if possible.
The tape drive goes directly to the BUS FREE phase after it successfully receives this message. The
message has no effect on the current settings of the MODE SELECT parameters and reservations. It
also has no effect on commands, data, and status for other init ia tors.
An initiator may send this message to a logical unit that is not currently performing an operation for
the initiator. If the in itiat or does n ot select a logica l unit, t he tape dr ive ent ers BUS FREE phase and n o
commands, data, or status on the drive are affected.
3-2July 200481-81276-01 Rev A01
3.2.2 BUS DEVICE RESET (0Ch)
This message from an initiator clears all commands, data, and status in t he tape drive contro lle r. When
the tape drive recogniz es this message , it writ es cac hed data to the me dium and goes t o the BUS FR EE
phase. The tap e dr ive then execute s a hard reset, which leaves it as i f a BU S RESET had occ urred.
3.2.3 COMMAND COMPLETE (00h)
A target sends this message to an init iator to indicat e that it has completed the executio n of a command
or a series of linked command s and has sent v alid st atus to the in itiat or. After successfully sending this
message, the target goes to the BUS FREE phase by releasing BSY.
If the tape drive receives this message, it handles it as an illegal message. The tape drive returns
MESSAGE REJECT and enters the STATUS phase reporting CHECK CONDITION with the Sense
Key set to COMMAND ABORTED.
DLT1/VS80 SCSI Interface Guide
3.2.4 DISCONNECT (04h)
A target sends DISCONNECT to tell an initiator that the target intends to break the present physical
path; th at is, the target intends to d isconne ct by releasing B S Y. Later, the initia tor must re select th e
target in order to complete the current operation. This message does not cause the initia to r to sa ve the
data pointer.
When it receives this message from an initiator, the tape drive can respond in one of two ways.
1. It can take the message as a request by the initiator to disconnect and comply by entering the
MESSAGE IN phase and returning the DISCONNECT message to the init iator, possibly preceded
by the SAVE DATA POINTERS message. In this case, it delays a minimum of 200 ms before
arbitrating for the bus again.
2. It can enter the MESSAGE IN phase and return MESSAGE REJECT EXTENDED MESSAGE
(01h).
81-81276-01 R ev A01July 20043-3
Chapter 3: SCSI Messages
3.2.5 EXTENDED MESSAGE (01h)
An initiator or target sends this message as the first byte of a multiple-byte message (> 2 bytes).
The Extended Message Length specifies the length of the EXTENDED MESSAGE plus the number of
additional pa rameter bytes that are to follow. The length does not inc l ude bytes 0 and 1. A val ue of 0
for the Extended Message Length indicates 256 bytes to follow.
Table 3-2 lists the EXTENDED MESSAGE codes.
Table 3-2.EXTENDED MESSAGE Codes
CodeDescription
00hMODIFY DATA POINTER (not supported)
01hSYNCHRONOUS DATA TRANSFER REQUEST (see “SYNCHRONOUS
DATA TRANSFER REQUEST (SDTR)” on page 3-8)
02hReserved
03hWIDE DATA TRANSFER REQUEST (see “WIDE DATA TRANSFER
If the tape drive receives an extended me ss age that it does not support, it swi tc hes to MESSAG E IN
phase and returns MESSA G E R EJECT after t ransferring all the bytes of th e m essage.
3-4July 200481-81276-01 Rev A01
3.2.6 IDENTIFY (80h–FFh)
The initiator or target sends these messages to establish (or reestablish) the physical connection path
between an initiator and target for a particular logical unit.
Table 3-3 lists the bits in the message byte.
Table 3-3.Bits in the ID ENTIFY Messa ge
BitDescription
DLT1/VS80 SCSI Interface Guide
7
6
5
4
3
2 – 0
Always set to 1.
Set by initiator if target is allowed to disconnect/reconnect.
Must be 0 (“Target Routines” not suppor t ed).
Reserved. Must be 0.
Reserved. Must be 0.
Logical Unit Number (LUN)
When a target sends the IDENTIFY message to an initiator during reconnection, a RESTORE
POINTERS message is implied.
3.2.7 IGNORE WIDE RESIDUE (23h)
The target sends the IGNORE WIDE RESIDUE message to indicate that the number of valid bytes
sent during the las t RE Q / A C K handshake and R EQ B / A CK B handshake of a D ATA IN ph as e is le ss
than the negotiated transfer wid th. The ignore field ind ic ate s th e number of invalid data bytes
transferred. The target sends this message immediately following the DATA IN phase and before any
other messages.
Figure 3-2 shows the message format.
Bit
Byte
0Message code (23h)
1Ignore (01h)
76543210
Figure 3-2. IGNORE WIDE RESIDUE Format (23h)
81-81276-01 R ev A01July 20043-5
Chapter 3: SCSI Messages
3.2.8 INITIATOR DETECTED ERROR (05h)
An initiator sends this message to inform a target that an error, for example, a bus parity error, has
occurred that do es not prevent the t arget from attempting the operation again. Upon re ceiving this
message, the tape drive tries to retransfer the last command, data, or status bytes by using the
RESTORE POINTERS message.
3.2.9 LINKED COMMAND COMPLETE (0Ah)
A target sends this message to an initia tor to indica te that the exec ution of a lin ked command (with the
Flag bit set to 0) is complete and that the target has sent status back to the initiator. The initiator then
sets the p ointers to the initial state for th e next command.
When a target receives this message, it handles it as an illegal message. The tape drive enters the
MESSAGE IN phase and return s MES S AGE REJEC T.
3.2.10 LINKED COMMAND COMPLETE, with flag (0Bh)
A target sends this message to an initia tor to indica te that the exec ution of a lin ked command (with the
Flag bit set to 1) is complete and that th e target has sent status back to the initi at or.
3.2.11 MESSAGE PARITY ERROR (09h)
An initiator sends this message to the target to indicate that one or more bytes in the last message it
received had a parity error .
To indicate that it intends to send the me ssage, the initiat or se ts the ATN signal before it release s ACK
for the REQ/ACK handshake of the message that has the parity error. This provides an interlock so that
the target can dete rmine which me ssage has the parity error. If the target receives this message under
any other cond iti ons, it proceeds dire ctly to the BUS FREE ph ase by releasing th e BSY signal.
The target's response to this message is to switch to the MESSAGE IN phase and re-send from the
beginning all the byt es of the m es sage that generated t he original MESSAGE PARITY ERROR
message.
3-6July 200481-81276-01 Rev A01
3.2.12 MESSAGE REJECT (07h)
The initiator or target sends this message to indicate that the last message received was inappropriate
or remains not implemented .
To indicate i ts intentions of sending this me ssage, the ini tia tor asserts the ATN signal be fo re it releases
ACK for the REQ/ACK handshake of the message that is to be rejected.
The tape drive issues MESSAGE REJECT in response to any messages the tape drive considers to be
illegal or not supported. When sending to the initiator, the tape drive issues a MESSAGE REJECT
before requesting any additional message bytes.
3.2.13 NO–OPERATION (NO–OP, 08h)
If a target request s a message, the initiator sends NO–OP if it does not current ly have any other valid
message to send. The tape drive accepts the message when acting as a target and can send the message
when acting as an initiator. If the tape drive receives NO–OP during a selection operation, the tape
drive proceeds to the COMMAND phase, provided ATN does not continue being asserted. The tape
drive ignores and discards th e N O –OP message .
DLT1/VS80 SCSI Interface Guide
3.2.14 RESTORE POINTERS (03h)
A target sends this message to direct the initiator to restore the most recently saved pointers for the
currently attached logical unit. When it receives the RESTORE POINTERS message, the initiator
performs the following task s:
•Restores pointers to the command, data, and status locations for the logical unit to the active
pointers
•Restores Command and Status pointe rs to the beginning of the present Comma nd and Status areas
•Restores the Data pointer to the value at the beginning of the data area in the absence of a SAVE
DATA POINTER message, or to the value at the last SAVE DATA POINTER message that
occurred for that logical unit.
When a target receives the RESTORE POINTERS message, the target sw itches to the ME SSAGE IN
phase and returns MESSA G E R EJECT.
81-81276-01 R ev A01July 20043-7
Chapter 3: SCSI Messages
3.2.15 SAVE DATA POINTER (02h)
A target sends this message to the initiator and saves a copy of the present active data pointer for the
logical unit currently attach ed.
As a target, the tape dri ve sends this message before a di sconnect during a data transfe r. It does not
send a SAVE DATA POINTER message if it intends to move directly to the STATUS phase.
When it receives the SAVE DATA POINTER message, the tape drive swi t ches to the MESSA G E IN
phase and returns MESSA G E R EJECT.
3.2.16 SYNCHRONOUS DATA TRANSFER REQUEST (SDTR)
This extended message allows th e target and initiator to agree on the values of the parame ter s r el ev ant
to synchronous transfers. The tape drive does not initiate the SYNCHRONOUS DATA TRANSFER
REQUEST (SDTR) message, but relies on the Initiator to do so.
extended me ssages.
Figure 3-3 shows the format for
Bit
Byte
0Extended Message Identifier (01h)
1Extended Message Length (03h)
2SYNCHRONOUS DATA TRANSFER REQUEST (01h)
3Transfer Period: min = 100ns (19h)
4Transfer REQ/ACK Offset: max = 15 (0Fh)
Figure 3-3. SDTR Extended Message For m at
NOTE: The tape drive supports initiating synchronous transfer negotiations with
76543210
the host, but th is feature is disabled by default . To enable it, set t he
MODE SELECT Vendor Unique EEPROM parameter EnaInitSyncNeg.
3.2.17 WIDE DATA TRANSFER REQUEST (WDTR)
The WDTR messa ge ex chang e esta blis hes an agreeme nt be twee n two SCS I tape drive s on th e widt h of
the data path to be used for DATA phase transfer between the two tape drives. All other information
transfer phases use an eight- bi t data path.
3-8July 200481-81276-01 Rev A01
Figure 3-4 shows the format for this extended message.
DLT1/VS80 SCSI Interface Guide
Bit
Byte
0Extended Message Identifier (01h)
1Extended Message Length (02h)
2WIDE DATA TRANSFER REQUEST (03h)
3Transfer Width Exponent
76543210
Figure 3-4. WDTR Message Format
A SCSI tape dr ive in iti ates a WDTR messa ge exch ange wheneve r a prev ious ly arra nge d tran sfer width
agreement may have become invalid. The agreement becomes invalid after any condition that leaves
the data transf er agreement i n an indeterminate state:
•After a hard reset condition
•After a BUS DEVICE RESET message
•After a power cycle.
The tape drive implements both the wide and synchronous data transfer options. It negotiates the wide
data transfer agreement before negotiating the synchronous data transfer agreement. If a synchronous
data transfer agreement is in effect, the tape drive resets the synchronous agreement to asynchronous
mode after accepting a WD TR me ssage.
n
The transfer width is expressed as 2
where n is the transfe r w i dt h i n bytes. The establ ished transfer
width applies t o all logical units. Valid transfer widths fo r th e tape drive are 8 b its (m = 00h) and 16
bits (m = 01h). Values of m greater than (01h) are reserved.
81-81276-01 R ev A01July 20043-9
Chapter 3: SCSI Messages
Notes
3-10July 200481-81276-01 Rev A01
CHA PTER 4
Chapter 4
This chapter describes the supported SCSI comman ds, options, and err or recovery procedures
implemented in the Quantum DLT1/VS80 tape drive. This chapter does not fully r eiterate the enti re
ANSI SCSI specification; for information of this nature, refer to the SCSI specification itself.
The web sites http://www.scsita.org and http://www.t10.org are also helpfu l so ur ce s of info rma tion.
SCSI Commands
4.1Control Byte — Flag and Link Bits
The control byte of t he Command Descriptor Block (CD B) contains th e Fl ag and Link bits. U se of
these bits depends entirely on the initiator. Setting the Link bit provides an automatic link to the next
command, bypassing the usual ARBITRATION, SELECTION, and MESSAGE OUT phases that
would normally occur between commands.
All other bits in the Control Byte are reserved.
81-81276-01 R ev A01July 20044-1
Chapter 4: SCSI Commands
4.2Summary of Supported Sequential-Access Tape
Drive Commands
The following ta ble shows the SCSI c om mands/Opcodes the tape drive s upports and the page in this
manual on which you can find each com mand.
ERASE causes data on the medium to be erased. Before executing the ERASE command, the tape
drive flushes to medium any write data currently held in a data cache and not yet written.
DLT1/VS80 SCSI Interface Guide
Bit
Byte
0Operaton Code (19h)
1Logical Unit NumberReservedImmedLong
2 - 4Reserved
5UnusedReservedFlagLink
76543210
Figure 4-1. ERASE (19h) Command Descriptor Block — Data Format
Table 4-2.ERASE (19h) Command D es cr ip t or Blo ck — Field Descriptio ns
Field NameDescription
LUNLogical Unit Number. The target ignores this field. Only an IDENTIFY message
can change the LUN.
ImmedImmediate. If this bit is 0, the target does not return status until the selected
operation has completed. If the bit is 1, the target returns the status as soon as the
tape drive has initiated the operation.
LongThe Long bit controls the distance to be erased. If the bit is set, the tape drive
writes filler and EOD blocks if needed and then erases the entire rest of the
medium.
Note: This command is a NO-OP on the tape drive unless the Long bit is set.
Issuing the ERASE command away from BOT is an ILLEGAL REQUEST.
81-81276-01 R ev A01July 20044-3
Chapter 4: SCSI Commands
4.4INQUIRY (12h)
INQUIRY tells the tape drive to send information regarding its parameters to the initiator.
Figure 4-2. INQUIRY (12h) Command Descriptor Block — Data Format
The INQUIRY command e xecutes norma lly even if the speci f ie d LUN is not suppor t ed. INQUIRY
returns a CHECK CONDITION status only when the target cannot return the requested INQUIRY
data. If a tape driv e rece ives I NQUIRY from an in itiator with a pending UNIT ATTENTION condition
(before the tape drive r eports CHECK CONDITION status), the tape drive perfo rms the INQUIR Y a nd
does not clear the U N I T ATTENTION condition.
Table 4-3.INQUIRY (12h) Command Descriptor Block — Field Descriptions
Field NameDescription
LUNLogical Unit Number. The target ignores this field. Only an IDENTIFY message
can change the LUN.
EVPDVital Product Data. The tape drive implements the Vital Product Data pages option
on LUNs 0 and the optional medium loader LUN.
Page Code or Operation
Code
If the Page Code field contains a different value, the tape drive generates a CHECK CONDITION with
ILLEGAL REQUEST Sense Key.
4-4July 200481-81276-01 Rev A01
The tape drive implements three Vital Product Data pages:
Code
00h
80h
C0h
Page Definition
Supported Vital Product Data pages
Unit Serial Number page
Code Build Information page.
Table 4-3.INQUIRY (12h) Command Descriptor Block — Field Descriptions (Continued)
Field NameDescription
Allocation LengthThis specifies the maximum number of bytes that the initiator has allocated for
returned INQUIRY data. An Allocation Length of zero indicates no INQUIRY
data transferred. This condition is not considered an error. The tape drive
terminates the DATA IN phase when it has transferred Allocation Length bytes or
all available Inquiry data to the initiator, whichever is less.
4.4.1 Tape Drive Inquiry Response
The tape drive returns the following information in response to an INQUIRY command on the tape
drive LUN.
DLT1/VS80 SCSI Interface Guide
Bit
Byte
0Per iphera l QualifierPeripheral Device Type
1RMBDevice Type Modifier
2
3ANECTrmlOPReservedResponse Data Format
4Additional Length (35h)
5Reserved
6ReservedMChngrReserved
7RelAdrWbus32Wbus16SyncLinkedRsv’dCmdQuSftRes
8–15Vendor ID = “QUANTUM“
16–31Product ID = “VS80”
32–35Product Revision Level = “xxyy”
36–55Vendor Unique Bytes
76543210
ISO VersionECMA
Version
ANSI-Approved Version
Figure 4-3. Standard Inquiry Data Page — Data Format
81-81276-01 R ev A01July 20044-5
Chapter 4: SCSI Commands
The following table contains field descriptions for the data that the tape drive returns.
Table 4-4.Standard I nquiry Data Page — Field Descriptio ns
Field NameDescription
Peripheral QualifierThe tape drive returns one of the following values in this field:
Peripheral Device TypeOn the tape drive LUN, this field is 01h, indicating a sequential access device. On
000bThe indicated Peripheral Device Type is connected to the logical
unit.
001bThe indicated Peripheral Device Type is not connected to the
logical unit; however, the tape drive is capable of supporting the
indicated Peripheral Device Type at the specified logical unit.
011bThe target is not capable of supporting a physical device on this
logical unit. In this case, the Peripheral Device Type is 1Fh.
the Medium Changer LUN, this field is 08h. All other LUNs return 1Fh.
Other Inquiry Data
Fields
The rest of the fields in the Inquiry Response are used as follows:
Byte 1RMB – Removable Medium bit. Set to 1.
Device Type Modifier. Set to 0.
Byte 2ISO Version. Set to 0
ECMA Version. Set to 0
ANSI Approved Version. Set to 02h, indicating compliance with
SCSI-2
Byte 3ANEC. Set to 0 (Asynchronous Event Notification not
supported)
TrmIOP. Set to 0 (TERMINATE I/O PROCESS message not
supported)
Response Data Format. Set to 2 (Inquiry Data in SCSI-2 format)
Byte 4Additional Length. The tape drive sets this field to indicate the
number of additional bytes of INQUIRY Response Data
available.
Byte 6All bits set to 0, except MChngr – Set to 1 if an integrated Media
Loader is present and EEPROM parameter EnbIngMedChgr
is 1. This SCSI-3 bit indicates that the initiator can issue READ
ELEMENT STATUS and MOVE MEDIUM commands to the
tape drive LUN (0). By default, this bit is 0.
4-6July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-4.Standard I nquiry Data Page — Field Descriptio ns (Continued)
Field NameDescription
Byte 7RelAdr. Set to 0
WBus32. Set to 0 (The tape drive does not support 32-bit
transfer.)
WBus16. Set to 1 (The tape drive supports 16-bit wide data
transfers.)
Sync. Set to 1 (The tape drive supports Synchronous Data
Transfer/
Linked. Set to 1 (The tape drive supports Linked commands.)
CmdQu. Set to 0
SftRes. Set to 0
Vendor Identification“QUANTUM”
Product Identification“VS80 ”
Product Revision LevelThis field contains four bytes of ASCII data that define the product's software
Revision Levels. The first two bytes are the version number of servo code. In
Quantum products, this firmware is located in an EEPROM and is field
updateable. The second two bytes are the version number of the SCSI/read/write
code. When a firmware update is performed on the tape drive, this part of the
Revision Level field changes appropriately.
Vendor SpecificSee “Vendor Unique Inquiry Bytes” on page 4-9
81-81276-01 R ev A01July 20044-7
Chapter 4: SCSI Commands
4.4.2 Vendor Unique Inquiry Data
Use the follo w in g information t o id entify precisel y t he revision of su bsystem components.
Bit
Byte
36Product FamilyReleased Firmware
37Firmware Major Version #
38Firmware Minor Version #
39EEPROM Format Major Version #
40EEPROM Format Minor Version #
41Firmware Personality
42Firmware Sub-personality
43Tape Directory Format Version #
44Controller Hardware Version #
45Drive EEPROM Version #
46Drive Hardware Version #
47Media Loader Firmware Version #
48Media Loader Hardware Version #
76543210
49Media Loader Mechanical Version #
50Media Loader Present Flag
51Library Present Flag
52–55Module Revision
Figure 4-4. INQUIRY Vendor Unique Bytes — Data Format
4-8July 200481-81276-01 Rev A01
4.4.3 Vendor Unique Inquiry Bytes
To identify the product and the installed firmware more precisely, additional information is available.
Refer to Table 4-5.
Table 4-5.Vendor Uni que Inquiry Dat a — Field Descriptions
Field NameDescription
Product FamilyUse the following table to determine the meaning of the Product Family Bit value:
0Not Specified
140 / 80 GB
2 – 7Reserved
Released FirmwareThis flag differentiates between released and test versions of firmware. One
indicates released code (Vxxx) or field test code (Txxx). Released code has no
Minor FW Version number (byte 38 is 0). Field test and engineering versions of
code have non-zero Minor FW Version numbers for tracking purposes.
DLT1/VS80 SCSI Interface Guide
Various Version
Numbers
Firmware PersonalityNumeric indicator of firmware personality.
Firmware Sub-
personality
Loader PresentNon-zero if a media loader is present.
Library PresentNon-zero if a library is present.
Module RevisionsA four-byte ASCII string represents the revision of the hardware module.
Product Revision LevelThis field contains four bytes of ASCII data which define the product's software
In binary, not ASCII (see 4.4.1, “SCSI Commands”).
Numeric indicator of firmware sub-personality.
Revision Levels. The first two bytes are the version number of servo code. In
Quantum products, this firmware is located in an EEPROM and is field
updateable. The second two bytes are the version number of the SCSI/read/write
code. When a firmware update is performed on the tape drive, this part of the
Revision Level field changes appropriately.
81-81276-01 R ev A01July 20044-9
Chapter 4: SCSI Commands
4.4.4 Vital Product Data Pages
The followin g ta bl es show the infor m ation in the supported Vital Product Data Pages.
Supported Vital Product Data Page (00h)
Figure 4-5 shows the supported vital product data pages.
Bit
Byte
0Per iphera l QualifierPeripheral Device Type
1Page Code (00h)
2Reserved
3Page Length (03h additional bytes)
400h – (this page)
580h – Unit Serial Number Page
683h – Device Identification Page
7C0h – Firmware Build Information Page (Vendor Unique)
8Subsystem Components Revision Page (C1h – Quantum use only)
76543210
Figure 4-5. Supported Vital Product Data P age — Data Format
Unit Serial Number Page (80h)
The serial number identifies t he printed circ ui t ca rd mounted on th e bottom of the tap e dr ive. You can
also find it on the bar code label. The tape drive returns the serial number in ASCII.
Bit
Byte
0Per iphera l QualifierPeripheral Device Type
1Page Code (80h)
2Reserved
3Page Length (0Ah)
4–13Serial Number
76543210
Figure 4-6. Unit Serial Number Page — Data Format
4-10July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Firmware Build Information Page (C0h)
The checksum s ar e binary, and provide positive Fi rm ware and EEPRO M identification.
Firmware Build Date is an ASCII string in DD-Mmm-YYYY HH:MM:SS forma t.
Bit
Byte
0Per iphera l QualifierPeripheral Device Type
1Page Code (C0h)
2Reserved
3Page Length (20h)
4–7Servo Firmware Checksum
8–11SCSI/Read/Write Firmware Checksum
12–35SCSI/Read/Write Firmware Build Date
76543210
Figure 4-7. Firm w are Build Informat i on Page — Data Format
Media Loader Inquiry Response
The tape drive controller generates INQUIRY Data on the Medium Changer LUN that is very similar
to that of the tape drive LUN. The key difference is that the Peripheral Device Type is “8” for a SCSI-2
Medium Changer.
81-81276-01 R ev A01July 20044-11
Chapter 4: SCSI Commands
Subsystem Components Revision Page (C1h)
The followin g in formation pr ecisely identifies the revision of tape drive su bsystem components.
NOTE: Note: This page is for Quantum use only; page content is subject to
Figure 4-8. Subsystem Components Revision Page — D at a Format
Table 4-6.Subsystem Components Revision Page — Fi el d D es cr i ptions
Field NameDescription
Peripheral
Qualifier
Peripheral
Device Type
Page CodeA value of C1h identifies this as the Subsystem Components Revision page.
Contains 000b if the command is directed to a valid device. Contains 011b if
there is no device at the selected LUN.
Contains 01h if the LUN is 0h, 8h if the LUN selects an attached library, or
1Fh if there is no device at the selected LUN.
Page LengthIndicates the size of the returned Subsystem Components Revision page.
Unit Part
Number
4-12July 200481-81276-01 Rev A01
The part number of the tape drive; this number appears on a bar code label
on the base of the drive (on the side, at the back of the drive), and is different
from the serial number. The drive returns the unit part number in ASCII
format. The value is left justified and unused bytes are padded with spaces.
4.5LOAD/UNLOAD (1Bh)
The LOAD/UNLOAD command tells the target to load or unload the media in the dat a cartridg e. If no
cartridge is present in the tape drive, both LOAD and UNLOAD return CHECK CONDITION status
with a NOT READY Sense Key set. If the tape drive has received an UNLOAD command with the
Immed bit set, and then receiv es another command in volving medium motio n or TEST UNIT READY,
the tape drive returns a CHECK CONDITION status with a NOT READY Sense Key set.
Operation of the UNLOAD version of this command is different if a media loader is present.
Two modes of operation are possible when a media loader is attached. If the media loader has issued
no media lo ade r-sp ecif ic co mman ds, th e tap e dri ve oper ates in t he sequ enti al mo de of op erat ion. When
a media loader has issued a media loader-specific command and the tape drive has accepted it, the tape
drive disable s th e s equential mode of operation an d the UNLOAD com m and become s a N O –OP.
If the tape drive is in the defaul t s equential mod e of operation and th e subsystem re cei ves an
UNLOAD command, the tape drive unloads the current data cartridge and the media loader
automatically moves it to the magazine slot from which it originated. The media loader automatically
moves the data cartridge from the next slot in the magazine, if not empty, from the magazine into the
tape drive, whi ch l o ads it and prepares it for use. If the next magazine sl ot is empty, no CHECK
CONDITION status is created.
DLT1/VS80 SCSI Interface Guide
When the media loader moves an unloaded data cartridge into the last magazine slot), the subsystem
does not cycle back to slo t 0. This preve nts accid ental overwrit ing of data wh en using the subsyste m in
the sequential auto-loading mode. The user mus t m a nually select and load the next data cartridge or
use a SCSI MOVE MEDIUM command.
You can modify EEPROM parameters ENALDRAUTOLD and DISLDRAUTOLDMC to enable or
disable the sequential loading feature (see Section 4.10.10, “EEPROM Vendor Unique Page (3Eh)” ).
81-81276-01 Rev A01July 20044-13
Chapter 4: SCSI Commands
A media loader does not affect the tape drive's processing of the LOAD flavor of the LOAD/
UNLOAD command.
Bit
Byte
76543210
0Operation Code (1Bh)
1Logical Unit NumberReservedImmed
2 - 3Reserved
4ReservedEOTRe-TenLoad
5UnusedReservedFlagLink
Figure 4-9. LOAD-UNLOAD (1Bh) Command Descriptor Block — Data Format
Table 4-7.LOAD/UNLOAD (1Bh) Command Descriptor Block — Field Descriptions
Field NameDescription
LUNLogical Unit Number. The target ignores this field. Only an IDENTIFY message
can change the LUN.
ImmedImmediate. If this bit is set, the tape drive returns status as soon as the operation
starts. Otherwise, the tape drive returns status after the operation has completed.
Re-TenRe-tension. These operations are not needed on the tape drive, so this bit is ignored
(that is, GOOD status, if the bit is set).
LoadWhen a cartridge is inserted, the tape drive automatically loads the media and
positions it at BOM. Logically, the tape drive positions the media at the beginning
of Partition 0.
If the Load bit is set and the media is already loaded, the tape drive takes no action.
If the Load bit is 0 and media is loaded, the tape drive writes any buffered data and
filemarks to the medium, rewinds the medium to BOM, and unloads the media into
the data cartridge. The tape drive partially ejects the cartridge, which you can then
remove.
EOTEnd of Tape. The tape drive ignores this bit unless both the EOT and Load bits are
set; then the tape drive returns CHECK CONDITION, ILLEGAL REQUEST.
4-14July 200481-81276-01 Rev A01
4.6LOCATE (2Bh)
Use the LOCATE command for high-speed positioning to the specified block address.
DLT1/VS80 SCSI Interface Guide
Bit
Byte
0Operation Code (2Bh)
1Logical Unit NumberReservedBTCPImmed
2Reserved
3 - 6
7Reserved
8Partition
9UnusedReservedFlagLink
76543210
(MSB)
Block Address
(LSB)
Figure 4-10. LOCATE (2Bh) Command Descrip tor Block — Data Form at
When writing, use the READ POSITION command to obtain the block address where particular
blocks of data (for example, a data file) are about to be written. Then use the LOCATE command to
position back to the same logical position for high performance restore operations of particular blocks
of data.
Table 4-8.LOCATE (2Bh) Command Descriptor Block — Fi el d D es cr i ptio ns
Field NameDescription
LUNLogical Unit Number. The target ignores this field. Only an IDENTIFY message
can change the LUN.
BTBlock Type. This bit indicates how the Block Address field is interpreted. The tape
drive always returns SCSI Logical Block addresses; that is, setting the BT bit does
not affect the values returned. The first recorded object (block or filemark) is at
address 0, and Block Addresses count both data blocks and filemarks.
CPChange Partition. Since the drive does not support multiple partitions, this bit must
be 0.
ImmedImmediate. When 1, the drive returns status as soon as the operation starts. When
0, the drive returns status after the operation has completed.
81-81276-01 Rev A01July 20044-15
Chapter 4: SCSI Commands
Table 4-8.LOCATE (2Bh) Command Descriptor Block — Fi el d D es cr i ptio ns (Continued)
Field NameDescription
Block AddressThe Block Address field defines the SCSI Logical Block Address to which the
media will be positioned. These addresses start at 0 and include data blocks and
filemarks.
4.7LOG SELECT (4Ch)
The LOG SELECT command allows the host to manage statistical information the tape drive
maintains about its own hardware parameters and about the installed media. All types of parameter
values are changeable through LOG SELECT. Read the description of the LOG SENSE (4Dh)
command on Page 4-23; it provides information about log page format, param eters, and supported
pages.
Bit
Byte
0Operation Code (4Ch)
1Logical Unit NumberReservedPCRSP
2PCReserved
3 - 6Reserved
7 - 8
9UnusedReservedFlagLink
76543210
(MSB)
Parameter List Length
Figure 4-11. LOG SELECT (4Ch) Command Descriptor Block — Data Format
(LSB)
4-16July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-9.LOG S ELECT (4Ch) Comm and Descriptor Bl ock — Field Descri ptions
Field NameDescription
LUNLogical Unit Number. The target ignores this field. Only an IDENTIFY message
can change the LUN.
PCRParameter Code Reset. If this bit is 1 and the Parameter List Length field is 0, all
accumulated values of page codes 2, 3, and 32 are 0 and all threshold values are
default. If PCR is 1 and the Parameter List Length field is a non-zero value, the
tape drive terminates the command with CHECK CONDITION status, Sense Key
set to ILLEGAL REQUEST, and Additional Sense Code (ASC) set to INVALID
FIELD IN CDB.
SPSave Page. The tape drive does not support this bit and sets it to 0. If the SP bit
is 1, the tape drive terminates the command with CHECK CONDITION status,
Sense Key of ILLEGAL REQUEST, and ASC of INVALID FIELD IN CDB.
PCPage Control. This field defines the type of parameter values to be selected.
Code
00b
01b
10b
11b
Type of Parameter Values
Threshold Values
Cumulative Values
Default Threshold Values
Default Cumulative Values
When the PC field is 00b or 01b and the Parameter List Length field is 0, the tape
drive terminates the command with a CHECK CONDITION status, with Sense
Key of ILLEGAL REQUEST, and ASC of INVALID FIELD IN CDB. This is
because modification of current Threshold Values and current Cumulative Values
is not supported.
When the PC field is 10b and the Parameter List Length field is 0, then all current
Threshold Values are reset to the Default Threshold Values. This is equivalent to
no change, since Threshold Values cannot be modified.
When the PC field is 11b and the Parameter List Length field is 0, then all current
Cumulative Values are reset to the Default Cumulative Values. This is equivalent
to clearing all log pages that can be cleared.
Parameter List LengthThis field specifies the length in bytes of the LOG SELECT parameter list to be
transferred from the initiator to the target during the DATA OUT phase. A
parameter list length of 0 indicates that no data is to be transferred. This condition
is not considered an error (see the description of Parameter Code Reset and Page
Control fields elsewhere in this section).
81-81276-01 Rev A01July 20044-17
Chapter 4: SCSI Commands
4.7.1 Error Detection Summary in LOG SELECT CDB
The following conditions constit ut e er ro rs th at the tape drive dete cts in relation to the CDB. The
REQUEST SENSE data is set to ILLEGAL REQUEST, INVALID FIELD IN CDB.
•PCR bit is 1 and paramete r list length is not 0.
•SP bit is 1.
•A parameter li st length would cause a parameter w i thin a valid page to be tr uncated or otherw ise
incompletely initialize d .
4.7.2 Operation of LOG SELECT
The LOG SELECT command allows the initiator to modify and initialize parameters within the logs
supported by the tape drive.
There are two ways to initialize the log parameters:
1. Set the PCR bit in the LOG SELECT CDB, clearing all parameters.
2. Specify the log page and the parameter value as the log parameters to clear individual page s. You
If sending multiple pages during this DATA OUT phase, the initiator must send them in ascending
order according to Page Code. Otherwise the command terminates with a CHECK CONDITION
status, with the Sense Key set to ILLEGAL REQUEST, and an Additional Sense Code of INVALID
FIELD IN PARAMETE R LIST. The tape drive returns the same stat us if an unsupported Page Code
appears in any header or if it cannot clear the specified page.
4-18July 200481-81276-01 Rev A01
4.7.3 LOG SELECT Page Format
Each Log page begins with a 4-byte head er followed by n number of log parameter blocks, one block
for each parameter code. Each block, exc ept for parameter code 05h, is 8 by tes. The parame t er block
for code 05 h i s 12 bytes.
DLT1/VS80 SCSI Interface Guide
Bit
Byte
0ReservedPage Code
1Reserved
2 - 3
76543210
(MSB)
Page Length
Figure 4-12. LOG SELECT Log Page Header — Data Format
Ta ble 4-11.L OG SELECT Log Page Header — Field Descri pt i ons
Field NameDescription
Page CodeThe Page Code specifies which Log Page this LOG SELECT command affects.
Page LengthThe Page Length specifies the total number of bytes contained in this Log Page,
not including the four bytes of the header.
(LSB)
81-81276-01 Rev A01July 20044-19
Chapter 4: SCSI Commands
Bit
Byte
76543210
(MSB)
0 - 1
Parameter Code
2DUDSTSDETCTMCRsv’dLP
3Parameter Length (n – 3)
(MSB)
4 - n
Parameter Value
Figure 4-13. LOG SELECT Log Page Param eters — Data Format
Table 4-12.LOG SELECT Log Page Paramet er s — Fi el d D escriptions
Field NameDescription
(LSB)
(LSB)
Parameter CodeRefer to the LOG SENSE command for an explanation of the Parameter Codes
supported for the requested log page.
Parameter Control ByteByte 2 of Log parameter block in Figure 4-13 is referred to as the Parameter
Control Byte.
4-20July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-12.LOG SELECT Log Page Paramet er s — Fi el d D escriptions (Cont i nued)
Field NameDescription
DUDisable Update. This bit is not defined for LOG
SELECT; the drive ignores any value in DU.
DSDisable Save. Saving parameters is not supported. Set
both DS and TSD to 1. If the DS and/or TSD are 0, the
command is terminated with CHECK CONDITION
status, with the Sense Key set to ILLEGAL REQUEST,
with the Additional Sense Code set to INVALID
FIELD IN PARAMETER LIST.
TSDTarget Save Disable. Saving parameters is not
supported. Set both DS and TSD to 1. If the DS and/or
TSD are 0, the command is terminated with CHECK
CONDITION status, with the Sense Key set to
ILLEGAL REQUEST, with the Additional Sense Code
set to INVALID FIELD IN PARAMETER LIST.
ETCEnable Threshold Comparison. When set to 1, the tape
drive performs a comparison with threshold values
after updating the cumulative value. Comparison
criteria are defined in TMC. If the comparison is met
and the RLEC bit of MODE SELECT/SENSE Control
Page is 1, then a UNIT ATTENTION is generated for
all initiators. The Additional Sense Code is set to LOG
EXCEPTION and the Additional Sense Code Qualifier
is THRESHOLD CONDITION MET. If the RLEC bit
is 0 and the comparison is met, then UNIT
ATTENTION is not generated.
TMCThreshold Met Criteria. See Table 4-16 on page 4-28
for the list of criteria. After the specified criteria in this
field is met, the ETC bit is 1, and the RLEC bit in
MODE SENSE/SELECT Control Page is 1, then the
UNIT ATTENTION message is generated for all
initiators.
LPList Parameter. This bit should always be 0 to indicate
that parameter codes are treated as data counters.
Parameter LengthThis field specifies the number of bytes of the parameter value.
Parameter ValueThis field is the actual value of this log parameter.
81-81276-01 Rev A01July 20044-21
Chapter 4: SCSI Commands
Table 4-13.Supp or ted Paramete r Codes
Parameter CodeParameter LengthDescription
8000h04hVendor Unique
Parameter codes 00h, 01h, and 04h always return a value of 0.
00h04hErrors corrected with substantial delays
01h04hErrors corrected with possible delays
02h04hTotal rewrites or rereads
03h04hTotal errors corrected
04h04hTotal times correction algorithm processed
05h04hTotal bytes processed
06h04hTotal uncorrected errors
NOTE: The parameter v al ue for code 05h is 8 by te s; the parameter length is set
to 8.
4.7.4 Error Detection Summary in LOG SELECT Pages
The host issues a LOG SELECT command to i nitialize host -residen t software, wh ich allows th e host to
determine the following pages or codes:
•The pages the tape dri ve uses.
•The parameter codes and length of each parameter.
The following conditions constitute errors in the parameter block; they cause the tape drive to return
CHECK CONDITION, with the Sense Key set to ILLEGAL REQUEST, and Additional Sense Code
INVALID FIELD IN PARAMETER LI S T:
•The tape drive rec ei ves a page header containing unsupported page codes.
•The page header includes an inco rrect log page lengt h.
•A valid page cod e contains an illegal parameter code.
•The initiator did not send parameter codes for a supported page in ascending order.
•LP bit is 1 in the parameter control byte.
•DS bit is 0 in the parameter control byte.
•TSD bit is 0 in the parameter control byte.
4-22July 200481-81276-01 Rev A01
4.8LOG SENSE (4Dh)
The LOG SENSE command allows the host to retrieve statisti cal in fo rma tion the tape drive maintains
about its own hardware or the installed media. This command complements LOG SELECT.
DLT1/VS80 SCSI Interface Guide
Bit
Byte
0Operation Code (4Dh)
1Logical Unit NumberReservedPPCSP(0)
2PCPage Code
3 - 4Reserved
5 - 6
7 - 8
9UnusedReservedFlagLink
76543210
(MSB)
Parameter Pointer
(MSB)
Allocation Length
Figure 4-14. LOG SENSE (4Dh) Command Descriptor Block — Data Format
(LSB)
(LSB)
Table 4-14.LOG SEN SE (4Dh) Comm and Descriptor Bl ock — Field Descriptions
Field NameDescription
LUNLogical Unit Number. The target ignores this field. Only an IDENTIFY message
can change the LUN.
81-81276-01 Rev A01July 20044-23
Chapter 4: SCSI Commands
Table 4-14.LOG SEN SE (4Dh) Comm and Descriptor Bl ock — Field Descriptions (Continued)
Field NameDescription
PPCParameter Pointer Control. This bit must be 0. A Parameter Pointer Control bit of 0
SPSaving Log Parameters. Not supported, this bit is always 0.
indicates that the parameter data requested from the tape drive starts with the
parameter code specified in the Parameter Pointer field. It also returns the number
of bytes specified in the Allocation Length field in ascending order of parameter
codes from the specified log page. A PPC bit of 0 and a Parameter Point field of 0
cause all available parameter data for that page code to be returned to the initiator.
Note: The current implementation of the Read/Write Compression Page does not
support a parameter pointer other than 0.
If the PPC bit is set or the Parameter Pointer is larger than the highest numbered
parameter on the page, the target terminates the command with CHECK
CONDITION status. It sets the Sense Key to ILLEGAL REQUEST and the
Additional Sense Code to INVALID FIELD IN CDB.
If the target does not support a parameter code within this page, it does not return
any data associated with this parameter.
If the SP bit is set, the command is terminated with CHECK CONDITION status,
with the Sense Key set to ILLEGAL REQUEST , and an Additional Sense Code of
INVALID FIELD IN CDB.
PCPage Control. This field defines the type of parameter values to be returned:
PC
00b
01b
10b
11b
Type of Parameter Values
Threshold Values
Cumulative Values
Default Threshold Values
Default Cumulative Values
The Default Threshold Values are the maximum values that each parameter can
attain.
The current Cumulative Values are the values computed since the last reset of the
tape drive (either by power cycling, BUS DEVICE RESET, or SCSI BUS
RESET).
The Default Cumulative Values are the values to which each parameter is
initialized on a reset condition, as described previously.
By default, current Threshold Values = Default Threshold Values.
Note: All types of parameter values are changeable through LOG SELECT.
4-24July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-14.LOG SEN SE (4Dh) Comm and Descriptor Bl ock — Field Descriptions (Continued)
Field NameDescription
Page CodePage Code. This field identifies which log page the initiator is requesting. If the
page is not supported, the command terminates with a CHECK CONDITION
status, with the Sense Key set to ILLEGAL REQUEST, and an Additional Sense
Code of INVALID FIELD IN CDB. Supported pages follow:
Page Code
00h
02h
03h
07h
2Eh
32h
33h
3Eh
Parameter PointerParameter Pointer. This field allows the host to specify at which parameter within a
log page the requested data should begin. For example, if a page supports
parameters 0 through 5, and the Parameter Pointer field contains 3, the target
returns only parameters 3, 4, and 5 to the initiator. Similarly, if a page supports
parameters 1, 3, and 6, and the Parameter Pointer field contains 2, the target returns
only parameters 3 and 6 to the initiator.
If Parameter Pointer is larger than the highest numbered parameter on the page, the
target terminates the command with CHECK CONDITION status. The Sense Key
is ILLEGAL REQUEST and the Additional Sense Code is INVALID FIELD IN
CDB.
Note: The target always returns parameters within a page in ascending order
according to parameter code.
Allocation LengthAllocation Length. This field informs the target how much space the initiator has
allocated for data. There must be sufficient space allocated for all the requested
data, otherwise the command terminates with a CHECK CONDITION status, with
Sense Key of ILLEGAL REQUEST, and Additional Sense Code (ASC) of
INVALID FIELD IN CDB.
Page Description
List of Supported Pages Page
Write Error Counter Page
Read Error Counter Page
Last n Errors Events Page
TapeAlert Log Page
Compression Ratio Page
Device Wellness Log Page
Device Status Log Page
4.8.1 Error Detection Summary in LOG SENSE CDB
The following conditions constitute errors that the tape drive det ec ts in rel at io n to the CDB. It sets the
request sense data to ILLEGAL REQUEST, INVALID FIELD IN CDB.
•A page is unsu pported.
•A Parameter Pointer is larger than the highest numbered parameter on the page.
•An SP bit is 1.
•An Allo cation Le ngth is sm aller th an the da ta being returned by the targ e t.
81-81276-01 Rev A01July 20044-25
Chapter 4: SCSI Commands
4.8.2 Supported Pages Log Page (Page 00h)
When the host requests the page that contains the list of supported pages (Page Code 00h), th e tape
drive returns the 4-byte page header followed by the page code for each supported page, displaying the
codes in as cending order, one byte for each.
Bit
Byte
0ReservedPage Code (00h)
1Reserved
2 - 3
400h
502h
603h
707h
82Eh
932h
1033h
113Eh
76543210
(MSB)
Page Length (08h)
(LSB)
Figure 4-15. Supported Pages Log Page 0 — Data Fo rm at
4-26July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
4.8.3 Read/Write Error LOG SENSE Page (Pages 02h and 03h)
Each log page beg ins with a 4-byte h ea d er followed by n number of log parameter blocks, w i th each
block containi ng 8 bytes, except for parame te r code 05h. The lo g parameter block for the param eter
total bytes processed (05h) is 12 bytes, since the parameter value is 8 bytes long.
Bit
Byte
0ReservedPage Code
1Reserved
2 -3
76543210
(MSB)
Page Length
(LSB)
Figure 4-16. Read / Write Error LOG SENSE (P age 2 and 3) Header — D at a Format
Table 4-15.Read / Write Error LOG SENSE (Page 2 and 3) — Field Descriptions
Field NameDescription
Page CodeThe Page Code echoes the page code that was specified in the LOG SENSE CDB.
Page LengthThe Page Length specifies the total number of bytes contained in this log page, not
including the four bytes of the header.
For example, if the PPC bit is 0 and Parameter Pointer is 0, the target returns
4 bytes of page header, with page length of 3Ch, followed by 8 bytes of log
parameter data for each parameter code, except for parameter code 05h. For code
05h, it returns 12 bytes.
Parameter codes may be 8 or 12 bytes long. Refer to the following table for the
length of each Parameter Code.
Parameter CodeLength in Bytes
0h, 01h, 02h, 03h, 04h,
and 06h
05h12
81-81276-01 Rev A01July 20044-27
8
Chapter 4: SCSI Commands
Bit
Byte
76543210
(MSB)
0 –1
Parameter Code
(LSB)
1
2
DUDSTSDETCTMCRsv’dLP
3Parameter Length
(MSB)
4 – n
Parameter Value
(LSB)
1.The byte 2 fields are collectively referred to as the Parameter Control byte.
Figure 4-17. Read / Write Error LOG SENSE Parameters (Pages 02h and 03h) — Data Format
Table 4-16. Read / Write Error LO G SENSE Parameters (Pages 02h and 03h) — Field
Descriptions
Field NameDescription
Parameter CodeThe following parameter codes are supported for the Read / Write error counter
pages:
Parameter Code
00h
01h
02h
03h
04h
05h
06h
8000h
Description
Errors corrected with substantial delays
Errors corrected with possible delays
Total rewrites or rereads
Total errors corrected
Total times correction algorithm processed
Total bytes processed
Total uncorrected errors
Vendor unique
Parameter codes 00h, 01h, and 04h always return a value of 0.
4-28July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-16. Read / Write Error LO G SENSE Parameters (Pages 02h and 03h) — Field
Descriptions (Continued)
Field NameDescription
Parameter Control ByteDU, DS, TSD, ETC, TMC, LBIN, and LP are collectively referred to as the
Parameter Control Byte.
DUDisable Update. A value of 0 indicates that target
updates all log parameter values. A value of 1 indicates
that target does not update the log parameter values
except in response to LOG SELECT. The tape drive
sets this bit when accumulated values reach maximum.
The host also returns this bit set if the host set the bit in
the last LOG SELECT command. The default is 0.
Note: For parameter types other than threshold and
cumulative values, the DU bit is always 0.
DSDisable Save. Since the tape drive does not support
saving parameters, this bit is always 1.
TSDTarget Save Disable. Since the tape drive does not
support saving parameters, this bit is always 1.
ETCEnable Threshold Comparison. ETC of 1 indicates that
comparison to threshold is performed. ETC of 0
indicates that this comparison is not performed. This bit
is 1 by LOG SELECT command. Default is 0.
81-81276-01 Rev A01July 20044-29
Chapter 4: SCSI Commands
Table 4-16. Read / Write Error LO G SENSE Parameters (Pages 02h and 03h) — Field
Field NameDescription
Descriptions (Continued)
TMCThreshold Met Criteria. This field is valid only if the
host sets the ETC bit to 1. This field determines the
basis for comparison. The host specifies this field using
the LOG SELECT command. If the result of
comparison is true (cumulative = threshold) and the
MODE SELECT / SENSE Control Mode Page RLEC
bit is 1, the drive generates a UNIT ATTENTION for
all initiators. In that case, the drive sets the Sense Key
to UNIT ATTENTION, the Additional Sense Code to
LOG EXCEPTION, and the Additional Sense Code
Qualifier to THRESHOLD CONDITION MET. If the
RLEC bit in Control Mode Page is 0, the drive does not
generate a UNIT ATTENTION.
This comparison is performed in real time. A LOG
SENSE command need not be issued to get the
CHECK CONDITION status. Once ETC is selected
and the RLEC bit in the Control Mode Page is 1, the
drive issues a CHECK CONDITION status based on
the criteria defined in the TMC bits—if the criteria is
met in real time. The CHECK CONDITION status
does not identify the parameter code for which the
criteria is met. To make this determination, the host
must issue a LOG SENSE command to read the
counters.
Code
00b
01b
10b
11b
Basis of Comparison
Every update of the cumulative value
Cumulative value equal to threshold value
Cumulative value not equal to threshold value
Cumulative value greater than threshold value
LPList Parameter. This bit is always 0, since the tape drive
treats the parameter codes as data counter. When the
data counter reaches its defined maximum value, it
does not increment and the DU bit is 1. If the data
counter is at or reaches its maximum value during the
execution of a command, the tape drive completes the
command. If the RLEC bit of the Control Mode page
is 1, the tape drive then issues the status of CHECK
CONDITION and sets the Sense Key to RECOVERED
ERROR with Additional Sense Code set to LOG
COUNTER AT MAXIMUM.
Parameter LengthThis field specifies the number of bytes of the parameter value.
Parameter ValueThis field is the actual value of this log parameter.
4-30July 200481-81276-01 Rev A01
4.8.4 Last n Error Events Page (07h)
The log error events page returns zero or more log parameters using the list format of the log page
which consist of AS CII text in the paramete r v a lue. The EEPROM stores a maximum o f 15 lo g events
at a given time. Ea ch log event stored may require more than 0XFF of A SCII text; therefore, two
parameter codes are assign ed for e ach lo g event st ored in EEPROM. The par ameter p ointer f ield in the
CDB specifies which parameter code the requested data should begin with.
DLT1/VS80 SCSI Interface Guide
Bit
Byte
4 – 5
1
6
7Parameter Length
8 – n
1.The byte 6 fields are collectively referred to as the Parameter Control byte.
76543210
(MSB)
Parameter Code
(LSB)
DUDSTSDETCTMCRsv’dLP
(MSB)
Hex ASCII String for Event n
(LSB)
Figure 4-18. Log Parameters for L ast n Error Events LOG SENSE Page — Data Format
Table 4-17.Log Parameters for Last n Error Events (07h) LOG SENSE Page — Field Descriptions
Field NameDescription
Parameter CodeParameter code values are assigned from 0 to 29(two per log event), where 0 is the
oldest event stored and the highest parameter code returned is the most recent
event. Two parameter codes are assigned for each log entry. A parameter pointer of
0 in the CDB returns all the log events stored in the EEPROM. For example, if
only 10 log events are stored, then the parameter codes for the 10th event are
parameter codes 18 and 19. If the parameter pointer field in CDB contains 0, the
target returns parameter codes 0 to 19 to initiator. If the parameter pointer in CDB
contains 20, the target returns zero data to initiator.
81-81276-01 Rev A01July 20044-31
Chapter 4: SCSI Commands
Table 4-17.Log Parameters for Last n Error Events (07h) LOG SENSE Page — Field De scriptions
Field NameDescription
Parameter Control ByteDU, DS, TSD, ETC, TMC, LBIN, and LP are collectively referred to as the
Parameter Control Byte.
DUDisable Update. For a list parameter this field is
always 0.
DSDisable Save. Since the tape device does not support
saving parameters, this bit is always 1.
TSDTarget Save Disable. Since the tape device does not
support saving parameters, this bit is always 1.
ETCEnable Threshold Comparison. For a list parameter this
field is always 0.
TMCThreshold Met Criteria. For a list parameter this field is
always 0.
LPList Parameter. This bit is always set to 1 since the tape
drive treats the parameter codes as list parameters.
Parameter LengthThis field specifies the number of bytes of the parameter value.
Parameter Value (Hex
ASCII String for
Event n)
The content of the parameter value is an ASCII string which describes the error
event. The text of the parameter includes a “Packet #,” which is a value from 0 to
255. This internal number is assigned when the packet is written into EEPROM.
Zero is normally the oldest packet, but packet numbers can wrap around from 255
to 0.
4-32July 200481-81276-01 Rev A01
4.8.5 TapeAlert Parameters Page (2Eh)
This page r epor t s al l TapeAlert s tat us f l ags . E ach pa ramet er is a on e-by te f lag ind ic at ing t he st at e o f all
TapeAlert events. Each flag is 1 when the corresponding event occurs. It is the responsibility of the
host software to examine all TapeAlert flags when this page is read as each flag is only set once per
occurrence and all flags are cleared when this page is read. There are a total of 64 one-byte flags, some
of which are reserved or not suppo rted by the tape dri v e .
Table 4-18.TapeAlert LOG SENSE Parameters — Field Descriptions
1
DLT1/VS80 SCSI Interface Guide
Length
Parameter CodeDescription
0001hNot Supported.101
0002hNot supported101
0003hHard Error. A write or read hard error has occurred.101
0004hMedia. The number of read or write errors being
encountered indicates that the media should be
replaced.
0005hRead Failure. A hard read error has occurred.101
0006hWrite Failure. A hard write error has occurred.101
0007hNot supported101
0008hNot supported101
0009hWrite Protect. An attempt was made to write to a
write-protected medium.
000AhNot supported101
000BhNot supported101
000ChUnsupported Format. The tape drive is unable to
Table 4-18.TapeAlert LOG SENSE Parameters — Field Descriptions (Continued)
Parameter CodeDescription
0014hClean Now. Excessive read or write errors due to a
dirty medium path; the cleaning LED is on.
0015hCleaning Periodic. A periodic cleaning is due; the
cleaning LED is on.
0016hNot supported101
0017hNot supported101
0018h – 001ChReserved1 Byte
001DhNot supported101
001EhHardware A. A major hardware failure has occurred.101
001FhHardware B. A major hardware failure has occurred.101
0020hInterface. SCSI interface parity error detected.101
0021hEject Media. A load failure occurred; eject the media
and try again.
0022hDownload Fail. The microcode update failed.101
The tape dri v e sets each TapeAlert flag to 0 in the following circumstances:
•At tape drive power on
•When the host reads the TapeAlert LOG SENSE page
•When the host takes the specif i ed corrective ac tion
•On SCSI bus rese t or de vice reset messages.
01
01
4-34July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
4.8.6 Read/Write Compression Ratio Page (32h)
The Read / Write Compression Rat i o page begins with a 4-b yt e header followed by the log parameter
blocks of 6 or 8 byte s, depending on the parameter co de selected.
Bit
Byte
0ReservedPage Code (32h)
1Reserved
2 - 3
76543210
(MSB)
Additional Length
(LSB)
Figure 4-19. Read / Write Compression Ratio (32h) Page Header — Data Format
Table 4-19.Read / Write Compression Ratio (32h) Page Header — Field Descriptions
Field NameDescription
Page CodeThe Page Code echoes the page code specified in the LOG SENSE CDB.
Additional LengthThe Additional Length field specifies the number of bytes available and depends
on the parameters requested.
81-81276-01 Rev A01July 20044-35
Chapter 4: SCSI Commands
Parameter Codes
The tape drive supports the following parameter codes for the Read / Write Compression Ratio page.
Table 4-20.Supported Parameter Codes for the Read / Write Compression Ratio Page
Parameter CodeDescription
00hRead Compression Ratio x 100
01hWrite Compression Ratio x 100
02hMbytes Transferred to Host
03hBytes Transferred to Host
04hMbytes Read from Medium
05hBytes Read from Medium
06hMbytes Transferred from Host
07hBytes Transferred from Host
08hMbytes Written to Medium
09hBytes Written to Medium
Parameter Block: Codes 00h and 01h
Bit
Byte
0 - 1
2DUDSTSDETCTMCRsv’dLP
302h
4 - 5
Figure 4-20. Read / Write Compression Ratio Log Page — Data Format
76543210
(MSB)
Parameter Code
(MSB)
Compression Ratio x 100
(LSB)
(LSB)
4-36July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-21.Read / Write Compression Ratio Log Page — Field Descriptions
Field NameDescription
Parameter Control Byte DU, DS, TSD, ETC, TMC, and LP are collectively referred to as the Parameter
Control Byte.
DUDisable Update. This bit is always 0.
DSDisable Save. Since the tape drive does not support
saving parameters, this bit is always 1.
TSDTarget Save Disable. Since the tape drive does not
support saving parameters, this bit is always 1.
ETCEnable Threshold Comparison. The tape drive does not
support threshold checking on this page. This bit is
always 0.
TMCThreshold Met Criteria. This bit is always 0.
LPList Parameter. This bit is always 0 since the tape drive
treats the parameter codes as data counters.
Compression RatioThe compression ratio is reported as the actual compression ratio multiplied by
100.
81-81276-01 Rev A01July 20044-37
Chapter 4: SCSI Commands
Parameter Block: Parameter Codes 02h through 09h
Bit
Byte
0 - 1
2DUDSTSDETCTMCRsv’dLP
304h
4 - 7
76543210
(MSB)
Parameter Code
(MSB)
Counter Value
Figure 4-21. Read / Write Bytes Transferred Log Page — Data Format
Table 4-22.Read / Write Bytes Transferred L OG SEN SE Page — Field Des cr i pt io ns
Field NameDescription
(LSB)
(LSB)
Parameter Control Byte – DU, DS, TSD, ETC, TMC, and LP are collectively referred to as the Parameter
Control Byte.
DUDisable Update. This bit is always 0.
DSDisable Save. Since the tape drive does not support
saving parameters, this bit is always 1.
TSDTarget Save Disable. Since the tape drive does not
support saving parameters, this bit is always 1.
ETCEnable Threshold Comparison. The tape drive does not
support Threshold Checking on this page. This bit is
always 0.
TMCThreshold Met Criteria. This bit is always 0.
LPList Parameter. This bit is always 0 since the tape drive
treats the parameter codes as data counters.
4-38July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-22.Read / Write Bytes Transferred L OG SEN SE Page — Field Des cr i pt io ns (Continued)
Field NameDescription
Counter ValueThese parameter codes provide a count of the number of bytes transferred since the
current data cartridge was inserted or since the last time the counters were reset
with a MODE SELECT command.
Parameter codes 02 and 03 report the counts of bytes transferred from the tape
drive to the initiator. Parameter code 02 reports the number of full megabytes
transferred. Parameter code 03 reports the number of bytes less than a full
megabyte that have been transferred. Multiplying the counter returned for
parameter 02 by 1,048,576 and then adding the counter value returned for
parameter 03 gives the actual total bytes transferred to the initiator.
Parameter codes 04 and 05 report the counts of bytes transferred from the medium
to the buffer. Parameter code 04 reports the number of full megabytes transferred.
Parameter code 05 reports the number of bytes less than a full megabyte that have
been transferred. Multiplying the counter returned for parameter 04 by 1,048,576
and then adding the counter value returned for parameter 05 gives the actual total
bytes transferred from medium to buffer.
Parameter codes 06 and 07 report the counts of bytes transferred from the initiator
to the buffer. Parameter code 06 reports the number of full megabytes transferred.
Parameter code 07 reports the number of bytes less than a full megabyte that has
been transferred. Multiplying the counter returned for parameter 06 by 1,048,576
and then adding the counter value returned for parameter 07 will give the actual
total bytes transferred from the initiator to the buffer.
Parameter codes 08 and 09 report the counts of bytes written to the medium.
Parameter code 08 reports the number of full megabytes transferred. Parameter
code 09 reports the number of bytes less than a full megabyte that has been
transferred. Multiplying the counter returned for parameter 08 by 1,048,576 and
then adding the counter value returned for parameter 09 will give the actual total
bytes written to the medium.
4.8.7 Device Wellness LOG SENSE Page (33h)
This LOG SENSE page returns the data useful for determining the tape drive wellness . The pag e
contains up to 16 log entries (parameter code 0000h to 000Fh). Each entry recor ds an error event
classified as recovered error (Sense Key is 1), medium error (Sense Key is 3), or hardware error (Sense
Key is 4). Parameter code (0000h) contains the oldest log information, while parameter code (000Fh)
contains the ne w es t i nf ormation.
NOTE: The tape drive rec ords only head cl eaning recovere d related errors— that
is, the more serious recovered errors—on the first category when Sense
Key is 1: It captures all error events associated with the Sense Key 3 or 4.
81-81276-01 Rev A01July 20044-39
Chapter 4: SCSI Commands
Bit
Byte
76543210
0ReservedPage Code (33h)
1Reserved
(MSB)
2 - 3
Page Length
(LSB)
Figure 4-22. Device Wellness (33h) Log Page Header — Data Format
Table 4-23.Devi ce Wellness (33h) Log Page Header — Fi el d D escriptions
Field NameDescription
Page CodeThe Page Code echoes the page code that was specified in the LOG SENSE CDB.
Page LengthThe Page Length field specifies the number of bytes available and depends on the
parameters requested.
Device Wellness (33h) Log Pag e parameters (0000h through 000Fh) are as follows:
Bit
Byte
76543210
(MSB)
0 - 1
Parameter Code
2DUDSTSDETCTMCRsv’dLP
3Parameter Length (0Ch)
(MSB)
4 - 7
Time Stamp
(LSB)
(LSB)
4-40July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Bit
Byte
76543210
(MSB)
8 - 11
Media ID
(LSB)
12Sense Key
13Additional Sense Code
14Additional Sense Code Qualifier
15Additional Error Information
Figure 4-23. Device Wellness (33h) L og Page Parameters (0000h throu gh 000Fh) — Data For mat
Table 4-24.Devi ce Wellness (33h) Lo g Page Parameters — Field Descriptions
Field NameDescription
Parameter Control Byte – DU, DS, TSD, ETC, TMC, and LP are collectively referred to as the Parameter
Control Byte.
Time Stamp (Bytes 4
through 7)
Media ID (Bytes 8
through 11)
DUDisable Update. This bit is always 0.
DSDisable Save. Since the tape drive does not support
saving parameters, this bit is always 1.
TSDTarget Save Disable. Since the tape drive does not
support saving parameters, this bit is always 1.
ETCEnable Threshold Comparison. The tape drive does not
support Threshold Checking on this page. This bit is
always 0.
TMCThreshold Met Criteria. This bit is always 0.
LPList Parameter. This bit is always 0 since the tape drive
treats the parameter codes as data counters.
Power-on hours when error event occurred
Identity of media in use when error event occurred. The bytes are 0 if no media or
media unknown.
81-81276-01 Rev A01July 20044-41
Chapter 4: SCSI Commands
4.8.8 Device Status Log Page (3Eh)
This LOG SENSE page describes t h e current status of the tape drive. Th e page defines three, 4-Byte
log parameters.
Bit
Byte
0ReservedPage Code (3Eh)
1Reserved
2 - 3
76543210
(MSB)
Page Length
Figure 4-24. Device Status (3Eh) Log Page Header — Data Format
Device Status (3Eh) Log Page parameters (0000h t hr ough 0002h) are as follows:
Bit
Byte
0 - 1
2DUDSTSDETCTMCRsv’dLP
3Parameter Length (04h)
76543210
(MSB)
Parameter Code
(LSB)
(LSB)
(MSB)
4 - 7
Parameter Value
(LSB)
Figure 4-25. Device Status (3Eh) Log Page Paramete rs (0000h through 0002h) — Data Fo rmat
4-42July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-25.Devi ce Status (3Eh) Log Page Parameter — Fie l d D escriptions
Field NameDescription
Parameter Control Byte – DU, DS, TSD, ETC, TMC, and LP are collectively referred to as the Parameter
Control Byte.
DUDisable Update. This bit is always 0.
DSDisable Save. Since the tape drive does not support
saving parameters, this bit is always 1.
TSDTarget Save Disable. Since the tape drive does not
support saving parameters, this bit is always 1.
ETCEnable Threshold Comparison. The tape drive does not
support Threshold Checking on this page. This bit is
always 0.
TMCThreshold Met Criteria. This bit is always 0.
LPList Parameter. This bit is always 0 since the tape drive
treats the parameter codes as data counters.
Parameter Code
(0000h)
Parameter Code
(0001h)
This parameter specifies the device type. For sequential type devices, the
parameter value is always (00 01 00 00h).
This parameter specifies the tape drive cleaning related status. There are three bits
currently defined in this parameter.
The Device Statu s (3 Eh) Log Page para meter code (000 1h) descripti on f ollows:
Bit
Byte
76543210
0ReservedClnQClnRClnEx
(MSB)
1 - 3
Reserved
Figure 4-26. Device Status (3Eh) Log Page Parameter Code (0001h) — D at a Format
(LSB)
81-81276-01 Rev A01July 20044-43
Chapter 4: SCSI Commands
Table 4-26.Devi ce Status (3Eh) Log Page Parameter Cod e ( 0001h) — Field D es criptions
Field NameDescription
ClnQSet to 1 if a Cleaning Required condition exists. This is a recovered error status.
ClnRSet to 1 if a Cleaning Requested condition exists. This is a hard error status.
ClnExSet to 1 if the cleaning medium is used up.
Parameter Code
(0002h)
The value of this parameter contains the number of loads over the life of the tape
drive.
4.9MODE SELECT (15h/55h)
The MODE SEL EC T command enab le s t he host to configure the tape drive. Im plementing M O D E
SELECT and MODE SENSE requires a certain amount of handshaking be tween the host and the tape
drive. Before configuring the tape drive, the host should issue a MODE SENSE to get the current
configuration and determine what parameters are configurable. The host interprets this information
and can then issue MODE SELECT to set the tape drive to the host's preferred configuration.
Bit
Byte
0Operation Code (15h)
1Logical Unit NumberPFReservedSP(0)
2 - 3Reserved
76543210
4Parameter List Length
5UnusedReservedFlagLink
Figure 4-27. MODE SELECT (15h) 6 -Byte Command Descriptor Block — Da ta For m at
4-44July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
.
Bit
Byte
76543210
0Operation Code (55h)
1Logical Unit NumberPFReservedSP(0)
2 - 6Reserved
(MSB)
7 - 8
Parameter List Length
(LSB)
9UnusedReservedFlagLink
Figure 4-28. MODE SELECT (55h) 1 0- B yt e Command Descript or Block — Data Forma t
The tape drive always powers up with its default configurations set. This is also true if the tape drive
receives a BU S D EV ICE RESET me ssage or a hard res et th rough the RST li ne on the SCSI bus .
Table 4-27.MODE SELECT (15h/55h) Com mand Descriptor Bl oc k — Field Descriptions
Field NameDescription
LUNLogical Unit Number. The target ignores this field. Only an IDENTIFY message
can change the LUN.
PFPage Format. This bit indicates that the data the host sent after the MODE
SELECT header and block descriptors complies with the definition of pages in the
SCSI-2 specification. The SCSI-1 format is not implemented, so this bit must be
set. It is an ILLEGAL REQUEST to have page parameters while the PF bit is 0.
SPSave Parameters. Not supported. This bit must be 0. The Save Parameters bit
instructs the tape drive to save all savable pages.
Parameter List LengthSpecifies the length in bytes of the MODE SELECT parameter list that the initiator
transfers during the DATA OUT phase. A Parameter List Length of 0 indicates no
data is transferred.
81-81276-01 Rev A01July 20044-45
Chapter 4: SCSI Commands
4.9.1 MODE SELECT Parameter List
The MODE SELE CT parameter list shown in Figure 4-29, Figure 4-30, and Figure 4-31 contains a
4-byte header, follow ed by one 8-byte blo ck descriptor.
Bit
Byte
0Reserved
1Media Type
2IgnoredBuffered ModeSpeed
3Block Descriptor Length (08h)
76543210
Figure 4-29. MODE SELECT (6) Parameter List Header — Data Format
Bit
Byte
0Density Code
1 - 3
4Reserved
76543210
(MSB)
Number of Blocks (000000h)
(LSB)
(MSB)
5 - 7
Block Length
(LSB)
Figure 4-30. MODE SELECT (6) Parame te r Li s t Block Descriptor — Data Format
4-46July 200481-81276-01 Rev A01
DLT1/VS80 SCSI Interface Guide
Table 4-28.MODE SELE C T (6) Parame ter List — Field Desc riptions
Field NameDescription
Media TypeThe MODE SELECT command ignores this field.
Buffered ModeThe tape drive implements Immediate Reporting on WRITE commands through
Buffered mode.
If the field is 0, the tape drive does not report a GOOD status on WRITE
commands until the data blocks are actually written to medium. If the Buffered
Mode field is 1, the default configuration, the tape drive reports GOOD status on
WRITE commands as soon as the data block has been transferred to the buffer.
When Buffered Mode is not used, the tape drive suffers a degradation in
performance and possibly capacity as well, depending on medium format, block
size, and compression. When writing and the block size is a multiple of 8 KB,
there should be no capacity loss.
Turning off Buffered Mode essentially disables the block packing feature.
If this field is greater than 1, the command is rejected with a CHECK
CONDITION, with a Sense Key of ILLEGAL REQUEST.
SpeedThe tape drive supports only one speed, the default speed.
Block Descriptor
Length
Specifies the length, in bytes, of all the block descriptors. Since the tape drive only
allows one block descriptor, this value must be 8 or 0. Any other value causes a
CHECK CONDITION status with an ILLEGAL REQUEST Sense Key to be
returned.
Density CodeThis field should match the current density of the media. If this value is 0, the tape
drive uses default density.
Density Code
00h
40h
7Fh
86h
Description
Use default density
DLT1 format, DLTtapeIV – 40 GB
No changes from previous density (No operation)
DLT1 format, DLTtapeIV – 40 GB
without compression
87h
DLT1 format, DLTtapeIV – 80 GB
with compression
Number of BlocksThis MODE SENSE field is sent as 0, indicating that all of the remaining logical
blocks on the medium have the medium characteristics specified by the block
descriptor.
Block LengthThis specifies the length, in bytes, of each logical block transferred over the SCSI
bus. A block length of 0 indicates that the length is variable (specified in the I/O
command). Any other value indicates the number of bytes per block to use for
READ, WRITE, and VERIFY type commands that specify a “Fixed” bit of 1 (i.e.,
fixed block mode) which also causes the transfer length in the CDB to be defined
as a block count.
81-81276-01 Rev A01July 20044-47
Chapter 4: SCSI Commands
4.9.2 MODE SELECT Pages
Following the Command Block Descriptor are the MODE SELECT pages, which set the tape drive
parameters. Each page has a 2-byte header that id ent i fi es the page code and indicates the number of
bytes in that page.
Bit
Byte
0PS (0)0Page Code
1Additional Page Length
76543210
Figure 4-31. MODE SELECT Pages — D ata Format
Table 4-29.MODE SELECT Pages — Field Descriptions
Field NameDescription
PSParameters Savable. For the MODE SELECT command, this bit is reserved. For
the MODE SENSE command, a PS bit of 1 indicates that the tape drive can save
the page in nonvolatile memory. If the PS bit is 0, it cannot save the supported
parameters. The tape drive does not support Savable pages. Byte 0, bit 6 must be 0.
Page CodeThese six bits identify the page that follows.
Page Code
01h
02h
0Ah
0Fh
11h
1Ch
3Eh
Description
Read / Write Error Recovery (Page 4-49)
Disconnect / Reconnect (Page 4-51)
Control Mode (Page 4-51)
Data Compression (Page 4-56)
Medium Partition (Page 4-58)
TapeAlert (Page 4-60)
EEPROM Vendor Specific (Page 4-61)
Additional Page LengthThis bit indicates the number of bytes in that page. However, the value does not
include bytes 0 and 1. The tape drive returns the length on MODE SENSE; the
initiator must subsequently set it to the same value when performing a MODE
SELECT command. If the page length does not match the length the tape drive
expects, the tape drive returns a CHECK CONDITION status with the Sense Key
set to ILLEGAL REQUEST.
The tape drive returns a CHECK CONDITION status with an ILLEGAL
REQUEST Sense Key if it receives an unsupported Page Code or any Page field
with values not supported or changeable. In this case, the command changes no
parameters.
4-48July 200481-81276-01 Rev A01
4.9.3 Read/Write Error Recovery Page (01h)
The tape dr ive supports the Error Re covery Page , wh i ch has the foll owing format:
Figure 4-32. Read / Write Error Recovery Page — Data Format
In this page, only the Post Error (PER) flag parameter is chang eabl e. With PER set, the tape drive
creates CHECK CONDITIONS, with Sense Key of RECOVERED ERROR, and Vendor Unique
Sense Data det ai li ng the cause. These events should be rare and onl y occur if the rec overed write or
read retry rates reach excessive levels.
81-81276-01 Rev A01July 20044-49
Chapter 4: SCSI Commands
Table 4-30.Read / Write Erro r Recovery Page (01h) — Field Descriptions
Field NameDescription
TBTransfer Block. This block (when not fully recovered) function is not supported.
EEREnable Early Recovery. This function is always enabled.
PERPost Error. This bit turns on reporting of CHECK CONDITIONS to report
DTEDisable Transfer on Error. This feature is not supported, so this bit must be 0.
DCRDisable ECC Correction. This bit feature is not supported, so this bit must be 0.
Read Retry CountThis field reports the maximum number of times the tape drive tries to reread
Write Retry CountThis field reports the maximum number of times the tape drive tries to overwrite
recovered Read / Write errors. The default value of this bit is 0.
before declaring an unrecoverable error.
before declaring an unrecoverable error.
4-50July 200481-81276-01 Rev A01
4.9.4 Disconnect/Reconnect Page (02h)
The tape drive sup ports the Disconnect/Reconnec t Pa ge, which has the fol lowing format:
DLT1/VS80 SCSI Interface Guide
Bit
Byte
0PS (0)0Page Code (02h)
1Additional Page Length (0Eh)
2Buffer Full Ratio
3Buffer Empty Ratio
4 - 5
6 - 7
8 - 9
10 - 11
76543210
(MSB)
Bus Inactivity Limit
(MSB)
Disconnect Time Limit
(MSB)
Connect Time Limit
(MSB)
Maximum Burst Size
(LSB)
(LSB)
(LSB)
(LSB)
12ReservedDTDC
13 - 15Reserved
Figure 4-33. Disconnect / Reco nnect Page — Data Format
In this page, only the Maximum Burst Size parameter is changeable. Table 4-31 lists the supp or ted
parameters in this page.
Table 4-31.Disconnect / Reconnect Page (02h) — Field Descriptions
Field NameDescription
Maximum Burst SizeThis value specifies the maximum amount of data that can be transferred without
disconnecting. A value of 0 sets no limit. This value is in multiples of 512 bytes.
For example, a value of 8 means 4K bytes. The Maximum Burst Size must be a
multiple of 8. If it is not, the tape drive returns CHECK CONDITION,
RECOVERED ERROR, ROUNDED PARAMETERS.
81-81276-01 Rev A01July 20044-51
Chapter 4: SCSI Commands
Table 4-31.Disconnect / Reconnect Page (02h) — Field Descriptions (Continued)
Field NameDescription
DTDCData Transfer Disconnect Control. The DTDC field defines further restrictions
when disconnect is permitted.
DTDCDescription
00bData Transfer Disconnect Control is not used.
Disconnect is controlled by the other fields in this page.
01bA target does not attempt to disconnect once the data
transfer of a command has started until all data the
command is to transfer has been transferred.
10bReserved
11bA target does not attempt to disconnect after the data
transfer of a command has started until the command is
complete.
If DTDC is non-zero and the maximum burst size is non-zero, the tape drive
returns CHECK CONDITION status. The Sense Key is set to ILLEGAL
REQUEST and the Additional Sense Code set to ILLEGAL FIELD IN
PARAMETER LIST.
4-52July 200481-81276-01 Rev A01
4.9.5 Device Configuration Page (10h)
The tape drive supports the Device Configuration Page, which has the following format:
DLT1/VS80 SCSI Interface Guide
Bit
Byte
0PS (0)0Page Code (10h)
1Additional Page Length (0Eh)
2Rsv’dCAPCAFActive Format
3Active Partition
4Write Buffer Full Ratio
5Read Buffer Empty Ratio
6 - 7
8DBRBISRSmkAVCSOCFRBOREW
9Gap Size
10EOD DefinedEEGSEWReserved
11 - 13
76543210
(MSB)
Write Delay Time
(MSB)
Buffer Size at Early Warning (Optional)
(LSB)
(LSB)
14Select Data Compression Algorithm
15Reserved
Figure 4-34. Device Configurat io n Page — Data Format
In this page, only the Write Delay Time and Select Data Compression Algorithm parameters are
changeable.
Table 4-32.Device Configuration Page — Field Descriptions
Field NameDescription
CAPThis field is not supported and must be 0.
CAFThis field is not supported and must be 0.
Active FormatThis field is not supported and must be 0.
81-81276-01 Rev A01July 20044-53
Chapter 4: SCSI Commands
Table 4-32.Device Configuration Page — Field Descriptions (Continued)
Field NameDescription
Active PartitionOnly partition 0 is supported. The tape drive rejects any other value for this field
with a CHECK CONDITION status and the ILLEGAL REQUEST Sense Key set.
Write Buffer Full Ratio
and Read Buffer Empty
Ratio
The tape drive sets these fields to 0 (unused). The tape drive uses an automatic,
adaptive mechanism to adjust its Full/Empty Buffer ratios dynamically according
to the average data rates over the SCSI bus.
Write Delay TimeThis field indicates the maximum time that the tape drive waits with a partially full
buffer before forcing the data to medium (in 100 ms increments). The buffer Full/
Empty ratio, which is dynamic, can cause data to be written sooner than the Write
Delay time would indicate. The Write Delay Time defaults to 200 (C8h), causing
the buffer to be flushed in 20 seconds. The maximum value is 6500 (1964h), the
minimum value is 15 (0Fh), representing delays from almost 11 minutes down to
1.5 seconds.
V a lues between 0 and 15 are rounded down to 0. This causes the data to go straight
to the media without delay.
Byte 8CodeDescription
DBRMust be 0 (Data Buffer Recovery not supported).
BISMust be 1 (Block Identifiers Supported in media
format).
RSmkMust be 0 (Setmarks not supported).
AVCMust be 0.
SOCFMust be 0.
RBOMust be 0.
REWMust be 0 (Do not report Early Warning EOM on
reads).
Gap SizeThis field is not used and is 0.
EOD DefinedEnd of Data Defined. This field must be 00h. The tape drive rejects any other
value.
EEGEnable EOD Generation. This bit indicates that the tape drive generates an EOD.
The tape drive generates an EOD mark before any change of direction following a
write type operation. This bit must be 1.
SEW and Buffer Size
At Early Warning
Select Data
Compression
Synchronize at Early Warning. This bit is 1. Buffer Size at EW is not supported
and must be 0.
Setting this field to 1 enables hardware data compression. Setting it to 0 disables
hardware data compression.
Algorithm
4-54July 200481-81276-01 Rev A01
4.9.6 Control Mode Page (0Ah)
The Control Mode Page provides con tr ol s for several feat ures such as tagg ed queuing, extended
contingent al le gi ance, asynchronous event notification, and er ror logging.
RLECReport Log Exception Condition. The RLEC bit works with the Read / Write Error
Log Page. A Report Log Exception Condition (RLEC) bit of 1 specifies that the
target reports log exception conditions. An RLEC bit of 0 specifies the target does
not report log exception conditions. Refer to the TMC bit description in Table 4-16
on page 4-28.
The RLEC bit indicates whether the tape drive should return CHECK
CONDITION status with the Sense Key set to UNIT ATTENTION (06h) when
one of the write and read error counters of the log pages reach a specified threshold
as follows:
0 – Do not return Unit Attention when a threshold condition is met.
1 – Return Unit Attention when a threshold condition is met.
Note: See “LOG SELECT Page Format” on page 4-19 for information on how to
change the threshold.
Queue Algorithm
Modifier
81-81276-01 Rev A01July 20044-55
This field must be 0.
Chapter 4: SCSI Commands
Table 4-33.Control Mode Page — Field Descriptions ( C ontinued)
Field NameDescription
QErrQueue Error. This bit must be 0.
DQueDisable Queuing. This bit must be 0.
EECA Enable Extended Contingent Allegiance. The tape drive does not support extended
RAENPReady AEN Permission. The tape drive does not support asynchronous event
UAAENPUnit Attention AEN Permission. The tape drive does not support asynchronous
EAENPEnable AEN Permission. The tape drive does not support asynchronous event
contingent allegiance. This bit must be 0.
notification (AEN). This bit must be 0.
event notification. This bit must be 0.
notification. This bit must be 0.
Ready AEN Holdoff
Period
The tape drive does not support asynchronous event notification. This field must
be 0.
4.9.7 Data Compression Page (0Fh)
The Data Compression Page specifies parameters that control data compression. This page allows the
user to turn the tap e drive’s compressed form at on and off independently of the medi um ' s position.
Additionally, it allows the user to enable or disable decompressio n o f the tape drive’s compressed data
during write operations. In this page you can only change the D C E bit.
Table 4-34.Data Compression Page — Field Descriptions
Field NameDescription
DCEData Compression Enable. This bit specifies whether the tape drive should enable
or disable data compression. When the DCE bit is 1, the tape drive starts in
compressed format.
DCCData Compression Capable. The MODE SENSE command uses this bit to indicate
that the tape drive supports hardware data compression.
DDEData Decompression Enable. When the tape drive reads compressed data from
medium, it automatically decompresses the data before sending it to the initiator.
Data decompression/compression is always enabled, so this bit must be 1 (enable
data decompression).
REDReport Exception on Decompression. The tape drive does not report exceptions on
decompression (boundaries between compressed and uncompressed data). The
RED field must be 0.
81-81276-01 Rev A01July 20044-57
Chapter 4: SCSI Commands
Table 4-34.Data Compression Page — Field Descriptions (Continued)
Field NameDescription
Compression
Algorithm
Decompression
Algorithm
The Compression Algorithm field indicates which compression algorithm the tape
drive uses to process data from the initiator when the DCE bit is 1. Specifying a
value other than 10h for this field causes the tape drive to return CHECK
CONDITION status with the Sense Key set to ILLEGAL REQUEST (05h).
However, if EEPROM parameter EnaRepDecomp is set, the parameter in this field
is ignored and the tape drive returns no CHECK CONDITION status.
The Decompression Algorithm field indicates which decompression algorithm the
tape drive uses when decompressing data encountered on the medium. Specifying
a value other than 10h for this field causes the tape drive to return CHECK
CONDITION status with the Sense Key set to ILLEGAL REQUEST (05h).
4.9.8 Medium Partition Page (11h)
The tape drive supports the Medium Partitio n Para meter Page , which has the followin g fo rmat :