SCSI error: return code = 0x08000002 with "<<vendor>> ASC=0x4c ASCQ=0xa8"
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 5
Issue
-
/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
Resolution
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 configuredASCQ=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
to7F/FF
.- Values from
80/00
toFF/FF
are reserved for vendor specific use.
- Values from
- In this case, we have values within the SCSI Standard definitions.
- ASC=0x4c is defined as
LOGICAL UNIT FAILED SELF-CONFIGURATION
- ASCQ=0xa8 is a vendor specific code
- ASC=0x4c is defined as
Learn More
SCSI Error Codes Deep Dive
- We have many Solutions explaining SCSI Error Codes that are specific to a combination of Return Code, Sense Key and Hardware.
- We also have an Article that covers SCSI Error codes in depth titled: How do I interpret SCSI status messages in RHEL like "sd 2:0:0:243: SCSI error: return code = 0x08000002"?.
Matching an address to a device
- If you need to further identify a device name from a hardware address, please review How do you map between scsi address <0 0 0 0> (or 0:0:0:0) and scsi device name (sda)?.
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.