• Nie Znaleziono Wyników

Mode Sense data

W dokumencie ST-3600057SS (Stron 55-61)

10.3 SCSI commands supported

10.3.2 Mode Sense data

The Mode Sense command provides a way for the drive to report its operating parameters to the initiator. The drive maintains four sets of mode parameters:

1. Default values

Default values are hard-coded in the drive firmware stored in flash E-PROM (nonvolatile memory) on the drive’s PCB. These default values can be changed only by downloading a complete set of new firmware into the flash E-PROM. An initiator can request and receive from the drive a list of default values and use those in a Mode Select command to set up new current and saved values, where the values are change-able.

2. Saved values

Saved values are stored on the drive’s media using a Mode Select command. Only parameter values that are allowed to be changed can be changed by this method. Parameters in the saved values list that are not changeable by the Mode Select command get their values from default values storage.

When power is applied to the drive, it takes saved values from the media and stores them as current val-ues in volatile memory. It is not possible to change the current valval-ues (or the saved valval-ues) with a Mode Select command before the drive achieves operating speed and is “ready.” An attempt to do so results in a

“Check Condition” status.

On drives requiring unique saved values, the required unique saved values are stored into the saved val-ues storage location on the media prior to shipping the drive. Some drives may have unique firmware with unique default values also.

On standard OEM drives, the saved values are taken from the default values list and stored into the saved values storage location on the media prior to shipping.

3. Current values

Current values are volatile values being used by the drive to control its operation. A Mode Select command can be used to change the values identified as changeable values. Originally, current values are installed from saved or default values after a power on reset, hard reset, or Bus Device Reset message.

4. Changeable values

Changeable values form a bit mask, stored in nonvolatile memory, that dictates which of the current values and saved values can be changed by a Mode Select command. A one (1) indicates the value can be changed. A zero (0) indicates the value is not changeable. For example, in Table 10.3.2.1, refer to Mode page 81, in the row entitled “CHG.” These are hex numbers representing the changeable values for Mode page 81. Note in columns 5 and 6 (bytes 04 and 05), there is 00h which indicates that in bytes 04 and 05 none of the bits are changeable. Note also that bytes 06, 07, 09, 10, and 11 are not changeable, because those fields are all zeros. In byte 02, hex value FF equates to the binary pattern 11111111. If there is a zero in any bit position in the field, it means that bit is not changeable. Since all of the bits in byte 02 are ones, all of these bits are changeable.

The changeable values list can only be changed by downloading new firmware into the flash E-PROM.

Note. Because there are often several different versions of drive control firmware in the total population of drives in the field, the Mode Sense values given in the following tables may not exactly match those of some drives.

The following tables list the values of the data bytes returned by the drive in response to the Mode Sense com-mand pages for SCSI implementation (see the SAS Interface Manual ).

Definitions:

DEF = Default value. Standard OEM drives are shipped configured this way.

CHG = Changeable bits; indicates if default value is changeable.

10.3.2.1 ST3600057SS and ST3600957SS Mode Sense data

MODE DATA HEADER:

01 6e 00 10 00 00 00 08

BLOCK DESCRIPTOR:

45 dd 2f b0 00 00 02 00

MODE PAGES:

DEF 81 0a c0 0b ff 00 00 00 05 00 ff ff CHG 81 0a ff ff 00 00 00 00 ff 00 ff ff

DEF 82 0e 00 00 00 00 00 00 00 00 01 3a 00 00 00 00 CHG 82 0e 00 00 00 00 00 00 00 00 ff ff 00 00 00 00

DEF 83 16 bb d0 00 00 00 00 03 80 04 c4 02 00 00 01 00 c0 00 4c 40 00 00 00 CHG 83 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

DEF 84 16 01 8a 9a 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a a7 00 00 CHG 84 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

DEF 87 0a 00 0b ff 00 00 00 00 00 ff ff CHG 87 0a 0f ff 00 00 00 00 00 00 ff ff

DEF 88 12 14 00 ff ff 00 00 ff ff ff ff 80 20 00 00 00 00 00 00 CHG 88 12 a5 00 00 00 ff ff ff ff 00 00 20 00 00 00 00 00 00 00

DEF 8a 0a 02 00 00 00 00 00 00 00 19 00 CHG 8a 0a 03 f0 00 00 00 00 00 00 00 00

DEF 18 06 06 00 00 00 00 00 CHG 18 06 00 00 00 00 00 00

DEF 99 06 06 00 07 d0 00 00 CHG 99 06 10 00 ff ff ff ff

DEF d9 01 00 64 00 06 00 02 00 00 00 00 10 29 0e 00 50 00 c5 00 00 68 64 a9 50 06 05 b0 00 29 2d d5 07 00 00 00 00 00 00 00 88 aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 10 29 0e 00 50 00 c5 00 00 68 64 aa 50 06 05 b0 00 29 2d d4 06 00 00 00 00 00 00 00 88 aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00

CHG d9 01 00 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00

DEF 59 02 00 0c 00 06 03 e8 00 00 00 00 00 00 00 00 CHG 59 02 00 0c 00 00 ff ff 00 00 00 00 00 00 00 00

DEF 59 03 00 2c 00 06 00 02 00 00 00 10 80 ac 00 01 80 ac 00 01 00 00 00 00 00 00 09 00 00 01 00 10 80 ac 00 01 80 ac 00 01 00 00 00 00 00 00 09 00

CHG 59 03 00 2c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

DEF 9a 0a 00 02 00 00 00 05 00 00 8c a0

CHG 9a 0a 00 03 ff ff ff ff ff ff ff ff

DEF 9c 0a 10 00 00 00 00 00 00 00 00 01 CHG 9c 0a 9d 0f ff ff ff ff ff ff ff ff

DEF dc 01 00 0c 01 01 00 18 00 18 00 00 00 00 00 00 CHG dc 01 00 0c 00 01 ff ff ff ff 00 00 00 00 00 00

DEF 80 06 00 80 0f 00 00 00 CHG 80 06 b7 c0 8f 00 00 00

READ CAPACITY DATA:

READ BUFFER

0 1 2 3 4 5 6 7 8 9 A B C D E F ASCII

000000: 45 DD 2F AF 00 00 02 00 __ __ __ __ __ __ __ __

10.3.2.2 ST3450857SS and ST3450757SS Mode Sense data

DEF 9c 0a 10 00 00 00 00 00 00 00 00 01 CHG 9c 0a 9d 0f ff ff ff ff ff ff ff ff

DEF dc 01 00 0c 01 01 00 18 00 18 00 00 00 00 00 00 CHG dc 01 00 0c 00 01 ff ff ff ff 00 00 00 00 00 00

DEF 80 06 00 80 0f 00 00 00 CHG 80 06 b7 c0 8f 00 00 00

READ CAPACITY DATA:

READ BUFFER

0 1 2 3 4 5 6 7 8 9 A B C D E F

000000: 34 65 F8 6F 00 00 02 00

10.3.2.3 ST3300657SS and ST3300557SS Mode Sense data MODE DATA HEADER:

01 76 00 10 00 00 00 08 BLOCK DESCRIPTOR:

22 ec b2 5c 00 00 02 00 MODE PAGES:

DEF 81 0a c0 0b ff 00 00 00 05 00 ff ff CHG 81 0a ff ff 00 00 00 00 ff 00 ff ff

DEF 82 0e 00 00 00 00 00 00 00 00 01 3a 00 00 00 00 CHG 82 0e 00 00 00 00 00 00 00 00 ff ff 00 00 00 00

DEF 83 16 bb d0 00 00 00 00 03 80 04 c4 02 00 00 01 00 c0 00 4c 40 00 00 00 CHG 83 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DEF 84 16 01 8a 9a 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3a a7 00 00 CHG 84 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DEF 87 0a 00 0b ff 00 00 00 00 00 ff ff

CHG 87 0a 0f ff 00 00 00 00 00 00 ff ff

DEF 88 12 14 00 ff ff 00 00 ff ff ff ff 80 20 00 00 00 00 00 00 CHG 88 12 a5 00 00 00 ff ff ff ff 00 00 20 00 00 00 00 00 00 00 DEF 8a 0a 02 00 00 00 00 00 00 00 0c 80

CHG 8a 0a 03 f0 00 00 00 00 00 00 00 00 DEF 18 06 06 00 00 00 00 00

CHG 18 06 00 00 00 00 00 00

DEF 99 0e 06 00 07 d0 00 00 00 00 00 00 00 00 00 00 CHG 99 0e 10 00 ff ff ff ff 00 00 00 00 00 00 00 00

DEF d9 01 00 64 00 06 00 02 00 00 00 00 14 0a 0e 00 50 00 c5 00 00 5f 66 d5 50 00 00 00 80 00 00 00 01 00 00 00 00 00 00 00 88 aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 14 2a 0e 00 50 00 c5 00 00 5f 66 d6 50 00 00 00 80 00 00 01 03 00 00 00 00 00 00 00 88 aa 00 00 00 00 00 00 00 00 00 00 00 00 00 00

CHG d9 01 00 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f0 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00

DEF 59 02 00 0c 00 06 03 e8 00 00 00 00 00 00 00 00 CHG 59 02 00 0c 00 00 ff ff 00 00 00 00 00 00 00 00

DEF 59 03 00 2c 00 06 00 02 00 00 00 10 80 ac 00 01 80 ac 00 01 80 a8 00 00 00 00 0a 00 00 01 00 10 80 ac 00 01 80 ac 00 01 80 a8 00 00 00 00 0a 00

CHG 59 03 00 2c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

DEF 9a 0a 00 02 00 00 00 05 00 00 8c a0 CHG 9a 0a 00 03 ff ff ff ff 00 00 00 00 DEF 9c 0a 10 00 00 00 00 00 00 00 00 01 CHG 9c 0a 9d 0f ff ff ff ff ff ff ff ff

DEF dc 01 00 0c 01 01 00 18 00 18 00 00 00 00 00 00 CHG dc 01 00 0c 00 01 ff ff ff ff 00 00 00 00 00 00 DEF 80 06 00 80 0f 00 00 00

CHG 80 06 b7 c0 8f 00 00 00 READ CAPACITY DATA:

READ BUFFER

0 1 2 3 4 5 6 7 8 9 A B C D E F ASCII 00000: 22 EC B2 5B 00 00 02 00 __ __ __ __ __ __ __ __

W dokumencie ST-3600057SS (Stron 55-61)

Powiązane dokumenty