Sony SDX-800V/R Computer Drive User Manual


 
6.Command Specification LOG SENSE
6-14 SONY AIT-3Ex drive SDX-800V series Ver.1.1
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 additional sense code of INVALID FIELD IN CDB.
Supported pages are:
Table 6-9: Supported Log Pages
Page Code Description
00h
02h
03h
07h
2Eh
30h
31h
33h
34h
35h
39h
3Ch
3Dh
3Eh
Supported Log Pages
Write Error Counter Page
Read Error Counter Page
Last n Error Events Page
Tape Alert Log Page
Tape Log Page (Sony Unique)
Tape Capacity Log Page
Drive Usage Page (Sony Unique)
Write Frame Error Counter Page
Read Frame Error Counter Page
Data Compression Transfer Log Page
AIT Log Page
AIT Fixed Length Information Page for MIC
AIT Variable Length Information Page for MIC
Parameter Pointer: The Parameter Pointer field allows the host to specify at which parameter within a log page the
requested data should 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 additional sense code 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.