Hitachi HTS541680J9AT00 Specifications - Page 163

Self-test log data structure, 39.7 Selective self-test log data structure

Page 163 highlights

Travelstar 5K160 (PATA) Hard Disk Drive Specification 14.39.6 Self-test log data structure The following defines the 512 bytes that make up the Self-test log sector. All multi-byte fields shown in these data structures follow the ATA/ATAPI-7 specifications for byte ordering. Description Bytes Offset Data structure revision 2 00h Self-test number 1 n*18h+02h Self-test execution status 1 n*18h+03h Life time power on hours 2 n*18h+04h Self-test failure check point 1 n*18h+06h LBA of first failure 4 n*18h+07h Vendor specific 15 n*18h+0Bh ... Vendor specific 2 1FAh Self-test log pointer 1 1FCh Reserved 2 1FDh Data structure checksum 1 1FFh 512 Note: n is 0 through 20 Figure 116 Self-test log data structure The data structure contains the descriptor of Self-test that the device has performed. Each descriptor is 24 bytes long and the self-test data structure is capable to contain up to 21 descriptors. After 21 descriptors have been recorded, the oldest descriptor will be overwritten with new descriptor. Self-test log pointer points the most recent descriptor. When there is no descriptor the value is 0. When there is descriptor(s) the value is 1 through 21. 14.39.7 Selective self-test log data structure The Selective self-test log is a log that may be both written and read by the host. This log allows the host to select the parameters for the self-test and to monitor the progress of the self-test. The following table defines the contents of the Selective self-test log which is 512 bytes long. All multi-byte fields shown in these data structures follow the specifications for byte ordering. Description Bytes Offset Read/Write Data structure revision 2 00h R/W Starting LBA for test span 1 8 02h R/W Ending LBA for test span 1 8 0Ah R/W Starting LBA for test span 2 8 12A R/W Ending LBA for test span 2 8 1Ah R/W Starting LBA for test span 3 8 22h R/W Ending LBA for test span 3 8 2Ah R/W Starting LBA for test span 4 8 32h R/W Ending LBA for test span 4 8 3Ah R/W Starting LBA for test span 5 8 42h R/W Ending LBA for test span 5 8 4Ah R/W Reserved 256 52h Reserved Vendor specific 154 152h Vendor specific Current LBA under test 8 1ECh Read Current span under test 2 1F4h Read Feature flags 2 1F6 R/W Vendor specific 4 1F8h Vendor specific Selective self test pending time 2 1FCh R/W Reserved 1 1FEh Reserved Data structure checksum 1 1FFh R/W 512 Figure 117 Selective self-test log data structure 163/188

  • 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

Travelstar 5K160 (PATA) Hard Disk Drive Specification
163
/
188
14.39.6 Self-test log data structure
The following defines the 512 bytes that make up the Self-test log sector. All multi-byte fields shown in these data
structures follow the ATA/ATAPI-7 specifications for byte ordering.
Description
Bytes Offset
Data structure revision
2
00h
Self-test number
1
n*18h+02h
Self-test execution status
1
n*18h+03h
Life time power on hours
2
n*18h+04h
Self-test failure check point
1
n*18h+06h
LBA of first failure
4
n*18h+07h
Vendor specific
15
n*18h+0Bh
...
Vendor specific
2
1FAh
Self-test log pointer
1
1FCh
Reserved
2
1FDh
Data structure checksum
1
1FFh
512
Note: n is 0 through 20
Figure 116 Self-test log data structure
The data structure contains the descriptor of Self-test that the device has performed. Each descriptor is 24 bytes long
and the self-test data structure is capable to contain up to 21 descriptors.
After 21 descriptors have been recorded, the oldest descriptor will be overwritten with new descriptor.
Self-test log pointer points the most recent descriptor. When there is no descriptor the value is 0. When there is
descriptor(s) the value is 1 through 21.
14.39.7 Selective self-test log data structure
The Selective self-test log is a log that may be both written and read by the host. This log allows the host to select
the parameters for the self-test and to monitor the progress of the self-test. The following table defines the contents
of the Selective self-test log which is 512 bytes long. All multi-byte fields shown in these data structures follow the
specifications for byte ordering.
Description
Bytes
Offset
Read/Write
Data structure revision
2
00h
R/W
Starting LBA for test span 1
8
02h
R/W
Ending LBA for test span 1
8
0Ah
R/W
Starting LBA for test span 2
8
12A
R/W
Ending LBA for test span 2
8
1Ah
R/W
Starting LBA for test span 3
8
22h
R/W
Ending LBA for test span 3
8
2Ah
R/W
Starting LBA for test span 4
8
32h
R/W
Ending LBA for test span 4
8
3Ah
R/W
Starting LBA for test span 5
8
42h
R/W
Ending LBA for test span 5
8
4Ah
R/W
Reserved
256
52h
Reserved
Vendor specific
154
152h
Vendor specific
Current LBA under test
8
1ECh
Read
Current span under test
2
1F4h
Read
Feature flags
2
1F6
R/W
Vendor specific
4
1F8h
Vendor specific
Selective self test pending time
2
1FCh
R/W
Reserved
1
1FEh
Reserved
Data structure checksum
1
1FFh
R/W
512
Figure 117 Selective self-test log data structure