encyclopegia.org

Key Code Qualifier

Key Code Qualifier is an error-code returned by a SCSI device. When a SCSI target device returns a check condition in response to a command, the initiator usually then issues a SCSI Request Sense command. This process is part of a SCSI protocol called Contingent Allegiance Condition. The target will respond to the Request Sense command with a set of SCSI sense data which includes three fields giving increasing levels of detail about the error: *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.

Key Code Qualifier is an error-code returned by a SCSI device. When a SCSI target device returns a check condition in response to a command, the initiator usually then issues a SCSI Request Sense command. This process is part of a SCSI protocol called Contingent Allegiance Condition. The target will respond to the Request Sense command with a set of SCSI sense data which includes three fields giving increasing levels of detail about the error: 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== ==References== T10: SCSI ASC/ASCQ Assignments

References

  1. t10.org . retrieved 2026-11-19 source revision 1366647017 · retrieved 2026-11-18 · rev 1366647017
    Cite this reference

    MLA "t10.org . retrieved 2026-11-19 source revision 1366647017." t10. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1366647017. Accessed 24 November 2026.

    Chicago "t10.org . retrieved 2026-11-19 source revision 1366647017." t10. 2026-11-18. https://en.wikipedia.org/w/index.php?oldid=1366647017.

    APA t10. (2026). t10.org . retrieved 2026-11-19 source revision 1366647017. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1366647017

Cite this article

MLA

"Key Code Qualifier." encyclopegia.org, 2026, https://encyclopegia.org/wiki/key-code-qualifier. Accessed 24 November 2026.

Chicago

"Key Code Qualifier." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/key-code-qualifier.

APA

encyclopegia.org. (2026). Key Code Qualifier. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/key-code-qualifier

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Hangzhou Xiaoshan International Airport

enwiki · references available

Aguas Calientes, Peru

enwiki · references available

Christiane Kubrick

enwiki · references available

1831 Barbados–Louisiana hurricane

enwiki · references available

10 agorot controversy

enwiki · references available

Idlewild South

enwiki · references available

Just a Little While

enwiki · references available

Warning out of town

enwiki · references available

All Nite (Don't Stop)

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1366647017 · 0.5 · snapshot enwiki-001366647017

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.