6.Command Specification

 

 

 

 

 

 

 

 

 

 

REQUEST SENSE

 

 

 

Table 6-87: Error Codes 70h and 71h Sense Data Format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

7

 

6

 

5

 

4

 

3

 

2

 

1

0

 

 

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

Valid

 

 

 

 

 

 

Error

Code (70h or

71h)

 

 

 

 

 

1

 

 

 

 

 

 

Segment Number

 

 

 

 

 

 

2

File-mark

 

EOM

 

ILI

 

Reserved

 

 

Sense Key

 

 

 

3

(MSB)

 

 

 

 

 

Information

Bytes

 

 

 

 

 

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

 

 

7

 

 

 

 

 

Additional Sense Length (14h)

 

 

 

 

 

 

8

(MSB)

 

 

 

Command-Specific Information

 

 

 

 

 

 

11

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

 

 

12

 

 

 

 

 

 

Additional Sense Code

 

 

 

 

 

 

13

 

 

 

 

 

Additional Sense Code Qualifier

 

 

 

 

 

 

14

 

 

 

 

 

Field Replaceable Unit Code

 

 

 

 

 

 

15

SKSV

 

 

 

 

 

Sense-Key Specific

 

 

 

 

 

 

17

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

18

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

19

(MSB)

 

 

 

Read/Write Data Error Counter

 

 

 

 

 

 

21

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

 

 

22

(MSB)

 

 

 

 

Remaining Tape

 

 

 

 

 

 

25

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

 

 

26

 

 

Reserved

 

 

 

 

CLN

 

 

Reserved

MEW

 

 

27

 

 

 

 

 

 

 

Reserved

 

 

 

 

 

Valid: A valid bit of one indicates that the Information Bytes hold residual data as defined in the SCSI spec.

Error Code: A value of 70h indicates a current error, i.e. the report is associated with the most recently received command. A value of 71h indicates a deferred error, i.e. the report is associated with a previous command and is not as a result of the current command. No other values will be returned.

Segment Number: Contains the number of the current segment descriptor if the REQUEST SENSE command is in response to a COPY command. Otherwise this byte is ZERO.

File-mark:This bit indicates that the current command has read a File-mark or a Set-mark. Reporting of Set-marks is optional and indicated by the RSmk bit in the MODE SENSE/SELECT Device Configuration Parameter page.

EOM: An End-Of-Medium (EOM) bit of ONE indicates that an End-Of-Medium condition exists. This bit, when set, indicates that the drive is at or past the Logical Early Warning Point if the direction was forward, or that the command could not be completed because Beginning-Of-Partition was encountered if the direction was reverse. The drive will also set the Sense Key to NO SENSE and the Additional Sense Code Qualifier to either 04h for Beginning of Partition or 02h for End of Partition.

For WRITE type operations, the drive will return a CHECK CONDITION on any operation which occurs following detection of the Early Warning End-of-Partition marker. The EOM and Additional Sense Code fields will be set.

For READ type operations, the drive will not return a CHECK CONDITION until the drive encounters the physical End-of-Partition.

Note that at PHYSICAL End-of-Partition, a WRITE FILEMARK command will cause the command to terminate with a CHECK CONDITION and a sense key of VOLUME OVERFLOW.

ILI: This is the Incorrect Length Indicator bit, which indicates that the requested logical block length did not match the logical block length of the data on the medium. Only READ or VERIFY may cause this bit to be set.

Information Bytes: The conditions of these bytes will contain the differences (residue) of the requested length minus the actual length in either bytes, blocks, File-marks or Set-marks as determined by the command. (Negative values are indicated by two’s complement notation.) These bytes will be valid for all READ, WRITE, SPACE and VERIFY commands for which a CHECK CONDITION status has been generated. These bytes will be ZERO for MODE SELECT/SENSE, INQUIRY, READ BLOCK LIMITS and TEST UNIT READY commands.

6-88

SONY AIT-3Ex drive SDX-800V series Ver.1.1

Page 146
Image 146
Sony SDX-800V/R manual Eom Ili, Sksv, Cln, Mew