IBM IC35L036UWDY10 Hard Drive Specifications - Page 81

LOG SENSE 4Dh, Reserved = 0, Allocation Length, Parameter Pointer, Code, PPC= 0

Page 81 highlights

8.7 LOG SENSE (4Dh) Byte 0 1 2 Bit 7 6 5 4 3 2 1 0 Command Code = 4Dh Reserved = 0 Reserved = 0 PPC= 0 SP PC Page Code 3 4 Reserved = 0 5 (MSB) 6 Parameter Pointer (LSB) 7 (MSB) 8 Allocation Length (LSB) 9 Reserved = 0 FLAG LINK Figure 64. LOG SENSE The LOG SENSE command allows the initiator to retrieve the statistical data regarding the drive. ! PPC (Parameter Pointer Control) bit must be set to zero. This specifies that the drive start transferring data starting from the field specified in the parameter pointer field for the number of bytes specified by the allocation length. If the PPC bit is set to 1, CHECK CONDITION status is returned with a Sense Key of ILLEGAL REQUEST and additional sense code of INVALID FIELD IN CDB. ! SP (Save Parameters) bit set to 0 specifies that the drive does not save any log parameters. If it is set to 1, all page parameters that are savable (those pages denoted by a DS = 0 in the parameter header control byte) are saved. ! PC (Page Control) field defines the type of parameters to be selected. This field must be set to 01b to specify the current cumulative values. The drive does not support current threshold values, default threshold values and default cumulative values; therefore any value other than 01h will cause the command to end with a CHECK CONDITION with a sense key of ILLEGAL REQUEST and an additional sense code of INVALID FIELD IN CDB. ! Page Code field identifies which page is being requested. This field must be set to the values indicated in Page 0. If the Page Code value is invalid a CHECK CONDITION status is returned with a Sense Key of Illegal Request and additional sense code of INVALID FIELD IN CDB. Parameter Pointer Field specifies the beginning field for the transfer. This field is only available for Page Code = 0Fh. If the parameter pointer field is greater than 3Fh for Page Code = 0Fh, or if the field is not zero for Page Code other than 0Fh, a CHECK CONDITION status is returned with a sense key of ILLEGAL REQUEST and additional sense code of INVALID FIELD IN CDB. ! Allocation Length field specifies the maximum number of bytes the Initiator has allocated for returned Log Sense Data. No bytes are transferred if the length is zero. This condition is not considered an error. The drive terminates the Data In phase when all available LOG SENSE data has been transferred or when the number of bytes equals the allocation length, whichever is less. Ultrastar 146Z10 hard disk drive specifications 65

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249

8.7
LOG SENSE (4Dh)
LINK
FLAG
Reserved = 0
9
(MSB)
Allocation Length
(LSB)
7
8
(MSB)
Parameter Pointer
(LSB)
5
6
Reserved = 0
3
4
Page Code
PC
2
SP
PPC= 0
Reserved = 0
Reserved = 0
1
Command Code = 4Dh
0
0
1
2
3
4
5
6
7
Bit
Byte
Figure 64. LOG SENSE
The LOG SENSE command allows the initiator to retrieve the statistical data regarding the drive.
!
PPC
(Parameter Pointer Control) bit must be set to zero. This specifies that the drive start transferring
data starting from the field specified in the parameter pointer field for the number of bytes specified by
the allocation length. If the PPC bit is set to 1, CHECK CONDITION status is returned with a Sense
Key of ILLEGAL REQUEST and additional sense code of INVALID FIELD IN CDB.
!
SP
(Save Parameters) bit set to 0 specifies that the drive does not save any log parameters.
If it is
set to 1, all page parameters that are savable (those pages denoted by a DS = 0 in the parameter
header control byte) are saved.
!
PC
(Page Control) field defines the type of parameters to be selected.
This field must be set to 01b to
specify the current cumulative values.
The drive does not support current threshold values, default
threshold values and default cumulative values; therefore any value other than 01h will cause the
command to end with a CHECK CONDITION with a sense key of ILLEGAL REQUEST and an addi-
tional sense code of INVALID FIELD IN CDB.
!
Page Code
field identifies which page is being requested. This field must be set to the values indi-
cated in Page 0. If the Page Code value is invalid a CHECK CONDITION status is returned with a
Sense Key of Illegal Request and additional sense code of INVALID FIELD IN CDB.
Parameter Pointer Field
specifies the beginning field for the transfer. This field is only available for
Page Code = 0Fh. If the parameter pointer field is greater than 3Fh for Page Code = 0Fh, or if the field
is not zero for Page Code other than 0Fh, a CHECK CONDITION status is returned with a sense key
of ILLEGAL REQUEST and additional sense code of INVALID FIELD IN CDB.
!
Allocation Length
field specifies the maximum number of bytes the Initiator has allocated for
returned Log Sense Data. No bytes are transferred if the length is zero. This condition is not con-
sidered an error. The drive terminates the Data In phase when all available LOG SENSE data has
been transferred or when the number of bytes equals the allocation length, whichever is less.
Ultrastar 146Z10 hard disk drive specifications
65