Detailed instructions for use are in the User's Guide.
[. . . ] Fibre Channel Interface
Fibre Channel Interface
©19972004, Seagate Technology LLC All rights reserved Publication number: 77767496, Rev. D February 2004 Seagate and Seagate Technology are registered trademarks of Seagate Technology LLC. SeaTools, SeaFONE, SeaBOARD, SeaTDD, and the Wave logo are either registered trademarks or trademarks of Seagate Technology LLC. Other product names are registered trademarks or trademarks of their owners. [. . . ] All of the log parameter data requested from the drive, whether changed or not, is sent and it begins with the log specified by the parameter code given in the Parameter Pointer field and returns the number of bytes specified by the allocation length field, in ascending order of parameter codes starting at the parameter code given in the Parameter Pointer field. A PPC bit of zero and a Parameter Pointer field of zero causes all available log parameters for the specified log page to be returned to the initiator subject to the allocation length.
0
122
SP (Save Parameters) 0 1 The drive performs the specified Log Sense command and does not save any log parameters to nonvolatile memory. The drive first saves parameters identified as savable (by the DS bit in Table 124) to a nonvolatile location, and then performs the rest of the Log Sense command.
Table 123: Log Page format
Bit Byte 0 1 2 3 Reserved Reserved (MSB) Page Length (n3) (LSB) Log parameter structure(s) 4 to x+3 . nY Log Parameter (last) (Length Y bytes) Log Parameter (First) (Length X bytes) . Page Code 7 6 5 4 3 2 1 0
Fibre Channel Interface Manual, Rev. D
191
Table number 123
Field definitions (listed alphabetically) Log Parameter Each Log Parameter structure begins with a four-byte parameter header followed by one or more bytes of parameter value data. Log Parameter structures are in the format given in Table 124.
123
Log Parameter Structures Most log pages contain one or more special data structures called Log Parameters. Log Parameters may be data counters that record a count of a particular event (or events) or list parameters (strings) that contain a description of a particular event. List parameters are not currently supported by the drives represented by this manual.
123
Page Code Valid page codes are listed in Table 126.
123
Page Length The total number of bytes of Log Parameter structures that follow these first four control block bytes. If the initiator sends a page length that results in the truncation of any parameter, the target terminates the command with Check Condition status. The sense key is set to Illegal Request with the additional sense code set to Invalid Field In Parameter List.
Table 124: Log Parameter structure
Bit Byte 0 1 2 3 4 : n
Table number 124
7 (MSB)
6
5
4
3
2
1
0
Parameter Code (LSB)
DU
DS
TSD
ETC
TMC
LBIN
LP
Parameter Length (n3 bytes) Parameter Value
Field definitions (listed alphabetically) DS (Disable Save) 0 The drive supports Log Select and Log Sense data saving for that log parameter. The drive saves the current cumulative and the current threshold parameter values in response to a Log Select or Log Sense command with a SP bit of one. The drive does not support saving that log parameter in response to a Log Select or Log Sense command with a SP bit of one.
1
124
DU (Disable Update) 0 1 The drive updates the log parameter value to reflect all events that should be logged by that parameter. The drive does not update the log parameter value except in response to a Log Select command that specifies a new value for the parameter.
For the Log Select command, this applies only to the cumulative log parameter values (indicated by 01 in the PC field of the Log Select and Log Sense command descriptor block). The DU flag is set to one when the current cumulative value of the parameter counter it controls reaches its maximum value (see Parameter Length definition for this table). Upon reaching this maximum value, the data counter does not wrap around and start over at zero. Incrementing of other counters within the same log pages ceases. Counters do not restart automatically if the overflowed counter is re-initialized. If the data counter reaches its maximum value during the execution of a command, the drive completes the command. Drive counter updates are performed in the background. This means a counter may overflow long after a command has completed, so the drive must treat this condition as a Unit Attention with the additional sense code set to Log Counter at max for all initiators if RLEC=1 (Report Log exception condition bit of the Control Mode Page 0Ah).
192
Fibre Channel Interface Manual, Rev. D
Since the drive uses volatile memory to hold cumulative values, they will be lost when a power cycle occurs. [. . . ] See Fibre Channel Protocol Search Data Equal command 302 Search Data High command 302 Search Data Low command 302 Sector Number Address field physical sector address format 291 Sectors Per Track Format Parameters page 223, 225 Seek (10) command 303 Seek (6) command 302 Segment Number Extended Sense Data 145, 146 Sel. See Select-ID Select-ID Jumper Settings page 181 mapping 182 Self-Monitoring Analysis and Reporting Technology 355 Self-test Send Diagnostic command 304, 305 self-test default 355 extended 355 short 355 Self-test Code Device Self-test Results Log parameter data format 202, 203 Send Diagnostic command 304, 306 Self-test Results Log Parameter Self-test Results Log page 201, 202 Self-test Results Value Device Self-test Results Log parameter data format 202 Self-test Results Log parameter data format 203 Self-test Segment Number Device Self-test Results Log parameter data format 202 Self-test Results Log parameter data format 203 Send ESI command format 104 Send Diagnostic command 304 Send Diagnostic Parameter Length ESI command format 104 Sense Data Length Mode Sense data 247 Mode Sense parameter list 213, 214 Sense Key Device Self-test Results Log parameter data format 202 Extended Sense Data 145, 146 Self-test Results Log parameter data format 203 sense key 296 Sense Key Specific 147 Extended Sense Data 145, 146
Fibre Channel Interface Manual, Rev. D
Index-19
Sense Key Specific Valid 147 Extended Sense Data 145, 146 Field Pointer bytes 147, 148 Format Indication bytes 148 Sense Length Valid FCP RSP Payload 142, 144 SEQ_CNT. See Sequence Identifier Sequence Count basic link services header 52, 53 common transport header 97 extended link services header 56, 57, 98 FCP CMND header 126, 127 FCP DATA frame header 137, 138 FCP RSP header 140, 141 FCP XFER RDY header 134, 135 Frame header format 27 Sequence Count, Highest BA_ACC Payload 54 Sequence Count, Lowest BA_ACC Payload 54 Sequence Delivery Class 3 Service Parameters 70 Class Service Parameters 62 Service Option Class 3 fields 70 Service Option fields 64 Sequence Identifier basic link services header 52, 53 common transport header 97 extended link services header 56, 57, 98 FCP CMND header 126, 127 FCP DATA frame header 137, 139 FCP RSP header 140, 141 FCP XFER RDY header 134, 135 Frame header format 24, 27 Sequence Identifier, Last BA_ACC Payload 54 Sequence Identifier, Valid BA_ACC Payload 54 serial transmission 13 serialization process 14 Service Action Persistent Reserve In command 249 Persistent Reserve Out command 254, 255 Read Capacity (16) command 275, 276 Report Device Identifier command 294 Set Device Identifier command 310 XDRead (32) command 343, 344 XDWrite (32) command 347, 348 XDWriteRead (32) command 350, 351 XPWrite (32) command 353, 354 Service Action Reservation Key Persistent Reserve Out parameter list 256, 257 Service Option fields Class Service Parameters 64, 70
Service Options Class Service Parameters 62, 64, 70 Class3 Service Parameters 70 Service Parameters PRLI Accept Payload 74 PRLI Payload 72 Service Parameters, Class 1, 2, 3 FLOGI ACC Payload 71 FLOGI Payload 67 PLOGI ACC Payload 65 PLOGI Payload 58 Servo RAM Release Date in ASCII Firmware Numbers page 179 Servo RAM Release Number Firmware Numbers page 179 Servo ROM Release Date in ASCII Firmware Numbers page 179 Servo ROM Release Number Firmware Numbers page 179 Set Bad Device Light Diagnostic pageSend Diagnostic command 309 Set Device Identifier command 310 Set Device Identifier Parameter List 311 Set Limits command 312 short self-test 355 Simple Queue FCP CMND Payload 129 Size Enable Caching Parameters page 230, 232 SIZE. [. . . ]