5.11.2LOG SENSE Log Pages

The log pages that are returned from the drive have a common format that is shown in Table 5-43.Each page contains a 4-byte header followed by one or more log parameters. Refer to Table 5-44. Table 5-45contains the format for the Generic Log Parameter and Table 5-46describes the fields.

Table 5-43LOG SENSE Log Page Format-Data Format

Bit

7

 

6

5

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Reserved

 

 

 

Page Code

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

2 – 3

 

 

 

 

Page Length (n-3)

 

 

 

 

 

 

 

 

 

 

 

 

4 to

 

 

 

 

Log Parameter (first)

 

 

 

x+3

 

 

 

 

(length x) 1

 

 

 

n-y+1

 

 

 

 

Log Parameter (last)

 

 

 

to n

 

 

 

 

 

(length y) 1

 

 

 

 

Note:

1Length x or y is the sum of parameter header and parameter data

 

 

 

 

value bytes.

 

 

 

 

 

 

 

 

 

 

 

 

Table 5-44LOG SENSE Log Page Format-Field Descriptions

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Field

 

 

 

 

 

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Page Code

 

 

The page code as given in Table 5-39.

 

 

 

 

 

Page Length

 

 

The allocation length for the page minus the

 

 

 

 

 

 

 

4-byte header.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

One or more log data entities that are returned as par of

 

 

 

 

 

 

 

 

a Log Page. Each Log Parameter starts with a 4-byte

 

 

 

Log Parameter

 

 

header followed by one or more bytes of value data. In

 

 

 

 

 

most cases, the parameter value is a 4-byte longword

 

 

 

 

 

 

 

 

that contains the present value of an error or perfor-

 

 

 

 

 

 

 

 

mance counter. See Table 5-45for the format of a

 

 

 

 

 

 

 

 

generic log parameter.

 

 

 

 

 

 

 

Table 5-45Generic Log Parameter-Data Format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

7

 

6

5

4

 

3

2

 

1

 

0

 

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 – 1

 

 

 

 

 

 

Parameter

Code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

DU

 

DS

TSD

 

 

ETC

TMC

 

LBIN

 

LP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

Page Length (n-3)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

4 – n

 

 

 

 

 

 

Parameter Value

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5-32 Maxtor Atlas 10K V