Intel® RAID Controllers: SAS Software Stack Decoding Unexpected Alert Codes Revision 1.
Revision History Intel® RAID Controllers: SAS Software Stack Revision History Date May, 2008 Revision Number 1.0 Modifications Initial release Disclaimers Information in this document is provided in connection with Intel® products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document.
Intel® RAID Controllers: SAS Software Stack Appendix A Table of Contents 1. Decoding Intel® RAID Sense Code Messages ..................................................................6 1.1 Purpose ........................................................................................................................... 6 1.2 RAID Logs ....................................................................................................................... 6 1.3 RAID Log Events .........................
List of Tables Intel® RAID Controllers: SAS Software Stack List of Tables Table 1: CDB Content................................................................................................................... 8 Table 2: CDB SCSI Commands.................................................................................................... 8 Table 3: CDB Extended Commands Usage Matrix – Read (EXTENDED): (28H) ...................... 10 Table 4: CDB Commands Usage Matrix – Write (EXTENDED): (2AH) .............
Intel® RAID Controllers: SAS Software Stack Appendix A < This page intentionally left blank. > Revision 1.
Decoding Intel® RAID Sense Code Messages Intel® RAID Controllers: SAS Software Stack 1. Decoding Intel® RAID Sense Code Messages 1.1 Purpose This document reviews unexpected sense codes returned by SAS/SATA RAID devices attached to an Intel® RAID Controller using the SAS software stack. This document does not describe all error types or messages generated by these RAID Controllers. 1.2 RAID Logs The RAID controller error events are logged as they occur.
Intel® RAID Controllers: SAS Software Stack Appendix A Sense Code Qualifier. These bytes can be decoded into an error message for more information. 5. The logged entry also includes the following: - Date and time of the event - Channel and target - SAS/SATA CDB - Returned Sense Code 6. Returned Sense Data includes: - Sense Key = byte 2 - Additional Sense code = byte 12 - Additional Sense Code Qualifier = byte 13 1.
Decoding Intel® RAID Sense Code Messages Intel® RAID Controllers: SAS Software Stack Table 1: CDB Content bit→ ↓byte 7 6 5 0 4 3 2 1 0 Operation code 1 LUN Reserved 2 Reserved 3 Reserved 4 Allocation length 5 Control Byte 0 (green in the table above) is the operation code (command). SCSI Operation codes are listed in the table below: For example, the 2a operational code indicates that a WRITE command was issued.
Intel® RAID Controllers: SAS Software Stack Operation Code 24 Command Name SET WINDOW Appendix A Type Manufacturer Specific 25 READ CAPACITY Mandatory 28 READ (10) Mandatory 29 READ GENERATION Manufacturer Specific 2A WRITE (10) Mandatory 2B SEEK (10) Optional 2C ERASE (10) Manufacturer Specific 2D READ UPDATED BLOCK Manufacturer Specific 2E WRITE AND VERIFY (10) Optional 2F VERIFY (10) Optional 30 SEARCH DATA HIGH (10) Optional 31 SEARCH DATA EQUAL (10) Optional 32 SE
Decoding Intel® RAID Sense Code Messages Operation Code B3 1.6 Intel® RAID Controllers: SAS Software Stack Command Name SET LIMITS (12) Type CD-ROM only, optional Notes Decoding Key SCSI CDB Commands Some CDB Commands have an extended command set that can be used to qualify a command or provide additional command structure. For these commands the contents of Table 1 are extended to include the additional parameters shown in Table 3.
Intel® RAID Controllers: SAS Software Stack Appendix A Table 4: CDB Commands Usage Matrix – Write (EXTENDED): (2AH) bit→ ↓byte 7 6 5 4 0 3 2 1 0 2A 1 LUN Reserved 2 Logical Block Address (MSB) 3 Logical Block Address 4 Logical Block Address 5 Logical Block Address (LSB) 6 Reserved 7 Transfer Length (MSB) 8 Transfer Length (LSB) 9 Control The WRITE command writes the consecutive data blocks transferred from the RAID controller, as specified in the Transfer Length field, to th
Decoding Intel® RAID Sense Code Messages Intel® RAID Controllers: SAS Software Stack compare check between the data in the medium and the data transferred from the RAID Controller.
Intel® RAID Controllers: SAS Software Stack 7 6 Appendix A 5 4 3 2 1 0 bit→ ↓byte 12 Additional Sense Code 13 Additional Sense Code Qualifier 14 Field Replaceable Unit Code 15 Through SKSV Sense Key Specific 17 18 Additional Sense Bytes Through 254 The bytes required to decode an error message are Error Code, Sense Key, Additional Sense Code, and Additional Sense Code Qualifier. 1.8 The Error Code The Error Code (Byte 0) for an unexpected sense code is usually 70.
Decoding Intel® RAID Sense Code Messages Intel® RAID Controllers: SAS Software Stack The table below provides an easy reference for these codes. For more detail on the SCSI ASC/ASCQ Assignments refer to http://www.t10.org/lists/asc-num.txt.
Intel® RAID Controllers: SAS Software Stack Category Not Ready Medium Error Appendix A Sense Key Additional Sense Code Additional Sense Code Qualifier Error Condition Byte 2 1 Byte 12 18 Byte 13 7 Recovered Read error - with ECC, data rewritten 1 1C 0 Defect list not found 1 1C 1 Primary defect list not found 1 1C 2 Grown defect list not found 1 1F 0 Partial defect list transferred 1 44 0 Internal target failure 1 5D 0 PFA threshold reached 1 5D FF PFA test warning 1
Decoding Intel® RAID Sense Code Messages Category Hardware Error 16 Intel® RAID Controllers: SAS Software Stack Sense Key Additional Sense Code Additional Sense Code Qualifier Error Condition Byte 2 3 Byte 12 11 Byte 13 4 Medium Error - unrecovered read error - auto re-alloc failed 3 11 0B Medium Error - unrecovered read error - recommend reassign 3 11 FF Medium Error - read recovery time limit exceeded 3 14 1 Medium Error - record not found 3 16 0 Medium Error - Data Sync Mark e
Intel® RAID Controllers: SAS Software Stack Category Illegal Request Unit Attention Appendix A Sense Key Additional Sense Code Additional Sense Code Qualifier Error Condition Byte 2 4 Byte 12 40 Byte 13 A0 Hardware Error - read/write test failure 4 40 B0 Hardware Error – device self-reset 4 40 D0 Hardware Error - component mismatch 4 44 0 Hardware Error - internal target failure 4 81 0 Hardware Error - internal logic error 4 82 0 Hardware Error - command timeout 5 1A 0 Il
Decoding Intel® RAID Sense Code Messages Intel® RAID Controllers: SAS Software Stack Sense Key Additional Sense Code Additional Sense Code Qualifier Error Condition Byte 2 6 Byte 12 29 Byte 13 6 Unit Attention - transceiver mode change to LVD 6 2A 0 Unit Attention - parameters changed 6 2A 1 Unit Attention - mode parameters changed 6 2A 2 Unit Attention - log select parameters changed 6 2A 3 Unit Attention - Reservations pre-empted 6 2A 4 Unit Attention - Reservations released
Intel® RAID Controllers: SAS Software Stack Category Appendix A Sense Key Additional Sense Code Additional Sense Code Qualifier Error Condition Byte 2 x Byte 12 7 Byte 13 0 Data protect x 8 0 LUN communication failure x 8 1 LUN communication timeout x 8 2 LUN communication parity error x 9 0 Vendor specific sense key x 9 1 Servo fault x 9 4 Head select fault x 0A 0 Error log overflow x 0B 0 Aborted command x 0C 0 Write error x 0C 2 Write error - auto-realloc
Decoding Intel® RAID Sense Code Messages Category Intel® RAID Controllers: SAS Software Stack Sense Key Additional Sense Code Additional Sense Code Qualifier Error Condition Byte 2 x Byte 12 65 Byte 13 0 Voltage fault x 80 0 General firmware error 1.10 Multiple Sense Codes An error event in the log may be followed by a second error event that can provide additional information. For example a CDB is issued to VERIFY a data block is shown below.
Intel® RAID Controllers: SAS Software Stack Appendix A Appendix A: SCSI ASC/ASCQ Assignments SCSI ASC/ASCQ Assignments (ASC-NUM.TXT) Numeric Sorted Listing as of 5/13/07 D - DIRECT ACCESS DEVICE (SBC-2) device column key .T - SEQUENTIAL ACCESS DEVICE (SSC) ------------------. L - PRINTER DEVICE (SSC) blank = reserved . P - PROCESSOR DEVICE (SPC) not blank = allowed . .W - WRITE ONCE READ MULTIPLE DEVICE (SBC-2) . . R - CD DEVICE (MMC) . . O - OPTICAL MEMORY DEVICE (SBC-2) . . .
Decoding Intel® RAID Sense Code Messages 04h/0Bh DTLPWROMAEBKVF STATE 04h/0Ch DTLPWROMAEBKVF UNAVAILABLE STATE 04h/10h DT WROM B ACCESSIBLE 04h/11h DT WROMAEB VF REQUIRED 04h/12h M V 05h/00h DTL WROMAEBKVF 06h/00h D WROM BK 07h/00h DTL WROM BK 08h/00h DTL WROMAEBKVF 08h/01h DTL WROMAEBKVF 08h/02h DTL WROMAEBKVF 08h/03h DT ROM BK 08h/04h DTLPWRO K 09h/00h DT WRO B 09h/01h WRO K 09h/02h WRO K 09h/03h WRO 09h/04h DT WRO B 0Ah/00h DTLPWROMAEBKVF 0Bh/00h DTLPWROMAEBKVF 0Bh/01h DTLPWROMAEBKVF 0Bh/02h DTLPWROMAEB
Intel® RAID Controllers: SAS Software Stack 11h/00h 11h/01h 11h/02h 11h/03h 11h/04h 11h/05h 11h/06h 11h/07h 11h/08h 11h/09h 11h/0Ah 11h/0Bh 11h/0Ch 11h/0Dh 11h/0Eh 11h/0Fh 11h/10h 11h/11h 11h/12h 11h/13h 11h/14h 12h/00h 13h/00h 14h/00h 14h/01h 14h/02h 14h/03h 14h/04h 14h/05h 14h/06h 14h/07h 15h/00h 15h/01h 15h/02h 16h/00h 16h/01h 16h/02h 16h/03h 16h/04h 17h/00h 17h/01h 17h/02h 17h/03h 17h/04h 17h/05h 17h/06h 17h/07h 17h/08h 17h/09h 18h/00h 18h/01h 18h/02h 18h/03h 18h/04h 18h/05h 18h/06h 18h/07h 18h/08h 19h
Decoding Intel® RAID Sense Code Messages 19h/02h 19h/03h 1Ah/00h 1Bh/00h 1Ch/00h 1Ch/01h 1Ch/02h 1Dh/00h 1Eh/00h 1Fh/00h 20h/00h 20h/01h 20h/02h 20h/03h 20h/04h 20h/05h 20h/06h 20h/07h 20h/08h 20h/09h 20h/0Ah 20h/0Bh 21h/00h 21h/01h 21h/02h 21h/03h 22h/00h 23h/00h 24h/00h 24h/01h 24h/02h 24h/03h 24h/04h 24h/05h 24h/06h 24h/07h 25h/00h 26h/00h 26h/01h 26h/02h 26h/03h 26h/04h 26h/05h 26h/06h 26h/07h 26h/08h 26h/09h 26h/0Ah 26h/0Bh 26h/0Ch 26h/0Dh 26h/0Eh 26h/0Fh 26h/10h 26h/11h 26h/12h 27h/00h 27h/01h 27h/02
Intel® RAID Controllers: SAS Software Stack 27h/04h 27h/05h 27h/06h 28h/00h 28h/01h 28h/02h 29h/00h 29h/01h 29h/02h 29h/03h 29h/04h 29h/05h 29h/06h 29h/07h 2Ah/00h 2Ah/01h 2Ah/02h 2Ah/03h 2Ah/04h 2Ah/05h 2Ah/06h 2Ah/07h 2Ah/08h 2Ah/09h 2Ah/10h 2Ah/11h NEXUS 2Ah/12h EVENT 2Ah/13h 2Bh/00h 2Ch/00h 2Ch/01h 2Ch/02h 2Ch/03h 2Ch/04h 2Ch/05h 2Ch/06h 2Ch/07h 2Ch/08h 2Ch/09h 2Ch/0Ah 2Ch/0Bh 2Dh/00h 2Eh/00h 2Fh/00h 2Fh/01h 2Fh/02h 30h/00h 30h/01h 30h/02h 30h/03h 30h/04h 30h/05h 30h/06h 30h/07h 30h/08h 30h/09h 30h/0Ah
Decoding Intel® RAID Sense Code Messages 30h/0Dh T 30h/10h R 31h/00h DT WRO BK 31h/01h D L RO B 31h/02h R 32h/00h D W O BK 32h/01h D W O BK 33h/00h T 34h/00h DTLPWROMAEBKVF 35h/00h DTLPWROMAEBKVF 35h/01h DTLPWROMAEBKVF 35h/02h DTLPWROMAEBKVF 35h/03h DTLPWROMAEBKVF 35h/04h DTLPWROMAEBKVF 35h/05h DTL WROMAEBKVF 36h/00h L 37h/00h DTL WROMAEBKVF 38h/00h B 38h/02h B 38h/04h B 38h/06h B 39h/00h DTL WROMAE K 3Ah/00h DTL WROM BK 3Ah/01h DT WROM BK 3Ah/02h DT WROM BK 3Ah/03h DT WROM B 3Ah/04h DT WROM B ACCESSIBLE 3
Intel® RAID Controllers: SAS Software Stack 3Fh/02h 3Fh/03h 3Fh/04h 3Fh/05h 3Fh/06h 3Fh/07h 3Fh/08h 3Fh/09h 3Fh/0Ah 3Fh/0Bh 3Fh/0Ch 3Fh/0Dh 3Fh/0Eh 3Fh/0Fh 3Fh/10h 3Fh/11h 3Fh/12h 3Fh/13h 3Fh/14h 40h/00h 40h/NNh 41h/00h 42h/00h 43h/00h 44h/00h 44h/71h 45h/00h 46h/00h 47h/00h 47h/01h 47h/02h 47h/03h 47h/04h 47h/05h 47h/06h 47h/7Fh 48h/00h 49h/00h 4Ah/00h 4Bh/00h 4Bh/01h 4Bh/02h 4Bh/03h 4Bh/04h 4Bh/05h 4Bh/06h 4Ch/00h 4Dh/NNh 4Eh/00h 4Fh/00h 50h/00h 50h/01h 50h/02h 51h/00h 51h/01h 52h/00h 53h/00h 53h/01h 53h
Decoding Intel® RAID Sense Code Messages 53h/04h 54h/00h 55h/00h 55h/01h 55h/02h 55h/03h 55h/04h 55h/05h 55h/06h 55h/07h 55h/08h EXCEEDED 56h/00h 57h/00h 58h/00h 59h/00h 5Ah/00h 5Ah/01h 5Ah/02h 5Ah/03h 5Bh/00h 5Bh/01h 5Bh/02h 5Bh/03h 5Ch/00h 5Ch/01h 5Ch/02h 5Dh/00h 5Dh/01h 5Dh/02h 5Dh/03h 5Dh/10h 5Dh/11h 5Dh/12h 5Dh/13h 5Dh/14h 5Dh/15h 5Dh/16h 5Dh/17h 5Dh/18h 5Dh/19h 5Dh/1Ah 5Dh/1Bh 5Dh/1Ch COUNT 5Dh/20h FAILURE 5Dh/21h HIGH 5Dh/22h 5Dh/23h 5Dh/24h 5Dh/25h 5Dh/26h HIGH 5Dh/27h 5Dh/28h 5Dh/29h 5Dh/2Ah 5Dh/2
Intel® RAID Controllers: SAS Software Stack 5Dh/2Ch D COUNT 5Dh/30h D FAILURE 5Dh/31h D HIGH 5Dh/32h D HIGH 5Dh/33h D HIGH 5Dh/34h D REASSIGNS 5Dh/35h D 5Dh/36h D HIGH 5Dh/37h D 5Dh/38h D 5Dh/39h D 5Dh/3Ah D 5Dh/3Bh D 5Dh/3Ch D RETRY COUNT 5Dh/40h D 5Dh/41h D 5Dh/42h D 5Dh/43h D 5Dh/44h D 5Dh/45h D 5Dh/46h D 5Dh/47h D 5Dh/48h D 5Dh/49h D 5Dh/4Ah D 5Dh/4Bh D 5Dh/4Ch D 5Dh/50h D 5Dh/51h D 5Dh/52h D 5Dh/53h D 5Dh/54h D 5Dh/55h D 5Dh/56h D 5Dh/57h D 5Dh/58h D 5Dh/59h D 5Dh/5Ah D 5Dh/5Bh D 5Dh/5Ch D COUNT 5Dh/6
Decoding Intel® RAID Sense Code Messages 5Dh/6Bh D B 5Dh/6Ch D B COUNT 5Dh/FFh DTLPWROMAEBKVF 5Eh/00h DTLPWRO A K 5Eh/01h DTLPWRO A K 5Eh/02h DTLPWRO A K 5Eh/03h DTLPWRO A K 5Eh/04h DTLPWRO A K 5Eh/41h B 5Eh/42h B 5Eh/43h B 5Eh/45h B 5Eh/47h BK 5Fh/00h 60h/00h 61h/00h 61h/01h 61h/02h 62h/00h 63h/00h R 63h/01h R 64h/00h R 64h/01h R 65h/00h DTLPWROMAEBKVF 66h/00h 66h/01h 66h/02h 66h/03h 67h/00h A 67h/01h A 67h/02h A 67h/03h A 67h/04h A 67h/05h A 67h/06h A 67h/07h A 67h/08h A 67h/09h A 67h/0Ah DTLPWROMAEBKVF
Intel® RAID Controllers: SAS Software Stack 6Fh/04h REGION 6Fh/05h ERROR 6Fh/06h 6Fh/07h 70h/NNh 71h/00h 72h/00h 72h/01h 72h/02h 72h/03h 72h/04h 72h/05h 72h/06h 72h/07h 73h/00h 73h/01h 73h/02h 73h/03h 73h/04h 73h/05h 73h/06h 73h/10h 73h/11h 73h/17h 74h/00h 74h/01h 74h/02h 74h/03h 74h/04h 74h/05h 74h/06h 74h/07h 74h/08h 74h/09h 74h/0Ah 74h/0Bh 74h/71h 75h/00h 76h/00h 77h/00h 78h/00h 79h/00h 7Ah/00h 7Bh/00h 7Ch/00h 7Dh/00h 7Eh/00h 7Fh/00h Revision 1.