Текст страницы
Error data structure: Data format of error data structure is shown below.
Table 127 Error data structure
Description
Bytes
Offset
Reserved
1
00h
Error register
1
01h
Sector count register (7:0) (see Note)
1
02h
Sector count register (15:8) (see Note)
1
03h
Sector number register (7:0)
1
04h
Sector number register (15:8)
1
05h
Cylinder Low register (7:0)
1
06h
Cylinder Low register (15:8)
1
07h
Cylinder High register (7:0)
1
08h
Cylinder High register (15:8)
1
09h
Device/Head register
1
0Ah
Status register
1
0Bh
Extended error data (vendor specific)
19
0Ch
State
1
1Fh
Life timestamp (hours)
2
20h
34
Note: Bits (7:0) refer to the contents if the register is read with bit 7 of the Device Control register cleared
to zero. Bits (15:8) refer to the contents if the register is read with bit 7 of the Device Control register
set to one.
State shall contain a value indicating the state of the device when the command was issued to the device or the reset
occurred as described below.
Value
State
x0h
Unknown
x1h
Sleep
x2h
Standby (If the EPC feature set is enabled, Standby is standby_y or standby_z)
x3h
Active/Idle
(If the EPC feature set is enabled, Active/Idle is idle_a or idle_b or idle_c)
x4h
SMART Off-line or Self-test
x5h-xAh
Reserved
xBh-xFh
Vendor specific
Note: The value of x is vendor specific. 12.21.2.4 Device error count
This field shall contain the total number of errors attributable to the device that have been reported by the device
during the life of the device. This count shall not include errors attributed to the receipt of faulty commands such as
commands codes not implemented by the device or requests with invalid parameters or invalid addresses. If the
maximum value for this field is reached the count shall remain at the maximum value when additional errors are
encountered and logged.
197
Hard Disk Drive Specification