190
Western Digital Hard Disk Drive OEM Specification
11.23.6
Queued Error Log
Table 165 defines the format of the Queued Error Log data structure.
Byte
7
6
5
4
3
2
1
0
0
NQ
UNL
R
TAG
1
Reserved
2
Status(7:0)
3
Error(7:0)
4
LBA(7:0)
5
LBA(15:8)
6
LBA(23:16)
7
Device(7:0)
8
LBA(31:24)
9
LBA(39:32)
10
LBA(47:40)
11
Reserved
12
Count(7:0)
13
Count(15:8)
14
Sense Key
15
Additional Sense Code
16
Additional Sense Code Qualifier
17
Final LBA In Error(7:0)
18
Final LBA In Error(15:8)
19
Final LBA In Error(23:16)
20
Final LBA In Error(31:24)
21
Final LBA In Error(39:32)
22
Final LBA In Error(47:40)
23
– 255
Reserved
256
– 510
Vendor Unique
511
Data Structure Checksum
Table 165 Queued Error Log data structure definition
The TAG field (Byte 0 Bits 4-0) contains the tag number corresponding to a queued command if the NQ bit is
cleared.
The NQ field (Byte 0 Bit 7) indicates whether the error condition was a result of a non-queued or not. If it is cleared
the error information corresponds to a queued command specified by the tag number indicated in the TAG field.
The bytes 1 to 13 correspond to the contents of Shadow Register Block when the error was reported.
The Data Structure Checksum (Byte 511) contains the 2’s complement of the sum of the first 511 bytes in the data
structure. The sum of all 512 bytes of the data structure will be zero when the checksum is correct.