TANDBERG SLR7-140 PROGRAMMER Manual

Summary of SLR7-140 PROGRAMMER

  • Page 1

    Tandberg slr tandberg slr7, slr50, slr60, slr75, slr100, slr140 scsi interface functional specification tandberg data asa p.O. Box 134 kjelsås n-0411 oslo, norway phone + 47 22 18 90 90 telefax + 47 22 18 95 50 © tandberg data asa part no. 43 07 43 – 13 october 2003.

  • Page 2

    Related publications available from tandberg data asa: part no. Title 43 04 44 - 11 tandberg slr7, slr50, slr60, slr75, slr100, slr140 reference manual this publication may describe designs for which patents are granted or pen- ding. By publishing this information, tandberg data asa conveys no licen...

  • Page 3: Table of Contents

    I tandberg slr product line scsi functional specifications table of contents 1. Introduction .....................................................................1 1.1. General .............................................................................................. 1 1.2. Overview................

  • Page 4

    Tandberg data table of contents ii tandberg slr product line scsi functional specifications 4. Commands.......................................................................1 4.1. The command descriptor block........................................................ 1 4.2. Command control byte .........

  • Page 5

    Tandberg data table of contents iii tandberg slr product line scsi functional specifications 9.3.2. Vital product data ...................................................................... 6 9.4. Exception handling.......................................................................... 16 9.5. Ph...

  • Page 6

    Tandberg data table of contents iv tandberg slr product line scsi functional specifications 14.3.4. Disconnect/reconnect page ................................................... 13 14.3.5. Control mode page .................................................................. 16 14.3.6. Data compressio...

  • Page 7

    Tandberg data table of contents v tandberg slr product line scsi functional specifications 18.2. Command descriptor block............................................................... 1 18.3. Parameter list ................................................................................... 1 18.4. ...

  • Page 8

    Tandberg data table of contents vi tandberg slr product line scsi functional specifications 23.5. Additional sense code and qualifier ................................................ 6 23.6. Exception handling............................................................................ 8 23.7. Phase ...

  • Page 9

    Tandberg data table of contents vii tandberg slr product line scsi functional specifications 30.1. Command description ....................................................................... 1 30.2. Command descriptor block............................................................... 2 30.3. Data ...

  • Page 10: Table of Figures

    Tandberg data table of contents viii tandberg slr product line scsi functional specifications table of figures figure 2-1: serpentine recording ................................................................. 2 figure 2-2: logical track areas ...........................................................

  • Page 11: Table of Tables

    Tandberg data table of contents ix tandberg slr product line scsi functional specifications table of tables table 1-1: capacity and medium types.......................................................... 1 table 2-1: the medium partition page(1) ..................................................... 4...

  • Page 12

    Tandberg data table of contents x tandberg slr product line scsi functional specifications table 13-13: read error counter page ....................................................... 14 table 13-14: reread counter log parameters........................................... 15 table 13-15: total read ...

  • Page 13

    Tandberg data table of contents xi tandberg slr product line scsi functional specifications table 14-7: available tape speeds for slr50............................................. 5 table 14-8: available tape speeds for slr7................................................ 5 table 14-9: mode select ...

  • Page 14

    Tandberg data table of contents xii tandberg slr product line scsi functional specifications table 31-2: supported modes....................................................................... 2 table 31-3: microcode data format.............................................................. 5 table 32...

  • Page 15: Introduction

    1-1 tandberg slr product line scsi functional specifications 1. Introduction 1.1. General this manual covers the scsi specifications for the tandberg slr product line tape drives. Currently there are six available models: tandberg slr140 tandberg slr100 tandberg slr75 tandberg slr60 tandberg slr50 t...

  • Page 16

    Tandberg data introduction 1-2 tandberg slr product line scsi functional specifications 1.2. Overview chapter 2 describes tape streamers in general and the tandberg slr product line tape drives in particular. The chapter also describes volume partitioning, the overwrite function, the usage of fixed ...

  • Page 17

    Tandberg data introduction 1-3 tandberg slr product line scsi functional specifications 1.3. Glossary bom beginning of medium. The extreme position along the medium in the direction from the supply-reel, which can be accessed by the use of a rewind command. Bop beginning of partition. The position a...

  • Page 18

    Tandberg data introduction 1-4 tandberg slr product line scsi functional specifications overlength the incorrect length condition that exists after executing a read group command, when the length of the actual block read exceeds the requested transfer length in the command descriptor block (cdb). Pa...

  • Page 19

    Tandberg data introduction 1-5 tandberg slr product line scsi functional specifications 1.4. Additional reference documentation [1] tandberg data asa, “ tandberg slr product line reference manual” , revision 6, publ. No. 9031- 6, december 1999. [2] american national standards institute, “ scsi-2, en...

  • Page 20

    Tandberg data introduction 1-6 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 21: About Tape Streamers

    2-1 tandberg slr product line scsi functional specifications 2. About tape streamers 2.1. Physical elements tape streamer devices optimize their use in storing or retrieving user data in a sequential manner. Since access is sequential, position changes typically take long time, when compared to dire...

  • Page 22

    Tandberg data about tape streamers 2-2 tandberg slr product line scsi functional specifications bo t eo t bo p eo p figure 2-1: serpentine recording a track set is read in the same sequence as when writing. When reading data using a dc9250, slr5 or slrtape7 medium, the drive is aided by reference tr...

  • Page 23

    Tandberg data about tape streamers 2-3 tandberg slr product line scsi functional specifications beginning-of-media this area holds no user data. It is used to record a special reference burst as defined in [9], [10]. This area starts with the bot (beginning of tape) tape marker and ends at the lp (l...

  • Page 24

    Tandberg data about tape streamers 2-4 tandberg slr product line scsi functional specifications 2.3.1. Partitioning a volume setting up a medium partition page and then executing a mode select command transferring this page to the drive can partition a volume. The table below shows the parts of the ...

  • Page 25

    Tandberg data about tape streamers 2-5 tandberg slr product line scsi functional specifications when the idp bit is zero, the second method is used. In this case the fdp bit is used to select one or two fixed size partitions. This method of using partitions is often called “ quick file access” (qfa)...

  • Page 26

    Tandberg data about tape streamers 2-6 tandberg slr product line scsi functional specifications 2.3.2. Selecting a partition two commands makes it possible to select a partition for read or write operations; the locate command and the mode select command. 2.3.2.1. Selecting a partition using locate ...

  • Page 27

    Tandberg data about tape streamers 2-7 tandberg slr product line scsi functional specifications a locate with cp set to one is executed..

  • Page 28

    Tandberg data about tape streamers 2-8 tandberg slr product line scsi functional specifications a load command is executed. This command always brings the tape to the beginning of the default partition (partition 0). The cartridge is removed from the drive. A newly inserted cartridge must be loaded ...

  • Page 29

    Tandberg data about tape streamers 2-9 tandberg slr product line scsi functional specifications here is a simple example using an slr32 medium. The volume has been partitioned into 3 partitions (one default partition and 2 additional partitions): bot eot bop 0 eop 0 eop 2 bop 2 bop 1 eop 1 tracks in...

  • Page 30

    Tandberg data about tape streamers 2-10 tandberg slr product line scsi functional specifications when the medium partition page(1) is used to specify the size of any partition, the partition size descriptor fields are used to specify a requested size. As the actual partition size must match an integ...

  • Page 31

    Tandberg data about tape streamers 2-11 tandberg slr product line scsi functional specifications 2.3.4. Quick file access partitions can be used to support the implementation of qfa (quick file access). Qfa is a feature which provides support for two partitions on a volume, a directory partition and...

  • Page 32

    Tandberg data about tape streamers 2-12 tandberg slr product line scsi functional specifications number of re-writes and amount of filler data written by the drive..

  • Page 33

    Tandberg data about tape streamers 2-13 tandberg slr product line scsi functional specifications 2.3.4.1. Setting qfa-mode the mode select command is used to enter or leave the qfa mode. The drive will be in non-qfa mode when the fdp bit in the medium partition parameter page (page code 11h) is set ...

  • Page 34

    Tandberg data about tape streamers 2-14 tandberg slr product line scsi functional specifications 2.3.4.3. Changing partition using the mode select command the mode select command can be used to specify the active partition. The device configuration parameters page (page code 10h) is used for this pu...

  • Page 35

    Tandberg data about tape streamers 2-15 tandberg slr product line scsi functional specifications after writing data from bop on a partition, the medium is considered to be a contiguous grouping of blocks, filemarks, setmarks and gaps. Certain ansi standards define gap lengths which, if exceeded, are...

  • Page 36

    Tandberg data about tape streamers 2-16 tandberg slr product line scsi functional specifications bo p eo p 1st bl ock 1st bl ock o ther exi sti ng data n ew data w ritten over existing data before a fter figure 2-4: overwrite after the 1st logical data block the last filemark in a partition may be w...

  • Page 37

    Tandberg data about tape streamers 2-17 tandberg slr product line scsi functional specifications 2.6. Using fixed and variable length blocks 2.6.1. Variable and fixed length blocks the drive is capable of supporting both fixed and variable length logical blocks. The concept of fixed or variable mode...

  • Page 38

    Tandberg data about tape streamers 2-18 tandberg slr product line scsi functional specifications when the fix bit is set to one, a write command may write multiple blocks. The write command must specify the number of blocks to write. All written blocks will be of the same length. The block size is c...

  • Page 39

    Tandberg data about tape streamers 2-19 tandberg slr product line scsi functional specifications if the actual block length is larger than the expected block length, the read command will transfer the expected number of bytes only. The read command is then terminated with a check condition status. T...

  • Page 40

    Tandberg data about tape streamers 2-20 tandberg slr product line scsi functional specifications 2.7.1.1. Slr50 drive the data buffer in the slr50 drive has been split into two distinct partitions, a host buffer and a tape buffer. Host buffer the host buffer is used to buffer logical blocks transfer...

  • Page 41

    Tandberg data about tape streamers 2-21 tandberg slr product line scsi functional specifications 2.7.1.2. Slr7, slr60, slr75, slr100 and slr140 drives the data buffer in the slr7, slr60, slr75, slr100 and slr140 drives consists of a single logical unit with a size of nearly 8 mbyte. Data buffer the ...

  • Page 42

    Tandberg data about tape streamers 2-22 tandberg slr product line scsi functional specifications of 52 physical blocks of user data (each block is 512 bytes long). In addition each frame has 12 blocks of ecc information [13]. For other tape formats the values differs..

  • Page 43

    Tandberg data about tape streamers 2-23 tandberg slr product line scsi functional specifications the size of a logical data block may be different than the size of a physical data block. In the tape buffer the size of a physical block is fixed (as given by the current tape format). In the host buffe...

  • Page 44

    Tandberg data about tape streamers 2-24 tandberg slr product line scsi functional specifications and removed automatically by the drive they will occupy buffer space both in read mode and write mode..

  • Page 45

    Tandberg data about tape streamers 2-25 tandberg slr product line scsi functional specifications 2.7.4. Read-ahead when operating in read mode the drive always tries to fill up the buffer with read-ahead data. This means that when a read type command terminates the drive continues to read data off t...

  • Page 46

    Tandberg data about tape streamers 2-26 tandberg slr product line scsi functional specifications underrun condition. See 2.9. Optimizing streaming operation and the sections on mode select and mode sense commands for further details about automatic velocity control, tape speeds and forced streaming....

  • Page 47

    Tandberg data about tape streamers 2-27 tandberg slr product line scsi functional specifications write mode scsi- bus threshold this is the threshold used when moving data from the scsi-bus into the data buffer in write mode. This threshold is controlled by the write buffer empty ratio. The write bu...

  • Page 48

    Tandberg data about tape streamers 2-28 tandberg slr product line scsi functional specifications 2.7.8. Data re-transfer as a part of its bus parity error handling the drive is able to re-transfer the last transferred burst any number of times. When receiving data in write mode the drive may optiona...

  • Page 49

    Tandberg data about tape streamers 2-29 tandberg slr product line scsi functional specifications 2.8. Data compression the tandberg slr product line tape drives support the adaptive lossless data compression (aldc) algorithm. The aldc is a variant of the lz 1 (lempel-ziv 1) class of compression algo...

  • Page 50

    Tandberg data about tape streamers 2-30 tandberg slr product line scsi functional specifications note that in some cases data will actually expand when subjected to the compression process. This may for instance be the case when feeding already compressed data to the drive and the compression option...

  • Page 51

    Tandberg data about tape streamers 2-31 tandberg slr product line scsi functional specifications the usage of the different fields varies slightly as a function of the tape format used, but the following general description is true for all tape formats. The dcc (data compression capable) bit is a st...

  • Page 52

    Tandberg data about tape streamers 2-32 tandberg slr product line scsi functional specifications 2.8.2.1. Using slrtape140, slrtape100, slrtape75, slrtape60, slrtape50, slrtape40, slrtape7, slr32 or slrtape24 media when using slrtape140 to slrtape7 or slr32 media it is possible to compress data on a...

  • Page 53

    Tandberg data about tape streamers 2-33 tandberg slr product line scsi functional specifications 2.9. Optimizing streaming operation for a tape streamer device underruns and overruns are typically time consuming. The stop, reposition and restart sequence may take a second or two. When this happens f...

  • Page 54

    Tandberg data about tape streamers 2-34 tandberg slr product line scsi functional specifications 2.9.3. Using both forced streaming and avc using a combination of forced streaming and avc has the following advantages while writing: the avc algorithm does have one more parameter to use when predictin...

  • Page 55

    Tandberg data about tape streamers 2-35 tandberg slr product line scsi functional specifications drive medium forced streaming avc slr50 slrtape50 available available (2 speeds) slr32 available available (2 speeds) slrtape24 available available (2 speeds) slr5 ignored ignored dc9250 ignored ignored ...

  • Page 56

    Tandberg data about tape streamers 2-36 tandberg slr product line scsi functional specifications 2.11. Tapealert the tapealert information is accessed via log sense page 2eh (see section 13.3.5 tapealert page), and configuration is done via mode select page 1ch (see section 14.3.9 informational exce...

  • Page 57: Logical Characteristics

    3-1 tandberg slr product line scsi functional specifications 3. Logical characteristics 3.1. Scsi-bus phases the drive implements the following scsi-bus phases: bus management phases information transfer phases bus free arbitration selection reselection command data-in data-out status message-in mes...

  • Page 58

    Tandberg data logical characteristics 3-2 tandberg slr product line scsi functional specifications 3.1.1.3. Selection phase the selection phase allows the initiator to select the drive for the purpose of having the drive execute a command or physical path management function. 3.1.1.4. Reselection ph...

  • Page 59

    Tandberg data logical characteristics 3-3 tandberg slr product line scsi functional specifications 3.1.2.4. Message-in/out phases the message-in phase is used by the drive to request message(s) be sent from the drive to the initiator. The message-out phase is used by the drive to request message(s) ...

  • Page 60

    Tandberg data logical characteristics 3-4 tandberg slr product line scsi functional specifications arbitration and selection are always controlled by the initiator. Once the target is selected however, the target controls the phase sequencing between the information transfer phases. If the initiator...

  • Page 61

    Tandberg data logical characteristics 3-5 tandberg slr product line scsi functional specifications a message-out sequence may transfer a single message or multiple messages. The message-out sequence may also include some message-in phases (as may be the case when the drive rejects a message out). Fi...

  • Page 62

    Tandberg data logical characteristics 3-6 tandberg slr product line scsi functional specifications when a linked command has completed execution, the drive transfers a status byte and a message byte. The bus is not going to bus free..

  • Page 64

    Tandberg data logical characteristics 3-8 tandberg slr product line scsi functional specifications 3.2.1.4. Command linking normally the drive goes to the bus free phase after a successful command completion. The drive transfers the good status byte and the command completed message before entering ...

  • Page 65

    Tandberg data logical characteristics 3-9 tandberg slr product line scsi functional specifications 3.3. Scsi pointers the scsi architecture provides for two sets of three pointers within each initiator. The first set of pointers is known as the current (or active) pointers. The second set of pointer...

  • Page 66

    Tandberg data logical characteristics 3-10 tandberg slr product line scsi functional specifications data buffer command buffer status buffer data buffer command buffer status buffer command pointer data pointer status pointer current status pointer current data pointer current command pointer scsi b...

  • Page 67

    Tandberg data logical characteristics 3-11 tandberg slr product line scsi functional specifications 3.4. Unit attention the unit attention condition is created for each initiator whenever a new cartridge has been inserted log select parameters have been changed by another initiator mode select param...

  • Page 68

    Tandberg data logical characteristics 3-12 tandberg slr product line scsi functional specifications 3.5. Scsi-bus conditions 3.5.1. Attention (atn) the attention condition allows an initiator to inform a target that the initiator has a message ready. The drive may get this message by performing a me...

  • Page 69

    Tandberg data logical characteristics 3-13 tandberg slr product line scsi functional specifications if atn occurs during a data phase of a: - read - read buffer - verify - write or - write buffer command, message-out will occur after transfer of no more data than given by the maximum burst size para...

  • Page 70

    Tandberg data logical characteristics 3-14 tandberg slr product line scsi functional specifications 3.5.2.1. Hard reset when the drive detects a hard reset condition it will do the following: release all scsi-bus signals and go to bus free. Clear all non-completed commands release all scsi-device re...

  • Page 71

    Tandberg data logical characteristics 3-15 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 72: Commands

    4-1 tandberg slr product line scsi functional specifications 4. Commands 4.1. The command descriptor block a request to the drive is performed by sending a command descriptor block. For some commands the request is accompanied by a list of parameters sent during the data- out phase. The drive will s...

  • Page 73

    Tandberg data commands 4-2 tandberg slr product line scsi functional specifications lun the drive supports only one logical unit number (lun). This field should/must be set to zero in all command descriptor blocks for the drive. The drive is a scsi-1/2 compliant device. The drive will ignore the lun...

  • Page 74

    Tandberg data commands 4-3 tandberg slr product line scsi functional specifications 4.3. Reserved fields reserved bits, fields, bytes and code values are set aside for future standardization. These bits, fields or bytes have to be set to zero. They are marked with the word reserved or the letter r i...

  • Page 75

    Tandberg data commands 4-4 tandberg slr product line scsi functional specifications 4.4. Command set summary the tandberg slr product line tape drives supports the scsi commands listed in the following table. Description group media type operation code erase inquiry load/unload locate log select log...

  • Page 76

    Tandberg data commands 4-5 tandberg slr product line scsi functional specifications group m these are move type commands. Group r these are read type commands. Data is read off the tape during command execution. Group n these are navigate type commands. Data is read off the tape during command execu...

  • Page 77

    Tandberg data commands 4-6 tandberg slr product line scsi functional specifications 4.5. Command sequencing usually the initiator must issue a sequence of scsi commands to be able to have the drive perform a certain operation. As a general rule any sequence of scsi commands is legal. There are, howe...

  • Page 78

    Tandberg data commands 4-7 tandberg slr product line scsi functional specifications current mode next command actions move move-group no action. The move-group command is executed. Read-group the buffer system is re-initialized (all buffered data is lost). The drive then calibrates the head position...

  • Page 79

    Tandberg data commands 4-8 tandberg slr product line scsi functional specifications current mode next command actions write move-group data and tapemarks remaining in the data buffer are written to the tape. If this operation is successful the drive enters the move mode. The move- group command is e...

  • Page 80

    Tandberg data commands 4-9 tandberg slr product line scsi functional specifications 4.6. Multiple connections 4.6.1. Background while the scsi-bus is in the bus free state, any initiator may attempt a connection to the drive. In most cases this will happen when the drive has completed execution of s...

  • Page 81

    Tandberg data commands 4-10 tandberg slr product line scsi functional specifications we have the following combinations of initiator ids, luns and concurrent/serial command execution: serial/concurrent connecting initiator specified lun see section serial commands any initiator 0 4.6.2 other than 0 ...

  • Page 82

    Tandberg data commands 4-11 tandberg slr product line scsi functional specifications 4.6.3. Commands received serially, lun not 0 the drive responds to the selection and a new command may be transferred. If the command is an inquiry or request sense command it will be executed. The parameter data re...

  • Page 83

    Tandberg data commands 4-12 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 84: Status Bytes

    5-1 tandberg slr product line scsi functional specifications 5. Status bytes a status byte will be sent from the drive to the initiator during the status phase at the termination of each command unless the command is cleared by an abort message, by a bus device reset message or a scsi-bus reset cond...

  • Page 85

    Tandberg data status bytes 5-2 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 86: Message System

    6-1 tandberg slr product line scsi functional specifications 6. Message system the message system allows communication between an initiator and the drive for the purpose of physical path management. The physical path may be broken and reestablished several times during the execution of a scsi comman...

  • Page 87

    Tandberg data message system 6-2 tandberg slr product line scsi functional specifications 6.1. Message in the drive supports the message-in bytes shown in the table below: message name input/output hex code task complete disconnect extended message identify ignore wide residue linked command complet...

  • Page 88

    Tandberg data message system 6-3 tandberg slr product line scsi functional specifications message reject the drive sends a message reject message to the initiator if it receives a message other then the messages listed in the message out table shown below (table 6-2). The drive also sends a message ...

  • Page 89

    Tandberg data message system 6-4 tandberg slr product line scsi functional specifications identify the identify message (see the table below) is sent by the initiator to the drive to establish an i t l nexus. It may also grant the privilege of disconnecting. Bit 7 6 5 4 3 2 1 0 idfy dscp lun table 6...

  • Page 90

    Tandberg data message system 6-5 tandberg slr product line scsi functional specifications 6.3. Extended message a value of one (01h) of the first byte of a message indicates the beginning of a multiple-byte extended message. The minimum number of bytes sent for an extended message is three. The exte...

  • Page 91

    Tandberg data message system 6-6 tandberg slr product line scsi functional specifications 6.3.1. Wide data transfer request the wide data transfer request (wdtr) message exchange establishes an agreement between the initiator and the drive on the width of the data path to be used for data phase tran...

  • Page 92

    Tandberg data message system 6-7 tandberg slr product line scsi functional specifications elects to modify the agreement. The default data transfer width is eight-bit data transfer mode..

  • Page 93

    Tandberg data message system 6-8 tandberg slr product line scsi functional specifications the wide data transfer request message has the following format: byte value description 0 01h extended message 1 02h extended message length 2 03h wide data transfer request code 3 m transfer width exponent tab...

  • Page 94

    Tandberg data message system 6-9 tandberg slr product line scsi functional specifications transfer period the transfer period is the minimum time allowed between leading edges of successive req pulses and of successive ack pulses, set by the device specifications for successful reception of data. Th...

  • Page 95

    Tandberg data message system 6-10 tandberg slr product line scsi functional specifications following drive response (1) above, the implied agreement for synchronous operation is considered to be negated if the initiator asserts the atn signal and the first message out is either message parity error ...

  • Page 96

    Tandberg data message system 6-11 tandberg slr product line scsi functional specifications 6.4. Message reject message handling this section specifies the use of the message reject message in both message-in and message-out phases. 6.4.1. Message-in phase the drive sends a message reject message in ...

  • Page 97

    Tandberg data message system 6-12 tandberg slr product line scsi functional specifications 6.5. Abort message handling if the initiator transfers an abort task set message during the message in phase, the drive will immediately go to the bus free phase. No status or ending message will be sent. The ...

  • Page 98

    Tandberg data message system 6-13 tandberg slr product line scsi functional specifications command action erase load/unload rewind these commands continue to execute as if executed in immedi- ate (or buffered) mode. Write filemark when the write filemark command is aborted after disconnection, it ha...

  • Page 99

    Tandberg data message system 6-14 tandberg slr product line scsi functional specifications 6.6. Unexpected bus free an unexpected bus free occurs when the initiator detects a bus free condition any time the initiator does not expect a bus free condition. The drive uses an unexpected bus free to info...

  • Page 100

    Tandberg data message system 6-15 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 101: General Exception Handling

    7-1 tandberg slr product line scsi functional specifications 7. General exception handling 7.1. Error codes when an error condition is detected in the drive, this error condition will result in generation of an internal error code. The different error codes have been given descriptive names. When ge...

  • Page 102

    Tandberg data general exception handling 7-2 tandberg slr product line scsi functional specifications error code table sorted by name. The same table sorted by as/aq code is located in section 23.5. Name as aq sk fmk eom ili erac b eginning - of - partition / medium detected 00h 04h 0h ■ 5 c annot d...

  • Page 103

    Tandberg data general exception handling 7-3 tandberg slr product line scsi functional specifications name as aq sk fmk eom ili erac l og parameters changed 2ah 02h 6h 4 l ogical unit is in the process of becomming ready 04h 01h 2h 4 l ogical unit not ready , cause not reportable 04h 00h 2h 5 l ogic...

  • Page 104

    Tandberg data general exception handling 7-4 tandberg slr product line scsi functional specifications name the name of the error condition erac the error recovery action code for this error condition. See section 7.8 for further details. Fmk shows a ■ if the filemark bit (fmk) is set to one in the r...

  • Page 105

    Tandberg data general exception handling 7-5 tandberg slr product line scsi functional specifications 7.2. Error conditions for all commands when an initiator accesses the drive, there are a number of error conditions that may occur regardless of the command the initiator attempts to issue. This sec...

  • Page 106

    Tandberg data general exception handling 7-6 tandberg slr product line scsi functional specifications reserved field every command will be terminated with check condition if one or more reserved bit, field, or byte is not zero. The error code will be set to i nvalid field in cdb or i nvalid field in...

  • Page 107

    Tandberg data general exception handling 7-7 tandberg slr product line scsi functional specifications buffer parity error all commands transferring data to or from the data buffer will be terminated with check condition if a buffer parity error is detected. See section 7.6. For details cartridge err...

  • Page 108

    Tandberg data general exception handling 7-8 tandberg slr product line scsi functional specifications no tape edge found an error has been detected in the tape head serve system. Media access commands will be terminated with check condition status. The error code will be set to c artridge fault . No...

  • Page 109

    Tandberg data general exception handling 7-9 tandberg slr product line scsi functional specifications if the command is successfully executed and terminated with ok status, a subsequent request sense command will return no sense. If the selftest(s) failing during power on also is part of the send di...

  • Page 110

    Tandberg data general exception handling 7-10 tandberg slr product line scsi functional specifications 7.6.1. Errors detected by the drive when a bus parity error has been detected in a selection phase, the selection will be ignored by the drive. When detecting a bus parity error in the command, dat...

  • Page 111

    Tandberg data general exception handling 7-11 tandberg slr product line scsi functional specifications 7.6.2. Errors detected by the initiator the initiator signals bus parity errors by asserting atn. The drive must acknowledge the atn by going to the message out phase. The message out transferred w...

  • Page 112

    Tandberg data general exception handling 7-12 tandberg slr product line scsi functional specifications 7.8. Error priority the drive implements the following error reporting priority for different commands. The first element in the table has the highest priority. Exception inquiry request sense othe...

  • Page 113

    Tandberg data general exception handling 7-13 tandberg slr product line scsi functional specifications 7.9. Suggested error recovery action for each error code in table 7-1 a suggested error recovery action code (erac) is listed. The erac code is meant to indicate a suitable recovery action to be ta...

  • Page 114

    Tandberg data general exception handling 7-14 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 115: Erase

    8-1 tandberg slr product line scsi functional specifications 8. Erase 8.1. Command description when using slrtape140 to slrtape7 or slr32, media the erase command causes the drive to erase one entire partition at the time. The partition can either be erased logically or it can be physically overwrit...

  • Page 116

    Tandberg data erase 8-2 tandberg slr product line scsi functional specifications long slrtape140, slrtape100, slrtape75, slrtape60, slrtape50, slrtape40, slrtape7, slr32 and slrtape24 media: when this bit is set to one, the current partition is erased by overwriting from bop to eop and updating the ...

  • Page 117: Inquiry

    9-1 tandberg slr product line scsi functional specifications 9. Inquiry 9.1. Command description the inquiry command requests that information regarding parameters of the drive are to be sent to the initiator. The parameter list is transferred during the data-in phase of the command. The inquiry com...

  • Page 118

    Tandberg data inquiry 9-2 tandberg slr product line scsi functional specifications 00h : summary of supported pages 80h : unit serial number page 81h : implemented operating definition page 82h : ascii implemented operating definition page c0h : hardware revision levels c1h : prom microcode revision...

  • Page 119

    Tandberg data inquiry 9-3 tandberg slr product line scsi functional specifications 9.3. Parameter lists 9.3.1. Standard inquiry data byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 rmb reserved 02 iso/iec ecma ansi 03 aerc trmtsk normaca reserved response data format 04 ad...

  • Page 120

    Tandberg data inquiry 9-4 tandberg slr product line scsi functional specifications byte bit 7 6 5 4 3 2 1 0 37 main microcode branch revision level 38 39 40 41 main microcode id 42 43 dsp microcode revision level 44 45 46 47 dsp microcode release status table 9-2: inquiry parameter list peripheral q...

  • Page 121

    Tandberg data inquiry 9-5 tandberg slr product line scsi functional specifications addr 32 this bit is set to zero, to indicate that the drive does not supports 32-bits wide scsi addresses. Addr 16 this bit is set to one, to indicate that the drive supports 16-bits wide scsi addresses. Rela this bit...

  • Page 122

    Tandberg data inquiry 9-6 tandberg slr product line scsi functional specifications 9.3.2. Vital product data 9.3.2.1. Summary of supported pages byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = 00h 02 reserved 03 page length = 09h 04 supported page = 00h 05 supp...

  • Page 123

    Tandberg data inquiry 9-7 tandberg slr product line scsi functional specifications 9.3.2.2. Unit serial number byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = 80h 02 reserved 03 page length = 0ch 04 unit serial number 05 06 07 08 09 10 11 12 13 14 15 end of str...

  • Page 124

    Tandberg data inquiry 9-8 tandberg slr product line scsi functional specifications 9.3.2.3. Implemented operating definitions byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = 81h 02 reserved 03 page length = 02h 04 r current operating definition 05 savlmp defaul...

  • Page 125

    Tandberg data inquiry 9-9 tandberg slr product line scsi functional specifications 9.3.2.4. Ascii implemented operating definition byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = 82h 02 reserved 03 page length = 14h 04 ascii operation definition description len...

  • Page 126

    Tandberg data inquiry 9-10 tandberg slr product line scsi functional specifications 9.3.2.5. Hardware revision levels byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = c0h 02 reserved 03 page length = 17h 04 capstan motor assembly revision level 05 06 step motor ...

  • Page 127

    Tandberg data inquiry 9-11 tandberg slr product line scsi functional specifications 9.3.2.6. Prom microcode revision level byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = c1h 02 reserved 03 page length = 11h 04 main microcode revision level 05 06 07 08 main mic...

  • Page 128

    Tandberg data inquiry 9-12 tandberg slr product line scsi functional specifications main microcode release status a single ascii character designating if the microcode was released for the customers or if it is microcode for internal use. This field is not used and will always return the character “...

  • Page 129

    Tandberg data inquiry 9-13 tandberg slr product line scsi functional specifications 9.3.2.7. Drive manufacturing date byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = c2h 02 reserved 03 page length = 09h 04 drive manufacturing date – month 05 06 “.” 07 day 08 09...

  • Page 130

    Tandberg data inquiry 9-14 tandberg slr product line scsi functional specifications 9.3.2.8. Prom microcode creation date byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = c3h 02 reserved 03 page length = 12h 04 main microcode creation date – month 05 06 “.” 07 d...

  • Page 131

    Tandberg data inquiry 9-15 tandberg slr product line scsi functional specifications 9.3.2.9. Drive adjustment date byte bit 7 6 5 4 3 2 1 0 00 peripheral qualifier peripheral device type 01 page code = c4h 02 reserved 03 page length = 09h 04 drive adjustment date – month 05 06 “.” 07 day 08 09 “.” 1...

  • Page 132

    Tandberg data inquiry 9-16 tandberg slr product line scsi functional specifications 9.4. Exception handling see the section on error conditions for all commands. If the evpd bit is not set and the page code is not set to zero, the drive will return check condition status. No parameter data will be s...

  • Page 133: 10.

    10-1 tandberg slr product line scsi functional specifications 10. Load/unload 10.1. Command description when a tape cartridge is manually inserted, the drive will automatically position the tape at bom, which means that the tape is physically loaded. To prepare the drive for media access commands, t...

  • Page 134

    Tandberg data load/unload 10-2 tandberg slr product line scsi functional specifications 10.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 1bh 01 logical unit number (lun) reserved imm 02 reserved 03 reserved 04 reserved eot ret load 05 control byte table 10-1: load/unload com...

  • Page 135

    Tandberg data load/unload 10-3 tandberg slr product line scsi functional specifications 10.3. Exception handling if check condition status is returned for a load/unload command with an imm bit of one, the load or unload operation has not been performed. See the sections on error conditions for all c...

  • Page 136

    Tandberg data load/unload 10-4 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 137: 11.

    11-1 tandberg slr product line scsi functional specifications 11. Locate 11.1. Command description the locate command causes the drive to position the tape to a specified position in the data stream. Both physical and logical positions are supported. Logical locate command the logical locate command...

  • Page 138

    Tandberg data locate 11-2 tandberg slr product line scsi functional specifications 11.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 2bh 01 logical unit number (lun) reserved bt cp imm 02 reserved 03 block address 04 05 06 07 reserved 08 partition 09 control byte table 11-1: ...

  • Page 139

    Tandberg data locate 11-3 tandberg slr product line scsi functional specifications 11.3. Exception handling see the sections on error conditions for all commands, deferred errors and error conditions for media access commands. If the bt bit is set to one and the loaded medium is a slrtape140 to slrt...

  • Page 140

    Tandberg data locate 11-4 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 141: 12.

    12-1 tandberg slr product line scsi functional specifications 12. Log select 12.1. Command description the log select command is used to modify statistical information related to the media and maintained by the drive or to activate surveillance thresholds to monitor selected events in the drive 1 . ...

  • Page 142

    Tandberg data log select 12-2 tandberg slr product line scsi functional specifications pcr if the parameter code reset (pcr) bit is be set to 1 and the parameter list length is 0, all modifiable cumulative counters with their du bits, counter thresholds, etc and tmc fields in parameter control byte ...

  • Page 143

    Tandberg data log select 12-3 tandberg slr product line scsi functional specifications 12.3. Parameter list 12.3.1. General parameter description see the log sense command for a description of all log pages/parameters supported by the drive. A log-page consists of a 4-byte header and one or more par...

  • Page 144

    Tandberg data log select 12-4 tandberg slr product line scsi functional specifications du when disable update (du) bit is set to 1, it indicates that the drive shall not update the associated parameter value except in response to a log select command. When the du bit is set to 0, it indicates that t...

  • Page 145

    Tandberg data log select 12-5 tandberg slr product line scsi functional specifications the header byte n+3, the parameter length, must exactly match the length of parameter value field..

  • Page 146

    Tandberg data log select 12-6 tandberg slr product line scsi functional specifications 12.3.4. Modifiable parameter values only the following parameters can be modified by log select command: buffer overrun counter buffer underrun counter rewrite counter total write error counter total write error c...

  • Page 147

    Tandberg data log select 12-7 tandberg slr product line scsi functional specifications 12.4. Exception handling see the section on error conditions for all commands. If pcr bit is one and parameter list length is not zero the drive will return check condition status. No parameters will be transferre...

  • Page 148: 13.

    13-1 tandberg slr product line scsi functional specifications 13. Log sense 13.1. Command description the log sense command is used to retrieve statistical information maintained by the drive 1 . The log information consists of numerous counters related to drive use and write/read operations to/from...

  • Page 149

    Tandberg data log sense 13-2 tandberg slr product line scsi functional specifications pc the page control (pc) field indicates what type of parameter value the drive returns to the initiator. Note: for page 2eh (tapealert) this field is ignored. 00b : current threshold values 01b : current cumulativ...

  • Page 150

    Tandberg data log sense 13-3 tandberg slr product line scsi functional specifications 13.3. Parameter list 13.3.1. Supported log pages byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 00h 01 reserved 02 page length = 000fh 03 04 supported page = 00h 05 supported page = 01h 06 supported page = 02h 07...

  • Page 151

    Tandberg data log sense 13-4 tandberg slr product line scsi functional specifications 13.3.2. Buffer overrun/underrun counters page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 01h 01 reserved 02 page length = 000ch 03 04 underrun log parameters 09 10 overrun log parameters 15 table 13-3: buffer...

  • Page 152

    Tandberg data log sense 13-5 tandberg slr product line scsi functional specifications ds the disable save (ds) bit is set to 1 to indicate that the drive does not support saving of this log parameter. (note: this bit can not be changed by the initiator) tsd the target save disable (tsd) bit is set t...

  • Page 153

    Tandberg data log sense 13-6 tandberg slr product line scsi functional specifications overrun log parameters byte bit 7 6 5 4 3 2 1 0 n+0 reserved n+1 count basis cause 1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 02h n+4 buffer overrun counter n+5 table 13-5: overrun log parameters count bas...

  • Page 154

    Tandberg data log sense 13-7 tandberg slr product line scsi functional specifications 13.3.3. Write error counter page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 02h 01 reserved 02 page length = 0038h 03 04 rewrite counter log parameter 15 16 total write errors log parameter 23 24 total write ...

  • Page 155

    Tandberg data log sense 13-8 tandberg slr product line scsi functional specifications parameter code the parameter code is set to 0001h. Du a disable update (du) bit set to 0 indicates that the drive is free to update the counter. A du bit set to 1 indicates that the drive shall not update the count...

  • Page 156

    Tandberg data log sense 13-9 tandberg slr product line scsi functional specifications total write errors log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0002h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 write errors counter n+7 table 13-8: total write errors log parame...

  • Page 157

    Tandberg data log sense 13-10 tandberg slr product line scsi functional specifications total write errors corrected log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0003h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 write errors corrected counter n+7 table 13-9: total wr...

  • Page 158

    Tandberg data log sense 13-11 tandberg slr product line scsi functional specifications write errors corrected counter this counter counts re-writes during write operations. When a block is re-written (one or more times), the counter is incremented by one. The increment(s) are performed each time cap...

  • Page 159

    Tandberg data log sense 13-12 tandberg slr product line scsi functional specifications total bytes written log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0005h n+2 du ds tsd etc tmc r lp n+3 parameter length = 08h n+4 total bytes written counter n+11 table 13-11: total bytes writte...

  • Page 160

    Tandberg data log sense 13-13 tandberg slr product line scsi functional specifications total uncorrected write errors log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0006h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 uncorrectable write errors counter n+7 table 13-12: t...

  • Page 161

    Tandberg data log sense 13-14 tandberg slr product line scsi functional specifications 13.3.4. Read error counter page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 03h 01 reserved 02 page length = 0040h 03 04 reread counter log parameters 15 16 total read error log parameters 23 24 total read er...

  • Page 162

    Tandberg data log sense 13-15 tandberg slr product line scsi functional specifications reread counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0001h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 08h n+4 reread counter n+11 table 13-14: reread counter log parameters parame...

  • Page 163

    Tandberg data log sense 13-16 tandberg slr product line scsi functional specifications total read error log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0002h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 total read error counter n+7 table 13-15: total read error paramete...

  • Page 164

    Tandberg data log sense 13-17 tandberg slr product line scsi functional specifications total read error corrected log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0003h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 total read error corrected counter n+7 table 13-16: total...

  • Page 165

    Tandberg data log sense 13-18 tandberg slr product line scsi functional specifications ecc correction counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0004h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 ecc correction counter n+7 table 13-17: ecc correction counte...

  • Page 166

    Tandberg data log sense 13-19 tandberg slr product line scsi functional specifications total bytes read counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0005h n+2 du ds tsd etc tmc r lp n+3 parameter length = 08h n+4 total bytes read counter n+11 table 13-18: total bytes read...

  • Page 167

    Tandberg data log sense 13-20 tandberg slr product line scsi functional specifications total uncorrected read errors log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0006h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 uncorrectable read errors counter n+7 table 13-19: tot...

  • Page 168

    Tandberg data log sense 13-21 tandberg slr product line scsi functional specifications ecc error counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 8004h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 ecc error counter n+7 table 13-20: ecc error counter log parameter...

  • Page 169

    Tandberg data log sense 13-22 tandberg slr product line scsi functional specifications 13.3.5. Tapealert page the tapealert page (page code 2eh), has 64 log parameters. Each 5-byte parameter field holds a boolean parameter value. If bit 0 of the parameter value byte is set go 1 the value is true. Th...

  • Page 170

    Tandberg data log sense 13-23 tandberg slr product line scsi functional specifications tmc the threshold met criteria (tmc) field is set to 0. Lp the list parameters (lp) bit is set to 0 to indicate that the parameter is a data counter. Parameter length this field is set to 1 to indicate that the pa...

  • Page 171

    Tandberg data log sense 13-24 tandberg slr product line scsi functional specifications flag number flag severity cause flag 39: diagnostics required w this flag is set to 1 when the media management algorithm 1 detects a drive with a dead channel. The drive will monitor the channel performance and m...

  • Page 172

    Tandberg data log sense 13-25 tandberg slr product line scsi functional specifications 13.3.6. Data block counters page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 30h 01 reserved 02 page length = 0020h 03 04 logical block counter log parameters 11 12 write media block counter log parameters 23...

  • Page 173

    Tandberg data log sense 13-26 tandberg slr product line scsi functional specifications logical block counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0000h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 logical data block counter n+7 table 13-25: logical block coun...

  • Page 174

    Tandberg data log sense 13-27 tandberg slr product line scsi functional specifications write media block counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0001h n+2 du ds tsd etc tmc r lp n+3 parameter length = 08h n+4 write media blocks counter n+11 table 13-26: write media b...

  • Page 175

    Tandberg data log sense 13-28 tandberg slr product line scsi functional specifications read media block counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0002h n+2 du ds tsd etc tmc r lp n+3 parameter length = 08h n+4 read media blocks counter n+11 table 13-27: read media bloc...

  • Page 176

    Tandberg data log sense 13-29 tandberg slr product line scsi functional specifications 13.3.7. Remaining capacity page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 31h 01 reserved 02 page length = 0020h 03 04 remaining capacity parameters - partition 0 1 11 12 remaining capacity parameters - cur...

  • Page 177

    Tandberg data log sense 13-30 tandberg slr product line scsi functional specifications remaining capacity parameters - partition 0 byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0001h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 remaining capacity counter - partition 0 n+7 table 13-2...

  • Page 178

    Tandberg data log sense 13-31 tandberg slr product line scsi functional specifications remaining capacity counter - partition 0 when the drive operates in write mode this counter counts/presents remaining physical native capacity of partition 0, scaled in kbytes. When the drive operates in read mode...

  • Page 179

    Tandberg data log sense 13-32 tandberg slr product line scsi functional specifications remaining capacity log parameters - current partition byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0002h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 remaining capacity counter - current partitio...

  • Page 180

    Tandberg data log sense 13-33 tandberg slr product line scsi functional specifications remaining capacity counter - current partition when the drive operates in write mode this counter counts/presents the remaining physical native capacity of the current (active) partition, scaled in kbytes. When th...

  • Page 181

    Tandberg data log sense 13-34 tandberg slr product line scsi functional specifications maximum capacity log parameters - partition 0 byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0003h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 maximum capacity counter - partition 0 n+7 table 13-3...

  • Page 182

    Tandberg data log sense 13-35 tandberg slr product line scsi functional specifications maximum capacity log parameters - current partition. Byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0004h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 maximum capacity counter - current partition n...

  • Page 183

    Tandberg data log sense 13-36 tandberg slr product line scsi functional specifications 13.3.8. Tape mark counters page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 32h 01 reserved 02 page length = 0010h 03 04 filemark counter parameters 11 12 setmark counter parameters 19 table 13-33: tape mark ...

  • Page 184

    Tandberg data log sense 13-37 tandberg slr product line scsi functional specifications tsd the target save disable (tsd) bit is set to 1 to indicate that the drive does not provide any drive- defined method for saving of this log parameter. (note: this bit can not be changed by the initiator) etc th...

  • Page 185

    Tandberg data log sense 13-38 tandberg slr product line scsi functional specifications setmark counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 parameter code = 0001h n+1 n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 setmark counter n+7 table 13-35: setmark counter log parameters para...

  • Page 186

    Tandberg data log sense 13-39 tandberg slr product line scsi functional specifications 13.3.9. Head cleaning page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 33h 01 reserved 02 page length = 12h 03 04 clean head log parameters 08 9 head cleaning time log parameters 15 16 cleaning count log para...

  • Page 187

    Tandberg data log sense 13-40 tandberg slr product line scsi functional specifications etc an enable threshold comparison (etc) bit is always 0 and indicates that the comparison will not be performed. (note: this bit can not be changed by the initiator) tmc the threshold met criteria (tmc) field is ...

  • Page 188

    Tandberg data log sense 13-41 tandberg slr product line scsi functional specifications tmc the threshold met criteria (tmc) field is valid only if etc bit is 1 and it selects one of four possible threshold met criteria. The default value is 11b. See the log select command for further description. Lp...

  • Page 189

    Tandberg data log sense 13-42 tandberg slr product line scsi functional specifications cleaning count log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0002h n+2 du ds tsd etc tmc r lp n+3 parameter length = 02h n+4 cumulative cleaning counter n+5 table 13-39: cleaning count log param...

  • Page 190

    Tandberg data log sense 13-43 tandberg slr product line scsi functional specifications 13.3.10. Drive page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 34h 01 reserved 02 page length = 0eh 03 04 total power on time parameters 10 11 cartridge load counter parameters 17 table 13-40: drive page pag...

  • Page 191

    Tandberg data log sense 13-44 tandberg slr product line scsi functional specifications total power on time parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0002h n+2 du ds tsd etc tmc r lp n+3 parameter length = 03h n+4 total power on time n+6 table 13-41: total power on time parameters ...

  • Page 192

    Tandberg data log sense 13-45 tandberg slr product line scsi functional specifications cartridge load counter parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0003h n+2 du ds tsd etc tmc r lp n+3 parameter length = 03h n+4 cartridge load counter n+6 table 13-42: cartridge load counter pa...

  • Page 193

    Tandberg data log sense 13-46 tandberg slr product line scsi functional specifications 13.3.11. Servo page 1 byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 35h 01 reserved 02 page length = 0028h 03 04 servo lock retry log parameters 09 10 servo track seek log parameters 15 16 write servo lock lost...

  • Page 194

    Tandberg data log sense 13-47 tandberg slr product line scsi functional specifications servo lock retry log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0000h n+2 du ds tsd etc tmc r lp n+3 parameter length = 02h n+4 n+5 servo lock retry counter table 13-44: servo lock retry log para...

  • Page 195

    Tandberg data log sense 13-48 tandberg slr product line scsi functional specifications servo track seek log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0001h n+2 du ds tsd etc tmc r lp n+3 parameter length = 02h n+4 n+5 servo track seek counter table 13-45: servo track seek log para...

  • Page 196

    Tandberg data log sense 13-49 tandberg slr product line scsi functional specifications write servo lock lost log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0002h n+2 du ds tsd etc tmc r lp n+3 parameter length = 02h n+4 n+5 write servo lock lost counter table 13-46: write servo loc...

  • Page 197

    Tandberg data log sense 13-50 tandberg slr product line scsi functional specifications write servo dropout log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0003h n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 write servo dropouts counter n+7 table 13-47: write servo dropou...

  • Page 198

    Tandberg data log sense 13-51 tandberg slr product line scsi functional specifications read servo lock lost log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0004h n+2 du ds tsd etc tmc r lp n+3 parameter length = 02h n+4 n+5 read servo lock lost counter table 13-48: read servo lock l...

  • Page 199

    Tandberg data log sense 13-52 tandberg slr product line scsi functional specifications read servo dropout log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0005h n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 read servo dropouts counter n+7 table 13-49: read servo dropout l...

  • Page 200

    Tandberg data log sense 13-53 tandberg slr product line scsi functional specifications 13.3.12. Track number page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 36h 01 reserved 02 page length = 0006h 03 04 parameter code = 0000h 05 06 du ds tsd etc tmc r lp 07 parameter length = 02h 08 track numbe...

  • Page 201

    Tandberg data log sense 13-54 tandberg slr product line scsi functional specifications 13.3.13. Cartridge usage page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 37h 01 reserved 02 page length = 36h 03 04 cartridge serial number log parameters 17 18 cartridge load counter log parameters 25 26 ca...

  • Page 202

    Tandberg data log sense 13-55 tandberg slr product line scsi functional specifications cartridge serial number parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0001h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 0ah n+4 cartridge serial number n+13 table 13-52: cartridge serial nu...

  • Page 203

    Tandberg data log sense 13-56 tandberg slr product line scsi functional specifications cartridge load counter parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0002h n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 cartridge load counter n+7 table 13-53: cartridge load counter pa...

  • Page 204

    Tandberg data log sense 13-57 tandberg slr product line scsi functional specifications cartridge load counter the cartridge load counter is incremented each time this cartridge is physically loaded in a drive. This counter is saved on the medium and indicates how many times this cartridge is loaded ...

  • Page 205

    Tandberg data log sense 13-58 tandberg slr product line scsi functional specifications cartridge bot pass counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0003h n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 cartridge bot pass counter n+7 table 13-54: cartridge bot...

  • Page 206

    Tandberg data log sense 13-59 tandberg slr product line scsi functional specifications cartridge eot pass counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0004h n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 cartridge eot pass counter n+7 table 13-55: cartridge eot...

  • Page 207

    Tandberg data log sense 13-60 tandberg slr product line scsi functional specifications cartridge write pass counter log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0005h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 04h n+4 cartridge write pass counter n+7 table 13-56: cartri...

  • Page 208

    Tandberg data log sense 13-61 tandberg slr product line scsi functional specifications cartridge motion time log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0006h n+2 du ds tsd etc tmc r lp n+3 parameter length = 04h n+4 cartridge motion time n+7 table 13-57: cartridge motion time l...

  • Page 209

    Tandberg data log sense 13-62 tandberg slr product line scsi functional specifications 13.3.14. Compression ratio page byte bit 7 6 5 4 3 2 1 0 00 reserved page code = 39h 01 reserved 02 page length = 002ah 03 04 write compression ratio 09 10 read decompression ratio 15 16 write compression interval...

  • Page 210

    Tandberg data log sense 13-63 tandberg slr product line scsi functional specifications write compression ratio log parameter byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0001h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 02h n+4 write compression ratio n+5 table 13-59 write compression ...

  • Page 211

    Tandberg data log sense 13-64 tandberg slr product line scsi functional specifications read decompression ratio log parameter byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0002h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 02h n+4 read decompression ratio n+5 table 13-60: read decompress...

  • Page 212

    Tandberg data log sense 13-65 tandberg slr product line scsi functional specifications write compression interval 1 log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0003h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 02h n+4 write compression interval 1 n+5 table 13-61: write ...

  • Page 213

    Tandberg data log sense 13-66 tandberg slr product line scsi functional specifications write compression interval 2 log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0004h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 02h n+4 write compression interval 2 n+5 table 13-62: write ...

  • Page 214

    Tandberg data log sense 13-67 tandberg slr product line scsi functional specifications write compression interval 3 log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0005h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 02h n+4 write compression interval 3 n+5 table 13-63: write ...

  • Page 215

    Tandberg data log sense 13-68 tandberg slr product line scsi functional specifications write compression interval 4 log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0006h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 02h n+4 write compression interval 4 n+5 table 13-64: write ...

  • Page 216

    Tandberg data log sense 13-69 tandberg slr product line scsi functional specifications write compression interval 5 log parameters byte bit 7 6 5 4 3 2 1 0 n+0 n+1 parameter code = 0007h n+2 du ds tsd etc tmc lbin lp n+3 parameter length = 02h n+4 write compression interval 5 n+5 table 13-65: write ...

  • Page 217

    Tandberg data log sense 13-70 tandberg slr product line scsi functional specifications 13.4. Exception handling see section on error conditions for all commands. If the ppc or parameter pointers field is different from zero, the drive will return check condition status. No parameter data is sent. Th...

  • Page 218

    Tandberg data log sense 13-71 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 219: 14.

    14-1 tandberg slr product line scsi functional specifications 14. Mode select 14.1. Command description the mode select command provides a means for the initiator to specify a number of device parameters in the drive. New parameter values are included in the mode select parameter list. The drive imp...

  • Page 220

    Tandberg data mode select 14-2 tandberg slr product line scsi functional specifications sp a save pages (sp) bit of zero indicates that the drive will perform the specified mode select operation, but not save any mode parameters. A sp bit of one indicates that the drive will perform the specified mo...

  • Page 221

    Tandberg data mode select 14-3 tandberg slr product line scsi functional specifications 14.3.1. Header list byte bit 7 6 5 4 3 2 1 0 00 reserved 01 reserved 02 r buffered mode tape speed 03 block descriptor length table 14-2: mode select header list buffered mode the drive supports the following mod...

  • Page 222

    Tandberg data mode select 14-4 tandberg slr product line scsi functional specifications slr100 drive: medium type default speed low speed medium speed high speed slrtape100 88 ips 5 mb/s 53 ips 3 mb/s 70 ips 4 mb/s 88 ips 5 mb/s slrtape75 88 ips 5 mb/s 53 ips 3 mb/s 70 ips 4 mb/s 88 ips 5 mb/s slrta...

  • Page 223

    Tandberg data mode select 14-5 tandberg slr product line scsi functional specifications slr50 drive: medium type default speed low speed medium speed high speed slrtape50 103 ips 2 mb/s 52 ips 1 mb/s 52 ips 1 mb/s 103 ips 2 mb/s slr32 120 ips 1.5 mb/s 60 ips 0.75 kb/s 60 ips 0.75 mb/s 120 ips 1.5 mb...

  • Page 224

    Tandberg data mode select 14-6 tandberg slr product line scsi functional specifications 14.3.2. Block descriptor list byte bit 7 6 5 4 3 2 1 0 00 density code 01 number of blocks 02 03 04 reserved 05 block length 06 07 table 14-9: mode select block descriptor list density code this field indicates t...

  • Page 225

    Tandberg data mode select 14-7 tandberg slr product line scsi functional specifications write operation (executed by a write or write filemarks command) is started from beginning of media, bom (i.E. Bop on partition 0) 1 . This means that changing the density code when the tape is positioned off bom...

  • Page 226

    Tandberg data mode select 14-8 tandberg slr product line scsi functional specifications medium tape format selected (default density code) dc300 dc300xlp dc615 dc600a dc6037 dc6150 dc6250 dc6320 dc6525 dc9100 dc9100fw dc9120 dc9120sl dc9120xl these mediums require an unsupported tape format. The dri...

  • Page 227

    Tandberg data mode select 14-9 tandberg slr product line scsi functional specifications note that the different drive types will not have write compatibility on all tape formats. See table 1-1 for an overview. See also table 30-2 for details on which medium types that can be used for which tape form...

  • Page 228

    Tandberg data mode select 14-10 tandberg slr product line scsi functional specifications medium type fixed block length 1 variable block length slrtape140 2 .. 262144 1 .. 262144 slrtape100 2 .. 262144 1 .. 262144 slrtape75 2 .. 262144 1 .. 262144 slrtape60 2 .. 262144 1 .. 262144 slrtape50 2 .. 262...

  • Page 229

    Tandberg data mode select 14-11 tandberg slr product line scsi functional specifications 14.3.3. Read-write error recovery page this page is used to specify error recovery and reporting parameters. The page can be saved. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 01h 01 page length = 0ah 02 reserv...

  • Page 230

    Tandberg data mode select 14-12 tandberg slr product line scsi functional specifications dcr a disable correction (dcr) bit of one indicates that the drive will disable the ecc mechanism. Even if a block is correctable, the drive will not correct it, but instead use rereads only to recover the block...

  • Page 231

    Tandberg data mode select 14-13 tandberg slr product line scsi functional specifications 14.3.4. Disconnect/reconnect page this page is used to specify the drive's disconnect and reconnect parameters. The page can be saved. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 02h 01 page length = 0eh 02 rea...

  • Page 232

    Tandberg data mode select 14-14 tandberg slr product line scsi functional specifications Ö the default (factory programmed) value is 16 (i.E. 256 kbytes). Write buffer empty ratio the write buffer empty ratio indicates to the drive, on verify and write commands, how empty the buffer will be prior to...

  • Page 233

    Tandberg data mode select 14-15 tandberg slr product line scsi functional specifications dimm the disconnect immediate (dimm) bit must be set to 0, it is not changeable (the drive may transfer data for a command during the same interconnect tenancy in which it receives the command). Dtdc the data tr...

  • Page 234

    Tandberg data mode select 14-16 tandberg slr product line scsi functional specifications 14.3.5. Control mode page this page is used to specify features as tagged queuing, asynchronous event reporting and error logging. The page can not be saved. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 0ah 01 p...

  • Page 235

    Tandberg data mode select 14-17 tandberg slr product line scsi functional specifications rac the report a check (rac) field must be set to 0h, it is not changeable. The drive will report long busy condition instead of check condition. Swp the software write protect (swp) bit must be set to 0h, it is...

  • Page 236

    Tandberg data mode select 14-18 tandberg slr product line scsi functional specifications 14.3.6. Data compression page this page is used to specify data compression configurations. The page can be saved. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 0fh 01 page length = 0eh 02 dce dcc reserved 03 dde...

  • Page 237

    Tandberg data mode select 14-19 tandberg slr product line scsi functional specifications dde when using slrtape140 to slrtape7 or slr32, media the data decompression enable (dde) bit is ignored (data decompression is always enabled regardless of the state of the dde bit). When using other media the ...

  • Page 238

    Tandberg data mode select 14-20 tandberg slr product line scsi functional specifications 14.3.7. Device configuration page this page is used to specify various drive configurations. The page can be saved. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 10h 01 page length = 0eh 02 r cap caf active forma...

  • Page 239

    Tandberg data mode select 14-21 tandberg slr product line scsi functional specifications Ö the default (factory programmed) value is 0. Write buffer full ratio the drive only supports a single fixed write buffer full ratio so this field must be set to zero. This field is not changeable. Read buffer ...

  • Page 240

    Tandberg data mode select 14-22 tandberg slr product line scsi functional specifications buffer size at early warning the buffer size at early warming must be set to 00h, it is not changeable (the drive decides the buffer size at early warning). Rftd reserved for tandberg data use. This bit must be ...

  • Page 241

    Tandberg data mode select 14-23 tandberg slr product line scsi functional specifications 14.3.8. Medium partition page (1) this page is used to specify medium partitioning. See also section 2.3 partitions within a volume for further details. Note that partitioning is only allowed when the tape is po...

  • Page 242

    Tandberg data mode select 14-24 tandberg slr product line scsi functional specifications medium type maximum additional partitions supported unknown 0 dc9250 0 slr5 0 slrtape24 35 slr32 35 slrtape40 23 slrtape7 2 slrtape50 35 slrtape60 23 slrtape75 23 slrtape100 23 slrtape140 23 table 14-20: maximum...

  • Page 243

    Tandberg data mode select 14-25 tandberg slr product line scsi functional specifications the following table gives a summary of the possible settings of the fdp, sdp and idp bits: fdp sdp idp resulting action 0 0 0 the medium is partitioned into a single partition covering the whole medium. 0 0 1 th...

  • Page 244

    Tandberg data mode select 14-26 tandberg slr product line scsi functional specifications partition size descriptors these fields define the approximate size of the respective partitions in the unit specified in the psum field. Partitions are numbered by their relative position in the partition size ...

  • Page 245

    Tandberg data mode select 14-27 tandberg slr product line scsi functional specifications 14.3.9. Informational exceptions control page this page is used to specify the parameters for the control of tapealert specific informational exception conditions. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 1c...

  • Page 246

    Tandberg data mode select 14-28 tandberg slr product line scsi functional specifications test flag number when the test bit is set to 0, the test flag number field must always be set to zero. When the test bit set to 1, and the test flag number field is non-zero, the drive will generate/clear a test...

  • Page 247

    Tandberg data mode select 14-29 tandberg slr product line scsi functional specifications 14.3.10. Miscellaneous parameters page this page is used to change values of several vendor unique parameters. The page can be saved. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 20h 01 page length = 10h 02 forc...

  • Page 248

    Tandberg data mode select 14-30 tandberg slr product line scsi functional specifications load function this field controls auto load and auto retention. 00h : auto load 01h : auto load, auto retension 02h : no auto load, no auto retension 03h : auto load, conditional retension 04h : auto load and au...

  • Page 249

    Tandberg data mode select 14-31 tandberg slr product line scsi functional specifications bsyi when set to one, the bsyi bit indicates that the drive will respond with busy status as long as an immediate- type command is under execution. The busy status is returned on every new command until the exec...

  • Page 250

    Tandberg data mode select 14-32 tandberg slr product line scsi functional specifications as soon as one command is waiting, the drive is in the same state as when a command is executing. Fast when set to one this bit enables the special fast space mode. When set to zero this bit disables the fast sp...

  • Page 251

    Tandberg data mode select 14-33 tandberg slr product line scsi functional specifications tin a target initiated negotiation (tin) bit of zero indicates that the drive does not initiate wide or synchronous data transfer negotiations. A tin bit of one indicates that the drive may initiate negotiations...

  • Page 252

    Tandberg data mode select 14-34 tandberg slr product line scsi functional specifications bus parity error retries this field is used to specify the maximum number of consecutive retries of information transfer upon detection of parity error on the data bus or reception of an initiator detected error...

  • Page 253

    Tandberg data mode select 14-35 tandberg slr product line scsi functional specifications 14.3.11. User page 0 this page can be used to save any information (up to ten bytes). The page can be saved. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 21h 01 page length = 0ah 02 user defined field 03 user de...

  • Page 254

    Tandberg data mode select 14-36 tandberg slr product line scsi functional specifications 14.3.12. User page 1 this page can be used to save any information (up to ten bytes). The page can be saved. Byte bit 7 6 5 4 3 2 1 0 00 ps r page code = 22h 01 page length = 0ah 02 user defined field 03 user de...

  • Page 255

    Tandberg data mode select 14-37 tandberg slr product line scsi functional specifications 14.3.13. Cartridge manufacturer page this page holds information on the currently inserted tape cartridge. This page can not be saved. Note that the mode select command ignores the values given in the cartridge ...

  • Page 256

    Tandberg data mode select 14-38 tandberg slr product line scsi functional specifications 14.4. Exception handling see sections on error conditions for all commands and deferred errors. If the mode select command, for any reason, returns with check condition status, no parameters will have been chang...

  • Page 257: 15.

    15-1 tandberg slr product line scsi functional specifications 15. Mode sense 15.1. Command description the mode sense command provides a means for the drive to report parameters to the initiator. It is a complementary command to the mode select command. The drive will implement only one common set o...

  • Page 258

    Tandberg data mode sense 15-2 tandberg slr product line scsi functional specifications 15.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 1ah 01 logical unit number (lun) r dbd reserved 02 pc page code 03 reserved 04 allocation length 05 control byte table 15-1: mode sense com...

  • Page 259

    Tandberg data mode sense 15-3 tandberg slr product line scsi functional specifications 15.3. Parameter list the mode sense parameter list consists of three sub- lists. The first list is a 4 byte header list. This may be followed by an 8 byte block descriptor list. At last there may be from one to se...

  • Page 260

    Tandberg data mode sense 15-4 tandberg slr product line scsi functional specifications buffered mode the drive supports the following mode: 0 and 1. Mode 0 indicates that the write and write filemarks command reports good status when the requested data blocks have been actually written and verified ...

  • Page 261

    Tandberg data mode sense 15-5 tandberg slr product line scsi functional specifications 15.3.2. Block descriptor list byte bit 7 6 5 4 3 2 1 0 00 density code 01 number of blocks 02 03 04 reserved 05 block size 06 07 table 15-3: mode sense block descriptor list density code this field indicates the c...

  • Page 262

    Tandberg data mode sense 15-6 tandberg slr product line scsi functional specifications block size this field reports the currently configured fixed block size. See the corresponding field in the mode select command for details. 15.3.3. Read-write error recovery page descriptor see the mode select co...

  • Page 263

    Tandberg data mode sense 15-7 tandberg slr product line scsi functional specifications 15.3.5. Control mode page see the mode select command for details on the current, saved and default values of this page (page code 0ah) the ps bit will be set to zero for this page. The changeable values page will...

  • Page 264

    Tandberg data mode sense 15-8 tandberg slr product line scsi functional specifications 15.3.7. Device configuration parameters page descriptor see the mode select command for details on the current, saved and default values of this page (page code 10h) the ps bit will be set to one for this page. Th...

  • Page 265

    Tandberg data mode sense 15-9 tandberg slr product line scsi functional specifications 15.3.9. Tapealert configuration page see the mode select command for details on the current, saved and default values for of this page (pagecode 1ch) the ps bit will always be set to zero for this page to indicate...

  • Page 266

    Tandberg data mode sense 15-10 tandberg slr product line scsi functional specifications 15.3.10. Miscellaneous parameters page descriptor see the mode select command for details on the current, saved and default values of this page (page code 20h) the ps bit will be set to one for this page. The cha...

  • Page 267

    Tandberg data mode sense 15-11 tandberg slr product line scsi functional specifications 15.3.12. User page 1 page descriptor see the mode select command for details on the current, saved and default values of this page (page code 22h) the ps bit will be set to one for this page. The changeable value...

  • Page 268

    Tandberg data mode sense 15-12 tandberg slr product line scsi functional specifications 15.3.13. Cartridge manufacturer page see the mode select command for details on the current, saved and default values of this page (page code 23h) the ps bit will be set to zero for this page. The changeable valu...

  • Page 269

    Tandberg data mode sense 15-13 tandberg slr product line scsi functional specifications 15.4. Exception handling see sections on error conditions for all commands and deferred errors. If the pf bit is not set to one, the mode sense command will be terminated with check condition status. The error co...

  • Page 270

    Tandberg data mode sense 15-14 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 271: 16.

    16-1 tandberg slr product line scsi functional specifications 16. Prevent/allow medium removal 16.1. Command description this command is used to enable/disable the eject mechanism. The drive does not allow medium removal if any initiator currently has medium removal prevented. Medium removal will be...

  • Page 272

    Tandberg data prevent/allow medium removal 16-2 tandberg slr product line scsi functional specifications 16.3. Exception handling see sections on error conditions for all commands, deferred errors and error conditions for media access commands. 16.4. Phase sequencing in this section the possible scs...

  • Page 273: 17.

    17-1 tandberg slr product line scsi functional specifications 17. Read 17.1. Command description the read command transfers one or more blocks to the initiator beginning with the next block on the tape. The fixed (fix) bit specifies both the meaning of the transfer length field and whether fixed-len...

  • Page 274

    Tandberg data read 17-2 tandberg slr product line scsi functional specifications 17.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 08h 01 logical unit number (lun) reserved sili fix 02 transfer length 03 04 05 control byte table 17-1: read command descriptor block sili a supp...

  • Page 275

    Tandberg data read 17-3 tandberg slr product line scsi functional specifications 17.3. Exception handling 17.3.1. General see sections on error conditions for all commands, deferred errors, error conditions for media access commands and buffer parity errors. When the read command has started to exec...

  • Page 276

    Tandberg data read 17-4 tandberg slr product line scsi functional specifications 17.3.4. Illegal length when the requested transfer length does not match the actual block length, the drive response depends on the state of the fix bit, sili bit and on the value of the block size field in the mode sel...

  • Page 277

    Tandberg data read 17-5 tandberg slr product line scsi functional specifications fixed block mode when the block size field in the block descriptor list of the mode select command is different from zero (fixed block mode), the read command will then be terminated with check condition status if the t...

  • Page 278

    Tandberg data read 17-6 tandberg slr product line scsi functional specifications fix sili block size illegal length type result 0 0 0 underlength check condition, information bytes > 0 (positive) overlength check condition, information bytes 0 0 > 0 underlength check condition, information bytes > 0...

  • Page 279

    Tandberg data read 17-7 tandberg slr product line scsi functional specifications when a variable length block has been abnormally truncated, due to an end-of-data detection, illegal length is not signaled. Instead the end-of-data detected error takes priority and the error code is set e nd - of - da...

  • Page 280

    Tandberg data read 17-8 tandberg slr product line scsi functional specifications when the drive receives a new read command the drive will execute a space over bad blocks operation to move the logical tape position until it can safely detect the beginning of a logical block. This read command will n...

  • Page 281

    Tandberg data read 17-9 tandberg slr product line scsi functional specifications 17.4. Phase sequencing in this section the possible scsi-bus phase sequences during execution of the command are described. Section 3.2.1 has more details about the generic phases in the brackets. := this sequence will ...

  • Page 282

    Tandberg data read 17-10 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 283: 18.

    18-1 tandberg slr product line scsi functional specifications 18. Read block limits 18.1. Command description the read block limits command requests the drive's capability for block length limits to be returned. The read block limits parameter list will be returned during the data-in phase of the co...

  • Page 284

    Tandberg data read block limits 18-2 tandberg slr product line scsi functional specifications 18.4. Exception handling see sections on error conditions for all commands and deferred errors. 18.5. Phase sequencing in this section the possible scsi-bus phase sequences during execution of the command a...

  • Page 285: 19.

    19 -1 tandberg slr product line scsi functional specifications 19. Read buffer 19.1. Command description the read buffer command is mainly used in conjunction with the write buffer command as a diagnostic function for testing the drive's data buffer and the scsi-bus integrity. The read buffer comman...

  • Page 286

    Tandberg data read buffer 19-2 tandberg slr product line scsi functional specifications mode this field controls the function of the read buffer command. It also controls the meaning of the other fields within this command descriptor block. The following modes are supported: mode description 2 read ...

  • Page 287

    Tandberg data read buffer 19-3 tandberg slr product line scsi functional specifications 19.3. Read data mode (2) in this mode, the data-in phase contains data only (no header). The buffer id field identifies a specific buffer within the drive from which data will be transferred. 19.3.1. Data buffer ...

  • Page 288

    Tandberg data read buffer 19-4 tandberg slr product line scsi functional specifications 19.3.7. Nvp data (buffer id = 6) the read buffer command will transfer the contents of the nvp (non volatile parameters) area of the flash prom. 19.3.8. Tape buffer control data (buffer id = 7) the read buffer co...

  • Page 289

    Tandberg data read buffer 19-5 tandberg slr product line scsi functional specifications 19.4. Read descriptor mode (3) in this mode, a maximum of four bytes of read buffer descriptor information is returned. The drive will return the descriptor information for the buffer specified by the buffer id (...

  • Page 290

    Tandberg data read buffer 19-6 tandberg slr product line scsi functional specifications buffer id associated buffer buffer capacity (bytes) 0 data buffer max 1507328 / 8126464 1 1 static ram 65536 / 131072 1 2 media statistics variable, 0 – 16384 / 49152 1 3 microcode store max 1048752 4 eeprom 2048...

  • Page 291

    Tandberg data read buffer 19-7 tandberg slr product line scsi functional specifications 19.6. Phase sequencing in this section the possible scsi-bus phase sequences during execution of the command are described. Section 3.2.1 has more details about the generic phases in the brackets. := this sequenc...

  • Page 292

    Tandberg data read buffer 19-8 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 293: 20.

    20-1 tandberg slr product line scsi functional specifications 20. Read position 20.1. Command description the read position command requests the drive to return a special position key that identifies the current position in the data stream on the medium. While writing (or reading), the read position...

  • Page 294

    Tandberg data read position 20-2 tandberg slr product line scsi functional specifications 20.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 34h 01 logical unit number (lun) reserved tclp long bt 02 reserved 03 reserved 04 reserved 05 reserved 06 reserved 07 reserved 08 reserv...

  • Page 295

    Tandberg data read position 20-3 tandberg slr product line scsi functional specifications 20.3. Data format byte bit 7 6 5 4 3 2 1 0 00 bop eop bcu bycu r bpu perr r 01 partition number 02 reserved 03 reserved 04 first block location 07 08 last block location 11 12 reserved 13 number of blocks in bu...

  • Page 296

    Tandberg data read position 20-4 tandberg slr product line scsi functional specifications bpu the block position unknown (bpu) bit is set when the block position is not known and cannot be obtained without tape motion. The remainder of the data in the parameter list will not be valid. The block posi...

  • Page 297

    Tandberg data read position 20-5 tandberg slr product line scsi functional specifications 20.5. Phase sequencing in this section the possible scsi-bus phase sequences during execution of the command are described. Section 3.2 has more details about the generic phases in the brackets. := the drive wi...

  • Page 298

    Tandberg data read position 20-6 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 299: 21.

    21-1 tandberg slr product line scsi functional specifications 21. Receive diagnostic results 21.1. Command description the receive diagnostic results command requests analysis data produced by the last send diagnostics command to be transferred to the initiator. The receive diagnostic results comman...

  • Page 300

    Tandberg data receive diagnostic results 21-2 tandberg slr product line scsi functional specifications page code the following page codes are available: 00h: the analysis data returned will be from the last send diagnostics command. 98h: the analysis data returned will be from the last completed sta...

  • Page 301

    Tandberg data receive diagnostic results 21-3 tandberg slr product line scsi functional specifications 21.3. Results from the send diagnostics command when the page code is set to 00h, the analysis data returned will be from the last send diagnostics command. The analysis data returned by the receiv...

  • Page 302

    Tandberg data receive diagnostic results 21-4 tandberg slr product line scsi functional specifications page length this field specifies the length in bytes of the analysis data that follow this field. When no errors have been detected there will be no test specific information and the page length fi...

  • Page 303

    Tandberg data receive diagnostic results 21-5 tandberg slr product line scsi functional specifications sense key this field holds information on the cause of error. Refer to the section on general exception handling and the request sense command for details. Additional sense code this field holds ad...

  • Page 304

    Tandberg data receive diagnostic results 21-6 tandberg slr product line scsi functional specifications 21.4. Results from the stand alone diagnostics test when the page code is set to 98h, the analysis data returned will be from the last completed stand alone diagnostics test. The results from the s...

  • Page 305

    Tandberg data receive diagnostic results 21-7 tandberg slr product line scsi functional specifications time stamp for last completed sad this time stamp is the power on time in minutes in the drive when the last stand alone diagnostics test was completed. Current time stamp the power on time in minu...

  • Page 306

    Tandberg data receive diagnostic results 21-8 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 307: 22.

    22-1 tandberg slr product line scsi functional specifications 22. Release 22.1. Command description the release command will release the drive if it is currently reserved by the requesting initiator. It is not an error to attempt to release the drive if it is not currently reserved by the requesting...

  • Page 308

    Tandberg data release 22-2 tandberg slr product line scsi functional specifications 22.3. Exception handling see sections on error conditions for all commands and deferred errors. If the third party (3rd) bit is one, the third party id (3rd party id) is equal to the drive's id and the drive has been...

  • Page 309: 23.

    23-1 tandberg slr product line scsi functional specifications 23. Request sense 23.1. Command description the request sense command requests that the drive transfer sense data to the initiator. The sense data will be valid for a check condition returned on the prior command. This sense data will be ...

  • Page 310

    Tandberg data request sense 23-2 tandberg slr product line scsi functional specifications 23.3. Parameter list byte bit 7 6 5 4 3 2 1 0 00 vadd response code 01 reserved 02 fmk eom ili res sense key 03 information bytes 04 05 06 07 additional sense length 08 reserved 09 10 11 12 additional sense cod...

  • Page 311

    Tandberg data request sense 23-3 tandberg slr product line scsi functional specifications information bytes the contents of the information bytes is command specific and is defined within the appropriate chapter for the command of interest. Unless otherwise specified, this field contains the differe...

  • Page 312

    Tandberg data request sense 23-4 tandberg slr product line scsi functional specifications bit pointer the bit pointer field specifies the erroneous bit in the byte designated by the field pointer. When a multiple-bit field is faulty, the bit pointer field will point to the most significant (leftmost...

  • Page 313

    Tandberg data request sense 23-5 tandberg slr product line scsi functional specifications 23.4. Sense keys code name description 0h no sense indicates that there is no specific sense key information to be reported. This would be the case for a successful command or a command that received a check co...

  • Page 314

    Tandberg data request sense 23-6 tandberg slr product line scsi functional specifications 23.5. Additional sense code and qualifier error code table sorted by as/aq code. The same table sorted by name is located in section 7.1. As aq sk fmk eom ili erac name 00h 00h 0h ■ 5 n o additional sense infor...

  • Page 315

    Tandberg data request sense 23-7 tandberg slr product line scsi functional specifications as aq sk fmk eom ili erac name 28h 00h 6h 4 n ot ready to ready transition , medium may have changed 29h 00h 6h 4 p ower on / r eset occurred 2ah 01h 6h 4 m ode parameters changed 2ah 02h 6h 4 l og parameters c...

  • Page 316

    Tandberg data request sense 23-8 tandberg slr product line scsi functional specifications 23.6. Exception handling the request sense command will return the check condition status only to report fatal errors for the request sense command. Fatal errors are: non-zero bit in command descriptor or parit...

  • Page 317: 24.

    24-1 tandberg slr product line scsi functional specifications 24. Reserve 24.1. Command description the reserve command will reserve the drive exclusively for the requesting initiator or another specified scsi device. The reservation will remain in effect until superseded by another reserve command ...

  • Page 318

    Tandberg data reserve 24-2 tandberg slr product line scsi functional specifications 24.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 16h 01 logical unit number (lun) 3rd 3rd party id extent 02 reservation identification 03 reserved 04 reserved 05 control byte table 24-1: res...

  • Page 319: 25.

    25-1 tandberg slr product line scsi functional specifications 25. Rewind 25.1. Command description the rewind command requests the drive to rewind the tape to the beginning of the current partition. Prior to the execution of the rewind operation, the drive will write any buffered data that is to be ...

  • Page 320

    Tandberg data rewind 25-2 tandberg slr product line scsi functional specifications 25.4. Phase sequencing in this section the possible scsi-bus phase sequences during execution of the command are described. Section 3.2.1 has more details about the generic phases in the brackets. := this sequence wil...

  • Page 321: 26.

    26-1 tandberg slr product line scsi functional specifications 26. Send diagnostics 26.1. Command description the send diagnostics command requests the drive to perform diagnostic tests on itself. A possible send diagnostics parameter list is transferred during the data out phase of the command. Befo...

  • Page 322

    Tandberg data send diagnostics 26-2 tandberg slr product line scsi functional specifications parameter list length this field specifies the length in bytes of the parameter list that will be transferred from the initiator to the drive. A parameter list length of zero indicates that no data will be t...

  • Page 323

    Tandberg data send diagnostics 26-3 tandberg slr product line scsi functional specifications 26.3. Predefined selftest sequence 1 selftest sequence 1 does not affect media (other than writing out buffered data remaining in the drive’s data buffer when the test is started). The following tests are pe...

  • Page 324

    Tandberg data send diagnostics 26-4 tandberg slr product line scsi functional specifications 26.4. Predefined selftest sequence 2 selftest sequence 2 will affect (write over) the currently inserted media. Previously written data will be lost. In addition, the test will partition the tape to a single...

  • Page 325

    Tandberg data send diagnostics 26-5 tandberg slr product line scsi functional specifications 26.5. Exception handling see sections on error conditions for all commands, deferred errors and buffer parity errors. If the pf bit is not set to zero, the drive will terminate the send diagnostics command w...

  • Page 326

    Tandberg data send diagnostics 26-6 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 327: 27.

    27-1 tandberg slr product line scsi functional specifications 27. Space 27.1. Command description the space command provides a variety of positioning functions determined by a space code and a space count. Both forward (toward end-of-media) and reverse (toward beginning-of-media) positioning are pro...

  • Page 328

    Tandberg data space 27-2 tandberg slr product line scsi functional specifications 27.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 11h 01 logical unit number (lun) reserved code 02 count 03 04 05 fast x reserved flag link table 27-1: space command descriptor block code the s...

  • Page 329

    Tandberg data space 27-3 tandberg slr product line scsi functional specifications 27.3. Using fast space the fast option enables the drive to perform fast space to any data or tapemark block on the tape. All space operations except space over sequential filemarks and space over sequential setmarks w...

  • Page 330

    Tandberg data space 27-4 tandberg slr product line scsi functional specifications 27.4.2. No data if the drive is not able to find data on the inserted cartridge the space command will be terminated with check condition. The error code will be set to e nd - of -d ata d etected or r ecorded entity no...

  • Page 331

    Tandberg data space 27-5 tandberg slr product line scsi functional specifications 27.4.5. End of data if end-of-data (eod) is encountered while spacing forward over blocks, tapemarks or sequential tapemarks, the drive will return check condition status. The error code will be set to e nd - of - data...

  • Page 332

    Tandberg data space 27-6 tandberg slr product line scsi functional specifications 27.4.8. Non-recoverable read error during space forward if a non-recoverable read error occurs during the execution of a space forward command, the bad block will be assumed to be a data block and the drive will termin...

  • Page 333

    Tandberg data space 27-7 tandberg slr product line scsi functional specifications 28.4.10. Space forward after write if a space forward command issued when the drive is in write mode (i.E. Immediately after a write operation, see section 4.5. Command sequencing for details), the drive terminates the...

  • Page 334

    Tandberg data space 27-8 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 335: 28.

    28-1 tandberg slr product line scsi functional specifications 28. Test unit ready 28.1. Command description the test unit ready command provides a means to check if the drive is ready for a medium access command. If the drive would accept an appropriate medium access command without returning check ...

  • Page 336

    Tandberg data test unit ready 28-2 tandberg slr product line scsi functional specifications 28.4. Phase sequencing in this section the possible scsi-bus phase sequences during execution of the command are described. Section 3.2.1 has more details about the generic phases in the brackets. := the driv...

  • Page 337: 29.

    29-1 tandberg slr product line scsi functional specifications 29. Verify (not for slr7 and slr140) 29.1. Command description the verify command verifies one or more block(s) beginning with the next block on the tape. The verify command can operate in two different modes indicated by the byte compare...

  • Page 338

    Tandberg data verify 29-2 tandberg slr product line scsi functional specifications 29.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 13h 01 logical unit number (lun) reserved imm cmp fix 02 verification length 03 04 05 control byte table 29-1: verify command descriptor block ...

  • Page 339

    Tandberg data verify 29-3 tandberg slr product line scsi functional specifications 29.3. Exception handling if a miscompare is detected (cmp bit of one), the verify command will be terminated with check condition status. The error code will be set to m iscompare during verify operation . The valid (...

  • Page 340

    Tandberg data verify 29-4 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 341: 30.

    30-1 tandberg slr product line scsi functional specifications 30. Write 30.1. Command description the write command transfers one or more blocks from the initiator to the tape at the current tape position. The fixed (fix) bit specifies both the meaning of the transfer length field and whether fixed-...

  • Page 342

    Tandberg data write 30-2 tandberg slr product line scsi functional specifications 30.2. Command descriptor block byte bit 7 6 5 4 3 2 1 0 00 operation code 0ah 01 logical unit number (lun) reserved fix 02 transfer length 03 04 05 reserved flag link table 30-1: write command descriptor block fix a fi...

  • Page 343

    Tandberg data write 30-3 tandberg slr product line scsi functional specifications 30.5. Write from eod, append if the write command follows a locate, read, space, verify, write filemarks or another write command, and the tape is positioned for a data append, the write operation will start at the cur...

  • Page 344

    Tandberg data write 30-4 tandberg slr product line scsi functional specifications 30.8. Exception handling 30.8.1. General see sections on error conditions for all commands, deferred errors, error conditions for media access commands and buffer parity errors. When the write command has started execu...

  • Page 345

    Tandberg data write 30-5 tandberg slr product line scsi functional specifications 30.8.3. Illegal media type when an illegal combination of a medium and a drive is detected, the drive will terminate the write command with check condition status. The error code will be set to i ncompatible medium ins...

  • Page 346

    Tandberg data write 30-6 tandberg slr product line scsi functional specifications 30.8.4 illegal overwrite if the current tape position is not at bop or eod and overwrite is not in effect (see section 2.5 overwrite for details), a write operation will be terminated immediately with check condition s...

  • Page 347

    Tandberg data write 30-7 tandberg slr product line scsi functional specifications if another write command is received by the drive while the tape is positioned after lew (but before end of partition), the drive will transfer and write all requested data if possible. The write command will then be t...

  • Page 348

    Tandberg data write 30-8 tandberg slr product line scsi functional specifications 30.8.9. Append error if the write command is executed after read, locate, space or verify command or after a write command where the data in the drive internal buffer has been flushed to the tape, the drive must seek t...

  • Page 349

    Tandberg data write 30-9 tandberg slr product line scsi functional specifications := this sequence will be used when disconnect is not allowed and an error is detected during the initial part of the write command or when the transfer length is zero. := this sequence will be used when disconnect is n...

  • Page 350

    Tandberg data write 30-10 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 351: 31.

    31-1 tandberg slr product line scsi functional specifications 31. Write buffer 31.1. Command description the write buffer command is used in conjunction with the read buffer command as a diagnostic function for testing the drive's data buffer and the scsi-bus integrity. Additional modes are provided...

  • Page 352

    Tandberg data write buffer 31-2 tandberg slr product line scsi functional specifications mode description 0 write combined header and data 2 write data 4 download microcode 5 download microcode and save mode 7 download microcode with offsets and save mode table 31-2: supported modes buffer id this f...

  • Page 353

    Tandberg data write buffer 31-3 tandberg slr product line scsi functional specifications 31.4. Write data mode (2) in this mode, the data-out phase contains buffer data only. Data is written to the drive's data buffer starting at the location specified by the buffer offset. The parameter list length...

  • Page 354

    Tandberg data write buffer 31-4 tandberg slr product line scsi functional specifications 31.7. Download microcode with offsets and save mode (7) in this mode the initiator may split the transfer of microcode over two or more write buffer commands. If the last write buffer command of a set of one or ...

  • Page 355

    Tandberg data write buffer 31-5 tandberg slr product line scsi functional specifications while performing the save operation (during flash prom programming), the drive will not respond to any scsi activity except for a hard scsi reset. A hard scsi reset will most likely make the save operation fail ...

  • Page 356

    Tandberg data write buffer 31-6 tandberg slr product line scsi functional specifications 31.10. Exception handling see sections on error conditions for all commands, deferred errors and buffer parity errors. If the write buffer command is received while the inserted tape is not logically positioned ...

  • Page 357

    Tandberg data write buffer 31-7 tandberg slr product line scsi functional specifications 31.11. Phase sequencing in this section the possible scsi-bus phase sequences during execution of the command are described. Section 3.2.1 has more details about the generic phases in the brackets. := command> t...

  • Page 358

    Tandberg data write buffer 31-8 tandberg slr product line scsi functional specifications this page intentionally left blank.

  • Page 359: 32.

    32-1 tandberg slr product line scsi functional specifications 32. Write filemarks 32.1. Command description the write filemarks command causes the specified number of tapemarks to be written beginning at the current tape position. A zero value of tapemarks indicates that no tapemarks are to be writt...

  • Page 360

    Tandberg data write filemarks 32-2 tandberg slr product line scsi functional specifications imm a combination of buffered mode and an immediate (imm) bit of one, indicates that the target will end the command and return status as soon as the tapemark blocks are written into the data buffer. If the i...

  • Page 361

    Tandberg data write filemarks 32-3 tandberg slr product line scsi functional specifications 32.5.2. Illegal media type when an illegal combination of medium type and drive is detected, the drive will terminate the write filemarks command with check condition status. The error code will be set to i n...

  • Page 362

    Tandberg data write filemarks 32-4 tandberg slr product line scsi functional specifications 32.5.5. End of partition if end of partition is reached during the execution of a write filemarks command, the drive will terminate the command with check condition status. The error code will be set to e nd ...

  • Page 363

    Tandberg data write filemarks 32-5 tandberg slr product line scsi functional specifications 32.5.7. Append error when the write filemarks command is executed after a read, locate, space or verify command, or after a write filemarks command where the data in the drive internal buffer has been flushed...

  • Page 364

    Tandberg data write filemarks 32-6 tandberg slr product line scsi functional specifications this page intentionally left blank.