Content deleted Content added
Rogerdpack (talk | contribs) the sense data is found on that page too |
Removing link(s) to "SCSI CDB": Deleted PROD. |
||
(24 intermediate revisions by 19 users not shown) | |||
Line 1:
{{Short description|Type of SCSI error code}}
'''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 19 ⟶ 20:
|-
|rowspan="36" valign="top"|Soft Error||1||01||00||Recovered Write error - no index
|-
|1||02||00||Recovered no seek completion
|-
Line 90 ⟶ 91:
|1||5D||00||PFA threshold reached
|-
|rowspan="
|-
|2||04||01||Not Ready - becoming ready
Line 113 ⟶ 114:
|-
|2||3A||02||Not Ready - medium not present - tray open
|-▼
|2||3A||03||Not Ready - medium not present - loadable
|-
|2||3A||04||Not Ready - medium not present - medium auxiliary memory accessible
|-
|2||4C||00||Diagnostic Failure - config not loaded
Line 152 ⟶ 157:
|3||31||01||Medium Error - format command failed
|-
|rowspan="
|-
|4||02||00||Hardware Error - no seek complete
Line 161 ⟶ 166:
|-
|4||11||00||Hardware Error - unrecovered read error in reserved area
|-
|-
|4||16||00||Hardware Error - Data Sync Mark error in reserved area
Line 169 ⟶ 176:
|-
|4||19||03||Hardware Error - defect list error in Grown List
▲|-
▲|4||31||00||Hardware Error - reassign failed
|-
|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 183 ⟶ 190:
|-
|4||35||05||Hardware Error - enclosure services checksum error
|-
|4||3E||00||Hardware Error - logical unit has not self configured yet
|-
|4||3E||01||Hardware Error - logical unit failed
|-
|4||3E||02||Hardware Error - timeout on logical unit
|-
|4||3E||03||Hardware Error - self-test failed
|-
|4||3E||04||Hardware Error - unable to update self-test log
|-
|4||44||00||Hardware Error - internal target failure
Line 196 ⟶ 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 228 ⟶ 241:
|5||55||04||Illegal Request - Insufficient Registration Resources
|-
|rowspan="
|-
|6||29||00||Unit Attention - POR or device reset occurred
Line 265 ⟶ 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||06||Unit Attention - redundancy group created or modified
|-
|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||1A||Unit Attention - subsidiary binding changed
|-
|6||5D||00||Unit Attention - PFA threshold reached
|-
| rowspan="2" |Data Protect
|7
|20
|02
|Access Denied - No Access Rights
|-
|7||27||00||Write Protect - command not allowed
|- |rowspan=" |-
|B||1B||00||Aborted Command - sync data transfer error (extra ACK)
Line 291 ⟶ 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 381 ⟶ 446:
==References==
* [
[[Category:SCSI]]
|