SCSI Sense Codes

The following example shows a typical SCSI error message:

[+6708 72410001 002a9858 0:7] scsi disk: CHECK CONDITION on disk 0:6:5:0 Read of logical block 509856, count 128

disk sd45a, block 254920, 65536 bytes Valid = 1, Error code = 0x70

Segment number = 0x00, Filemark = 0, EOM = 0, ILI = 0

Sense key = 0x1, "RECOVERED ERROR"

Information = 0x00 0x07 0xc7 0xe4

[+6709 72410001 002a9a10 0:7] scsi disk: Additional sense length = 0x0a Command-specific information = 0x00 0x00 0x00 0x00

Additional sense = 0x18, Qualifier = 0x01

Field replaceable unit code = 0xea

SKSV = 1, C/D = 0, BPV = 0, Bit pointer = 0

Field pointer = 0x0003

The status (CHECK CONDITION) and sense key (RECOVERED ERROR)—shown in bold in the example above, for highlighting purposes—are interpreted for you in the error message text. Each Additional sense and its corresponding Qualifier code—also shown in bold in the example above—require interpretation on your part. Use the two codes together to determine the meaning. In the example above, the Additional sense (0x18) and Qualifier (0x01) codes together mean “recovered data with error correction and retries applied.” You can look up the various codes and keys in the tables on the next pages.

90

Appendix A