LOG SENSE
7. ATAPI Packet Command Specification
SONY AIT-1Turbo drive SDX-460V series Ver.1.0
7-13
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 7-11: LOG PAGE Supported Log Pages
Page Code
Description
Allocation Length
00h
Supported Log Pages
12h
02h
Write Error Counter Page
20h
03h
Read Error Counter Page
20h
07h
Last n Error Events Page
1A8h (max)
30h
Tape Log Page (Sony Unique)
5Ch
31h
Tape Capacity Log Page
24h
33h
Drive Usage Log Page (Sony Unique)
8Eh
34h
Write Frame Error Counter Page
3Ch
35h
Read Frame Error Counter Page
4Ch
39h
Transfer Log Page
5Ch
3Ch
AIT Log Page
90h X Partition4
3Dh
AIT Fixed length Information Page for MIC
334h – MIC Phase 1
37Ch – AIT mode 2k MIC
4A8h – AIT mode 8k MIC
3Eh
AIT Variable Length Information Page for MIC
n
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. The drive will give a CHECK CONDITION because of this. It will return whatever host requests,
up to the total 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.
7.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 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.