6.Command Specification
MODE SENSE
6-64
SONY AIT-3 drive SDX-700 series Ver.2.1
Note
: If the Page Code is ZERO, the drive will only return the four-byte header and the one eight-byte block
descriptor and terminate the command with GOOD status.
Allocation Length
: The Allocation Length specifies the number of bytes that the HOST has allocated for returned
MODE SENSE data. An Allocation Length of ZERO means that the drive will return no MODE SENSE data. This is
not considered an error and GOOD status will be returned. Any other value indicates the maximum number of bytes
that can be transferred. The drive terminates the DATA IN phase when the Allocation Length bytes have been
transferred or when all available MODE SENSE data has been transferred to the initiator, whichever is less. The
Allocation Length must fall on header or block descriptor boundaries. If the Allocation Length does not fall on these
boundaries then the drive returns CHECK CONDITION status with the ILLEGAL REQUEST sense key set, unless
the value is greater than that required for the specified page.
If the Page Code is ZERO, the Host requires MODE SENSE to only return the four-byte header the one eight-byte
block descriptor, therefore the Allocation Length must be set to 0Ch. The value of the Page Control Field is then not
checked by the drive and may be set to any value.
If the Allocation Length is non ZERO, it must be set to 4 or more. If the Allocation length is non ZERO and less than
4, the drive will return CHECK CONDITION status, and ILLEGAL REQUEST sense key.
If the drive does not support Data Compression and a Mode Sense Page is received the drive will return CHECK
CONDITION status, and sense key will set to ILLEGAL REQUEST.
The MODE SENSE data contains a four-byte header, followed by one eight-byte block descriptor, followed by ZERO
or more variable length pages, depending on the Page Code and the Allocation Length.
Table 6-47: MODE SENSE data
Bit
Byte
7 6 5 4 3 2 1 0
0
Mode Data Length
1
Medium Type (00h)
2
WP
Buffered Mode
Speed (00h)
3
Block Descriptor Length (08h)
4
Density Code (32h)
5
(MSB)
6
Number of Blocks (00 00 00h)
7
(LSB)
8
Reserved
9
(MSB)
10
Block
Length
11
(LSB)
Mode Data Length
: The mode data length specifies the length in bytes of the following mode sense data that is
available to be transferred during the DATA IN phase. The mode data length does not include itself but does include
the total length of all requested MODE SENSE pages.
Media Type
: The media value will be ZERO as only one media type is supported.
WP
: A Write Protected bit of ZERO indicates that the tape is write enabled. A Write Protected bit of one indicates that
the tape is write protected.
Buffered Mode
: if this bit is set to ZERO, the drive will not report a GOOD status on WRITE commands until the data
blocks are actually written on the tape. If set, the drive is in buffered mode and may report a GOOD status on WRITE
commands as soon as the data block has been transferred to the drive’s buffer. One or more blocks may be buffered
prior to writing to the tape.
Speed Field
: will return ZERO as the drive only supports one speed.
Block Descriptor Length
: returns a value of 8, which specifies the length in bytes of the following Block Descriptor.
The drive only returns a single Block Descriptor.
Density Code
: The drive returns 32h in the Density Code field.
Содержание SDX-700C
Страница 12: ...1 Introduction SONY AIT 3 drive SDX 700 series Ver 2 1 1 4 This page intentionally left blank ...
Страница 15: ...2 Specification SONY AIT 3 drive SDX 700 series Ver 2 1 2 3 Figure 2 2b SDX 700C R Mounting Holes ...
Страница 22: ...2 Specification SONY AIT 3 drive SDX 700 series Ver 2 1 2 10 This page intentionally left blank ...
Страница 28: ...3 Installation SONY AIT 3 drive SDX 700 series Ver 2 1 3 6 This page intentionally left blank ...
Страница 172: ...7 Drive Diagnostics 7 10 SONY AIT 3 drive SDX 700 series Ver 2 1 This page intentionally left blank ...
Страница 178: ...10 Appendix C 10 2 SONY AIT 3 drive SDX 700 series Ver 2 1 This page intentionally left blank ...
Страница 180: ...11 Appendix D 11 2 SONY AIT 3 drive SDX 700 series Ver 2 1 This page intentionally left blank ...
Страница 186: ...12 Appendix E SONY AIT 3 drive SDX 700 series Ver 2 1 12 6 This page intentionally left blank ...
Страница 196: ...13 Appendix F SONY AIT 3 drive SDX 700 series Ver 2 1 13 10 This page intentionally left blank ...