Interpreting SENSE DATA in AIX errpt
From Wikistix
Disk and tape errors under AIX usually generate "SENSE DATA" in errpt. This hexidecimal data can be interpretted, if you know where to look.
An example tape error follows, with the SCSI Reponse Code, SCSI Additional Sense Code (ASC) and SCSI Additional Sense Code Qualifier (ASCQ) noted. The position of the ASC/ASQ fields is valid for reponse codes 0x70 and 0x71.
LABEL: TAPE_ERR1 IDENTIFIER: 4865FA9B Date/Time: Wed Nov 8 06:21:28 EDT 2006 Sequence Number: 123875 Machine Id: xxxxxxxxxxxx Node Id: xxxxxxxx Class: H Type: PERM Resource Name: rmt713 Resource Class: tape Resource Type: 3580 Location: U7311.D11.xxxxxxx-P1-C1-T1-Wxxxxxxxxxxxxxxxx-L0 VPD: Manufacturer................IBM Machine Type and Model......ULT3580-TD2 Serial Number...............xxxxxxxxxx Device Specific.(FW)........5AT0 Description TAPE OPERATION ERROR Probable Causes TAPE User Causes MEDIA DEFECTIVE DIRTY READ/WRITE HEAD Recommended Actions FOR REMOVABLE MEDIA, CHANGE MEDIA AND RETRY PERFORM PROBLEM DETERMINATION PROCEDURES Detail Data SENSE DATA 0600 0000 1101 0000 0E00 0000 0000 0000 0102 0000 F000 0300 0000 011C 0000 0000 ^^- lower 7 bits = "Response code" ^^- lower 4 bits = "Sense Key" 1400 3600 6353 7282 0001 4243 3034 3037 4C36 0000 C2B3 AD23 0000 0000 0000 0000 ^^- SCSI Additional Sense Code (ASC) ^^- SCSI Additional Sense Code Qualifier(ASCQ) 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000