When a SCSI [[SCSI target|target]] device returns a check condition in response to a command, the initiator usually then issue a [[SCSI Request Sense Command|SCSI Request Sense command]]. The target will respond with the standard sense data which includes three fields:
*Sense key - 4 bits
*Additional sense code (ASC) - 8 bits
*Additional sense code qualifier (ASCQ) - 8 bits
Those fields are normally considered in aggregate as a 20 bit field called Key Code Qualifier or KCQ. The specification for the target device will define the list of possible KCQ values. In practice there are many KCQ values which are common between different SCSI device types and different SCSI device vendors.
<pre>
Key Code ASC QualifierASCQ Error Condition
No 0 00 00 No error
Sense 0 5D 00 No sense - PFA threshold reached
Soft 1 01 00 Recovered Write error - no index
Error 1 02 00 Recovered no seek completion
1 03 00 Recovered Write error - write fault
1 09 00 Track following error
1 0B 01 Temperature warning
1 0C 01 Recovered Write error with auto-realloc - reallocated
1 0C 03 Recovered Write error - recommend reassign
1 12 01 Recovered data without ECC using prev logical block ID
1 12 02 Recovered data with ECC using prev logical block ID
1 14 01 Recovered Record Not Found
1 16 00 Recovered Write error - Data Sync Mark Error
1 16 01 Recovered Write error - Data Sync Error - data rewritten
1 16 02 Recovered Write error - Data Sync Error - recommend rewrite
1 16 03 Recovered Write error - Data Sync Error - data auto-reallocated
1 16 04 Recovered Write error - Data Sync Error - recommend reassignment
1 17 00 Recovered data with no error correction applied
1 17 01 Recovered Read error - with retries
1 17 02 Recovered data using positive offset
1 17 03 Recovered data using negative offset
1 17 05 Recovered data using previous logical block ID
1 17 06 Recovered Read error - without ECC, auto reallocated
1 17 07 Recovered Read error - without ECC, recommend reassign
1 17 08 Recovered Read error - without ECC, recommend rewrite
1 17 09 Recovered Read error - without ECC, data rewritten
1 18 00 Recovered Read error - with ECC
1 18 01 Recovered data with ECC and retries
1 18 02 Recovered Read error - with ECC, auto reallocated
1 18 05 Recovered Read error - with ECC, recommend reassign
1 18 06 Recovered data using ECC and offsets
1 18 07 Recovered Read error - with ECC, data rewritten
1 1C 00 Defect List not found
1 1C 01 Primary defect list not found
1 1C 02 Grown defect list not found
1 1F 00 Partial defect list transferred
1 44 00 Internal target failure
1 5D 00 PFA threshold reached
1 5D FF PFA test warning
1 81 00 Internal logic failure
Not 2 04 00 Not Ready - start motor failed
Ready 2 04 01 Not Ready - becoming ready
2 04 02 Not Ready - need initialise command (start unit)
2 04 03 Not Ready - manual intervention required
2 04 04 Not Ready - format in progress
2 04 09 Not Ready - self-test in progress
2 31 00 Not Ready - medium format corrupted
2 31 01 Not Ready - format command failed
2 35 02 Not Ready - enclosure services unavailable
2 40 80 Diagnostic Failure - bring-up fail or degraded mode
2 40 81 Diagnostic Failure - Hard Disk Controller
2 40 85 Diagnostic Failure - RAM microcode not loaded
2 40 90 Diagnostic Failure - RRO Calibration
2 40 91 Diagnostic Failure - Channel Calibration
2 40 92 Diagnostic Failure - Head Load
2 40 93 Diagnostic Failure - Write AE
2 40 94 Diagnostic Failure - 12V over current
2 40 95 Diagnostic Failure - Other spindle failure
2 40 B0 Diagnostic Failure - self-reset
2 4C 00 Diagnostic Failure - config not loaded
Medium 3 03 00 Medium Error - write fault
Error 3 0C FF Medium Error - write recovery time limit exceeded
3 10 00 Medium Error - ID CRC error
3 11 00 Medium Error - unrecovered read error
3 11 01 Medium Error - read retries exhausted
3 11 02 Medium Error - error too long to correct
3 11 04 Medium Error - unrecovered read error - auto re-alloc failed
3 11 0B Medium Error - unrecovered read error - recommend reassign
3 11 FF Medium Error - read recovery time limit exceeded
3 14 01 Medium Error - record not found
3 16 00 Medium Error - Data Sync Mark error
3 16 04 Medium Error - Data Sync Error - recommend reassign
3 19 00 Medium Error - defect list error
3 19 01 Medium Error - defect list not available
3 19 02 Medium Error - defect list error in primary list
3 19 03 Medium Error - defect list error in grown list
3 19 0E Medium Error - fewer than 50% defect list copies
3 31 00 Medium Error - medium format corrupted
3 31 01 Medium Error - format command failed
3 80 00 Medium Error - data auto-reallocated
MediumHard 34 0301 00 MediumHardware Error - writeno index or faultsector
Error 34 0C02 FF00 MediumHardware Error - write recovery timeno limitseek exceededcomplete
4 3 1003 00 MediumHardware Error - ID CRCwrite errorfault
4 3 1109 00 MediumHardware Error - unrecoveredtrack readfollowing error
34 11 0100 MediumHardware Error - unrecovered read retrieserror in reserved exhaustedarea
34 1116 0200 MediumHardware Error - errorData tooSync Mark error longin toreserved correctarea
34 1119 0400 MediumHardware Error - unrecovereddefect readlist error - auto re-alloc failed
34 1119 0B02 MediumHardware Error - unrecovereddefect readlist error -in recommendPrimary reassignList
34 1119 FF03 MediumHardware Error - readdefect list recoveryerror timein limitGrown exceededList
34 1431 0100 MediumHardware Error - record notreassign foundfailed
34 1632 00 MediumHardware Error - Datano Syncdefect Markspare erroravailable
34 1635 0401 MediumHardware Error - Data Sync Error -unsupported recommendenclosure reassignfunction
34 1935 0002 MediumHardware Error - defectenclosure listservices errorunavailable
34 1935 0103 MediumHardware Error - defectenclosure listservices nottransfer availablefailure
34 1935 0204 MediumHardware Error - defect list error inenclosure primaryservices listrefused
34 193E 03 MediumHardware Error - defect list error in grownself-test listfailed
34 193E 0E04 MediumHardware Error - fewerunable thanto 50%update defect list copiesself-test
34 3140 0080 MediumHardware Error - mediumDegrade Mode. formatDiagnostic corruptedFail.
34 3140 0181 MediumHardware Error - formatDegrade commandMode. failedH/W Error
34 8040 0085 MediumHardware Error - dataDegrade auto-reallocatedMode. RAM microcode not loaded.
4 40 90 Hardware Error - seek test failure
Hard 4 01 0040 A0 Hardware Error - no indexread/write ortest sectorfailure
Error 4 02 0040 B0 Hardware Error - nodevice seek completeself-reset
4 03 0040 D0 Hardware Error - writecomponent faultmismatch
4 0944 00 Hardware Error - trackinternal followingtarget errorfailure
4 1181 00 Hardware Error - unrecoveredinternal readlogic error in reserved area
4 1682 00 Hardware Error - Data Sync Mark error in reservedcommand areatimeout
4 19 00 Hardware Error - defect list error
4Illegal 195 021A 00 HardwareIllegal ErrorRequest - defectparm list length error in Primary List
Request 5 20 00 Illegal Request - invalid/unsupported command code
4 19 03 Hardware Error - defect list error in Grown List
45 3121 00 HardwareIllegal ErrorRequest - reassignLBA out of failedrange
45 3224 00 HardwareIllegal ErrorRequest - noinvalid defectfield sparein availableCDB
5 25 00 Illegal Request - invalid LUN
4 35 01 Hardware Error - unsupported enclosure function
5 26 00 Illegal Request - invalid fields in parm list
4 35 02 Hardware Error - enclosure services unavailable
5 26 01 Illegal Request - parameter not supported
4 35 03 Hardware Error - enclosure services transfer failure
5 26 02 Illegal Request - invalid parm value
4 35 04 Hardware Error - enclosure services refused
5 26 03 Illegal Request - invalid field parameter - threshold parameter
4 3E 03 Hardware Error - self-test failed
5 26 04 Illegal Request - invalid release of persistent reservation
4 3E 04 Hardware Error - unable to update self-test
5 26 97 Illegal Request - invalid field parameter - TMS firmware tag
4 40 80 Hardware Error - Degrade Mode. Diagnostic Fail.
5 26 98 Illegal Request - invalid field parameter - check sum
4 40 81 Hardware Error - Degrade Mode. H/W Error
5 26 99 Illegal Request - invalid field parameter - firmware tag
4 40 85 Hardware Error - Degrade Mode. RAM microcode not loaded.
45 402C 9000 HardwareIllegal ErrorRequest - seekcommand testsequence failureerror
5 35 01 Illegal Request - unsupported enclosure function
4 40 A0 Hardware Error - read/write test failure
45 4049 B000 HardwareIllegal ErrorRequest - deviceinvalid self-resetmessage
5 55 00 Illegal Request - system resource failure
4 40 D0 Hardware Error - component mismatch
45 4455 0001 HardwareIllegal ErrorRequest - internalsystem targetbuffer failurefull
5 55 04 Illegal Request - Insufficient Registration Resources
4 81 00 Hardware Error - internal logic error
4 82 00 Hardware Error - command timeout
Illegal 5 1A 00 Illegal Request - parm list length error
Request 5 20 00 Illegal Request - invalid/unsupported command code
5 21 00 Illegal Request - LBA out of range
5 24 00 Illegal Request - invalid field in CDB
5 25 00 Illegal Request - invalid LUN
5 26 00 Illegal Request - invalid fields in parm list
5 26 01 Illegal Request - parameter not supported
5 26 02 Illegal Request - invalid parm value
5 26 03 Illegal Request - invalid field parameter - threshold parameter
5 26 04 Illegal Request - invalid release of persistent reservation
5 26 97 Illegal Request - invalid field parameter - TMS firmware tag
5 26 98 Illegal Request - invalid field parameter - check sum
5 26 99 Illegal Request - invalid field parameter - firmware tag
5 2C 00 Illegal Request - command sequence error
5 35 01 Illegal Request - unsupported enclosure function
5 49 00 Illegal Request - invalid message
5 55 00 Illegal Request - system resource failure
5 55 01 Illegal Request - system buffer full
5 55 04 Illegal Request - Insufficient Registration Resources
Unit 6 28 00 Unit Attention - not-ready to ready transition (format complete)
Attn. 6 29 00 Unit Attention - POR or device reset occurred
6 29 01 Unit Attention - POR occurred
6 29 02 Unit Attention - SCSI bus reset occurred
6 29 03 Unit Attention - TARGET RESET occurred
6 29 04 Unit Attention - self-initiated-reset occurred
6 29 05 Unit Attention - transceiver mode change to SE
6 29 06 Unit Attention - transceiver mode change to LVD
6 2A 00 Unit Attention - parameters changed
6 2A 01 Unit Attention - mode parameters changed
6 2A 02 Unit Attention - log select parms changed
6 2A 03 Unit Attention - Reservations pre-empted
6 2A 04 Unit Attention - Reservations released
6 2A 05 Unit Attention - Registrations pre-empted
6 2F 00 Unit Attention - commands cleared by another initiator
6 3F 00 Unit Attention - target operating conditions have changed
6 3F 01 Unit Attention - microcode changed
6 3F 02 Unit Attention - changed operating definition
6 3F 03 Unit Attention - inquiry parameters changed
6 3F 05 Unit Attention - device identifier changed
6 3F 90 Unit Attention - invalid APM parameters
6 3F 91 Unit Attention - world-wide name mismatch
6 5D 00 Unit Attention - PFA threshold reached
6 5D FF Unit Attention - PFA threshold exceeded
Unit 6 28 00 Unit Attention - not-ready to ready transition (format complete)
Write 7 27 00 Write Protect - command not allowed
Attn. 6 29 00 Unit Attention - POR or device reset occurred
Prot.
6 29 01 Unit Attention - POR occurred
6 29 02 Unit Attention - SCSI bus reset occurred
6 29 03 Unit Attention - TARGET RESET occurred
6 29 04 Unit Attention - self-initiated-reset occurred
6 29 05 Unit Attention - transceiver mode change to SE
6 29 06 Unit Attention - transceiver mode change to LVD
6 2A 00 Unit Attention - parameters changed
6 2A 01 Unit Attention - mode parameters changed
6 2A 02 Unit Attention - log select parms changed
6 2A 03 Unit Attention - Reservations pre-empted
6 2A 04 Unit Attention - Reservations released
6 2A 05 Unit Attention - Registrations pre-empted
6 2F 00 Unit Attention - commands cleared by another initiator
6 3F 00 Unit Attention - target operating conditions have changed
6 3F 01 Unit Attention - microcode changed
6 3F 02 Unit Attention - changed operating definition
6 3F 03 Unit Attention - inquiry parameters changed
6 3F 05 Unit Attention - device identifier changed
6 3F 90 Unit Attention - invalid APM parameters
6 3F 91 Unit Attention - world-wide name mismatch
6 5D 00 Unit Attention - PFA threshold reached
6 5D FF Unit Attention - PFA threshold exceeded
AbrtdWrite B7 0027 00 AbortedWrite CommandProtect - no additionalcommand sensenot codeallowed
Prot.
Cmnd B 1B 00 Aborted Command - sync data transfer error (extra ACK)
Abrtd B 2500 00 Aborted Command - unsupportedno additional sense LUNcode
Cmnd B 3F 0F1B 00 Aborted Command - echosync data transfer error buffer(extra overwrittenACK)
B 4325 00 Aborted Command - message rejectunsupported errorLUN
B 44 003F 0F Aborted Command - internalecho targetbuffer failureoverwritten
B 4543 00 Aborted Command - Selection/Reselectionmessage reject failureerror
B 4744 00 Aborted Command - SCSIinternal paritytarget errorfailure
B 4845 00 Aborted Command - initiator-detected error messageSelection/Reselection receivedfailure
B 4947 00 Aborted Command - inappropriate/illegalSCSI parity messageerror
B 4B48 00 Aborted Command - data phaseinitiator-detected error message received
B 4E49 00 Aborted Command - overlapped commandsinappropriate/illegal attemptedmessage
B 4F4B 00 Aborted Command - due todata loopphase initialisationerror
B 4E 00 Aborted Command - overlapped commands attempted
B 4F 00 Aborted Command - due to loop initialisation
Other E 1D 00 Miscompare - during verify byte check operation
x 03 86 Write Fault Data Corruption
x 05 00 Illegal request
x 06 00 Unit attention
x 07 00 Data protect
x 08 00 LUN communication failure
x 08 01 LUN communication timeout
x 08 02 LUN communication parity error
x 09 00 vendor specific sense key
x 09 01 servo fault
x 09 04 head select fault
x 0A 00 error log overflow
x 0B 00 aborted command
x 0C 00 write error
x 0C 02 write error - auto-realloc failed
x 0E 00 data miscompare
x 12 00 address mark not founf for ID field
x 14 00 logical block not found
x 15 00 random positioning error
x 15 01 mechanical positioning error
x 15 02 positioning error detected by read of medium
x 27 00 write protected
x 29 00 POR or bus reset occurred
x 31 01 format failed
x 31 91 format corrupted
x 32 01 defect list update error
x 32 02 no spares available
x 35 01 unspecified enclosure services failure
x 37 00 parameter rounded
x 3D 00 invalid bits in identify message
x 3E 00 LUN not self-configured yet
x 40 01 DRAM parity error
x 40 02 DRAM parity error
x 42 00 power-on or self-test failure
x 4C 00 LUN failed self-configuration
x 5C 00 RPL status change
x 5C 01 spindles synchronised
x 5C 02 spindles not synchronised
x 65 00 voltage fault
x 80 00 general firmware error
</pre>
|