SCSI error: return code = 0x08000002 with "<<vendor>> ASC=0x4c ASCQ=0xa8"

Solution In Progress - Updated -


  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5


  • /var/log/messages reports SCSI errors that contain;

    kernel: sd X:X:X:X: SCSI error: return code = 0x08000002
    • and;
    kernel:     <<vendor>> ASC=0x4c ASCQ=0xa8ASC=0x4c ASCQ=0xa8


Understanding the Error

  • The error consists of several components

    • The first part tells us the SCSI device and the Return Code and in this instance means we need to review the added data.

      kernel: sd X:X:X:X: SCSI error: return code = 0x08000002
    • The second part tells us the detail of the error by specifying a general condition, known as the Additional Sense Code (ASC) and the specific condition, called The Additional Sense Qualifier (ASCQ)

      • ASC=0x4c indicates that a logical unit cannot be configured
      • ASCQ=0xa8 indicates that this is a vendor specific error

Next Actions

  • The ASC/ASCQ combination indicates that there is an internal hardware failure and that the hardware vendor has defined the Additional Sense Qualifier.
    • Open a Support Case with the hardware vendor
    • If requested by the hardware vendor, open a new Support Case for collaboration with Red Hat, quoting the ticket number from them.

Resolving 0x08000002

  • The IO return code of 0x08000002 is resolved as follows

    0x08 00 00 02
               02   status byte : SAM_STAT_CHECK_CONDITION - check returned sense data, esp. ASC/ASCQ
            00         msg byte : {likely} not valid, see other fields;
         00           host byte : {likely} not valid, see other fields;
      08            driver byte : DRIVER_SENSE {scsi sense buffer available from target}

  • The key part of this error is SAM_STAT_CHECK_CONDITION
    • This message is telling us to review the ASC and the ASCQ

Understanding ASC=0x4c ASCQ=0xa8

  • The SCSI specification defines sense code values from 00/00 to 7F/FF.
    • Values from 80/00 to FF/FF are reserved for vendor specific use.
  • In this case, we have values within the SCSI Standard definitions.
    • ASCQ=0xa8 is a vendor specific code

Learn More

SCSI Error Codes Deep Dive

Matching an address to a device

This solution has been reviewed for technical accuracy, optimized for search, and integrated with Product Documentation and/or Red Hat Access Labs. Much like when a software package is accepted upstream, this content has moved from the general KCS editing workflow into the responsibility of Customer Content Services as maintainers.