User's Manual
A SCSI Sense Codes
SCSI Status Codes, Sense Keys, and Sense/Qualifier Code Pairs
This appendix contains tables listing SCSI Status Codes, SCSI Sense Keys, and a partial list of
the most common SCSI Additional Sense Code/Qualifier Code Pairs. This information is used
to interpret SCSI error messages.
Example A-1 shows a typical SCSI error message:
Example A-1 Typical SCSI Error Message
[+6708 72410001 002a9858 0:7] scsi disk: CHECK CONDITION
1
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 = 0x6, "UNIT ATTENTION"
2
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 = 0x29, Qualifier = 0x02
3
Field replaceable unit code = 0xea
SKSV = 1, C/D = 0, BPV = 0, Bit pointer = 0
Field pointer = 0x0003
321
Additional Sense and
Qualifier, without
interpretation.
Sense key, with
interpretation (UNIT
ATTENTION).
Status, with interpretation
(CHECK CONDITION)
The status and sense key are interpreted for you in the error message text. Table A-1: “SCSI Status
Codes (complete list)” (page 65) and Table A-2: “SCSI Sense Keys (complete list)” (page 66)
provide a complete listing of the SCSI Status Codes and the SCSI Sense Keys.
Each Additional Sense and its corresponding Qualifier Code require interpretation on your part.
Use the two codes together to determine their meaning from Table A-3: “Most Common SCSI
Additional Sense Code/Qualifier Pairs” (page 66).
In Example A-1, the Additional Sense Code (0x29) and Qualifier Code (0x02) together mean:
“SCSI bus reset occurred.”
Table A-3 (page 66) lists the most common Additional Sense Code/Qualifier Code Pairs. For a
comprehensive list of all Additional Sense Code/Qualifier Code Pairs, go to:
http://www.t10.org/ftp/t10/drafts/spc2/spc2r20.pdf
Table A-1 SCSI Status Codes (complete list)
MeaningSCSI Status Code
Good
0x00
Check condition
0x02
Condition met
0x04
Busy
0x08
Intermediate
0x10
Intermediate—condition met
0x14
Reservation conflict
0x18
Command terminated
0x22
Queue full
0x28
SCSI Status Codes, Sense Keys, and Sense/Qualifier Code Pairs 65