Toshiba MK6017MAP manual Error data structure

Models: MK6017MAP

1 126
Download 126 pages 58.41 Kb
Page 103
Image 103

360014937

10.8.33.6.5 Error data structure

The error data structure shall contain the error description of the command for which an error was reported as described in the following table.

 

Error data structure

Byte

Descriptions

n

Content of the Device Control register after command completion occurred.

n+1

Content of the Error register after command completion occurred.

n+2

Content of the Sector Count register after command completion occurred.

n+3

Content of the Sector Number register after command completion occurred.

n+4

Content of the Cylinder Low register after command completion occurred.

n+5

Content of the Cylinder High register after command completion occurred.

n+6

Content of the Device/Head register after command completion occurred.

n+7

Content written to the Status register after command completion occurred.

n+8 - n+26

Extended error information

n+27

State

n+28

Life timestamp (least significant byte)

n+29

Life timestamp (most significant byte)

Extended error information shall be vendor specific.

State shall contain a value indicating the state of the device when command was written to the Command register or the reset occurred as described in the following Table.

 

State field values

Value

State

x0h

Unknown

x1h

Sleep

x2h

Standby

x3h

Active/Idle with BSY cleared to zero

x4h

Executing SMART off-line or self-test

x5h-xAh

Reserved

xBh-xFh

Vendor unique

The value of x is vendor specific and may be different for each state.

Sleep indicates the reset for which the error is being reported was received when the device was in the Sleep mode.

Standby indicates the command or reset for which the error is being reported was received when the device was in the Standby mode.

Active/Idle with BSY cleared to zero indicates the command or reset for which the error is being reported was received when the device was in the Active or Idle mode and BSY was cleared to zero.

Executing SMART off-line or self-test indicates the command or reset for which the error is being reported was received when the device was in the process of executing a SMART off-line or self-test.

Life timestamp shall contain the power-on lifetime of the device in hours when command completion occurred.

10.8.33.6.6 Device error count

The device error count 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. These errors shall include UNC errors, IDNF errors for which the address requested was valid, servo errors, write fault errors, etc. 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.

Copyright © 2000 Toshiba corporation. All rights reserved.

- 603 -

Page 103
Image 103
Toshiba MK6017MAP manual Error data structure