Content deleted Content added
No edit summary |
Removing link(s) to "SCSI CDB": Deleted PROD. |
||
(35 intermediate revisions by 25 users not shown) | |||
Line 1:
{{Short description|Type of SCSI error code}}
{{redirect|KCQ|the radio station in Saginaw, Michigan|WKCQ}}
'''Key Code Qualifier''' is
When a SCSI [[SCSI target|target]] device returns a
*K - sense key - 4 bits, (byte 2 of Fixed sense data format)
*C - additional sense code (ASC) - 8 bits, (byte 12 of Fixed sense data format)
*Q - additional sense code qualifier (ASCQ) - 8 bits, (byte 13 of Fixed sense data format)
The initiator can take action based on just the K field which indicates if the error is minor or major. However all three fields are usually logically combined into 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. Common values are listed below, you should consult your hardware specific documentation as well.
==List of common SCSI KCQs==
Line 18 ⟶ 19:
|0||5D||00||No sense - PFA threshold reached
|-
|rowspan="
|-
|1||02||00||Recovered no seek completion
|-
Line 90 ⟶ 91:
|1||5D||00||PFA threshold reached
|-
|rowspan="15" valign="top"|Not Ready||2||04||00||Not Ready - Cause not reportable.
|-
|2||04||01||Not Ready - becoming ready
Line 112 ⟶ 109:
|2||35||02||Not Ready - enclosure services unavailable
|-
|2||
|-
|2||
|-
|2||
|-
|2||
|-
|2||3A||04||Not Ready - medium not present - medium auxiliary memory accessible
|-
|2||4C||00||Diagnostic Failure - config not loaded
|-
|rowspan="
|-
|3||
|-
|3||10||00||Medium Error - ID CRC error
Line 149 ⟶ 136:
|-
|3||11||0B||Medium Error - unrecovered read error - recommend reassign
|-
|3||14||01||Medium Error - record not found
Line 172 ⟶ 157:
|3||31||01||Medium Error - format command failed
|-
|
|-
|4||02||00||Hardware Error - no seek complete
Line 183 ⟶ 166:
|-
|4||11||00||Hardware Error - unrecovered read error in reserved area
|-
|4||15||01||Hardware Error - Mechanical positioning error
|-
|4||16||00||Hardware Error - Data Sync Mark error in reserved area
Line 191 ⟶ 176:
|-
|4||19||03||Hardware Error - defect list error in Grown List
|-
|4||32||00||Hardware Error - no defect spare available
|-
|4||35||00||Hardware Error - enclosure services failure
|-
|4||35||01||Hardware Error - unsupported enclosure function
Line 206 ⟶ 191:
|4||35||05||Hardware Error - enclosure services checksum error
|-
|4||3E||
|-
|4||3E||
|-
|4||
|-
|4||
|-
|4||
|-
|4||44||00||Hardware Error - internal target failure
|-
|
|-
|5||20||00||Illegal Request - invalid/unsupported command code
Line 236 ⟶ 209:
|5||21||00||Illegal Request - LBA out of range
|-
|5||24||00||Illegal Request - invalid field in
|-
|5||25||00||Illegal Request - invalid LUN
Line 249 ⟶ 222:
|-
|5||26||04||Illegal Request - invalid release of persistent reservation
|-
|5||2C||00||Illegal Request - command sequence error
Line 274 ⟶ 241:
|5||55||04||Illegal Request - Insufficient Registration Resources
|-
|rowspan="
|-
|6||29||00||Unit Attention - POR or device reset occurred
Line 311 ⟶ 278:
|-
|6||3F||03||Unit Attention - inquiry parameters changed
|-
|6||3F||04||Unit Attention - component device attached
|-
|6||3F||05||Unit Attention - device identifier changed
|-
|6||3F||
|-
|6||3F||07||Unit Attention - redundancy group deleted
|-
|6||3F||08||Unit Attention - spare created or modified
|-
|6||3F||09||Unit Attention - spare deleted
|-
|6||3F||0A||Unit Attention - volume set created or modified
|-
|6||3F||0B||Unit Attention - volume set deleted
|-
|6||3F||0C||Unit Attention - volume set deassigned
|-
|6||3F||0D||Unit Attention - volume set reassigned
|-
|6||3F||0E||Unit Attention - reported LUNs data has changed
|-
|6||3F||0F||Unit Attention - echo buffer overwritten
|-
|6||3F||10||Unit Attention - medium loadable
|-
|6||3F||11||Unit Attention - medium auxiliary memory accessible
|-
|6||3F||12||Unit Attention - iSCSI IP address added
|-
|6||3F||13||Unit Attention - iSCSI IP address removed
|-
|6||3F||14||Unit Attention - iSCSI IP address changed
|-
|6||3F||15||Unit Attention - inspect referrals sense descriptors
|-
|6||3F||16||Unit Attention - microcode has been changed without reset
|-
|6||3F||17||Unit Attention - zone transition to full
|-
|6||3F||18||Unit Attention - bind completed
|-
|6||3F||19||Unit Attention - bind redirected
|-
|6||3F||
|-
|6||5D||00||Unit Attention - PFA threshold reached
|-
| rowspan="2" |Data Protect
|7
|20
|02
|Access Denied - No Access Rights
|-
|-
|rowspan="
|-
|B||1B||00||Aborted Command - sync data transfer error (extra ACK)
Line 343 ⟶ 354:
|-
|B||49||00||Aborted Command - inappropriate/illegal message
|-
|B||55||03||Aborted Command - insufficient resources
|-
|B||4B||00||Aborted Command - data phase error
Line 351 ⟶ 364:
|-
|rowspan="40" valign="top"|Other||E||1D||00||Miscompare - during verify byte check operation
|-
|x||05||00||Illegal request
Line 384 ⟶ 395:
|x||0E||00||data miscompare
|-
|x||12||00||address mark not
|-
|x||14||00||logical block not found
Line 399 ⟶ 410:
|-
|x||31||01||format failed
|-
|x||32||01||defect list update error
Line 430 ⟶ 439:
|x||65||00||voltage fault
|-
|x||
|-
|x||x||≥80||Vendor specific
|-
|}
==References==
* [
[[Category:SCSI]]
|