6.Command Specification

LOG SENSE

Page Code: The Page Code field identifies which log page is being requested by the initiator. If the page is not supported then the command will terminate with a CHECK CONDITION status with the sense key set to ILLEGAL REQUEST and an ASC of INVALID FIELD IN CDB.

Supported pages are:

 

Table 6-9: Supported Log Pages

 

 

 

Page Code

 

Description

00h

 

Supported Log Pages

02h

 

Write Error Counter Page

03h

 

Read Error Counter Page

07h

 

Last n Error Events Page

2Eh

 

Tape Alert Log Page

30h

 

Tape Log Page (Sony Unique)

31h

 

Tape Capacity Log Page

33h

 

Drive Usage Page (Sony Unique)

34h

 

Write Frame Error Counter Page

35h

 

Read Frame Error Counter Page

39h

 

Data Compression Transfer Log Page

3Ch

 

AIT Log Page

3Dh

 

AIT Fixed Length Information Page for MIC

3Eh

 

AIT Variable Length Information Page for MIC

Parameter Pointer: The Parameter Pointer field allows the initiator to specify at which parameter within a log page the requested data will begin.

For example if a page supported parameters 0 through 5, and the Parameter Pointer field contained 3 then only parameters 3, 4 and 5 would be returned to the initiator. Similarly, if a page supported parameters 1, 3 and 6, and the Parameter Pointer field contained 2, then only parameters 3 and 6 would be returned to the initiator.

Note that parameters within a page are always returned in ascending order according to parameter code. If an invalid parameter pointer is sent the drive will return CHECK CONDITION with the sense key set to ILLEGAL REQUEST and an ASC of INVALID FIELD IN CDB.

Allocation Length: The Allocation Length field is used to inform the target how much space the initiator has allocated for data. Note however that if this field is 0 then this is not considered an error and the device will just return a GOOD STATUS.

6.6.1.The Log Page Descriptor

The format of the log pages consists of ZERO or more variable-length parameter structures. Each page begins with a 4-byte page header followed by ZERO or more variable-length parameter structures defined for that page. The Log Select command supports the ability to send ZERO or more log pages. The LOG SENSE command returns a single log page as specified in the Page Code field of the CDB.

6-14

SONY AIT-5 drive SDX-1100V series Ver.1.0

Page 68
Image 68
Sony SDX-1100V/R manual Log Page Descriptor, Supported Log Pages