Текст страницы
12.55.4.4 Device error count
This field contains the total number of errors. The value will not roll over. 12.55.4.5 Error log data structure
Data format of each error log structure is shown below.
Table 236 Error log data structure
Description
Bytes
Offset
1st error log data structure
12
00h
2nd error log data structure
12
0Ch
3rd error log data structure
12
18h
4th error log data structure
12
24h
5th error log data structure
12
30h
Error data structure
30
3Ch
90
Command data structure: Data format of each command data structure is shown below.
Table 237 Command data structure
Description
Bytes
Offset
Device Control register
1
00h
Features register
1
01h
Sector count register
1
02h
Sector number register
1
03h
Cylinder Low register
1
04h
Cylinder High register
1
05h
Device/Head register
1
06h
Command register
1
07h
Timestamp (milliseconds from Power On)
4
08h
12
Error data structure: Data format of error data structure is shown below.
Table 238 Error data structure
Description
Bytes
Offset
Reserved
1
00h
Error register
1
01h
Sector count register
1
02h
Sector number register
1
03h
Cylinder Low register
1
04h
Cylinder High register
1
05h
Device/Head register
1
06h
Status register
1
07h
Extended error data (vendor specific)
19
08h
State
1
1Bh
Life timestamp (hours)
2
1Ch
30
318
Hard Disk Drive Specification