Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP A7173A PCI-X Dual Channel Ultra320 SCSI Host Bus Adapter Support Guide: HP-UX 11i v1, 11i v2, and 11i v3 > Appendix A SCSI Sense Codes

SCSI Status Codes, Sense Keys, and Sense/Qualifier Code Pairs

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

This appendix contains tables listing SCSI Status Codes, SCSI Sense Keys, and a partial list of the most common SCSI Additional Sense Code/Qualifier Code Pairs. This information is used to interpret SCSI error messages.

Example A-1 shows a typical SCSI error message:

Example A-1 Typical SCSI Error Message

[+6708 72410001 002a9858 0:7] scsi disk: CHECK CONDITION 1 on disk 0:6:5:0
       Read of logical block 509856, count 128
       disk sd45a, block 254920, 65536 bytes
       Valid = 1, Error code = 0x70
       Segment number = 0x00, Filemark = 0, EOM = 0, ILI = 0
       Sense key = 0x6, "UNIT ATTENTION" 2
       Information = 0x00 0x07 0xc7 0xe4
[+6709 72410001 002a9a10 0:7] scsi disk:      Additional sense length = 0x0a
       Command-specific information = 0x00 0x00 0x00 0x00
       Additional sense = 0x29, Qualifier = 0x02 3
       Field replaceable unit code = 0xea
       SKSV = 1, C/D = 0, BPV = 0, Bit pointer = 0
       Field pointer = 0x0003
1

Status, with interpretation (CHECK CONDITION)

2

Sense key, with interpretation (UNIT ATTENTION).

3

Additional Sense and Qualifier, without interpretation.

The status and sense key are interpreted for you in the error message text. Table A-1: “SCSI Status Codes (complete list)” and Table A-2: “SCSI Sense Keys (complete list)” provide a complete listing of the SCSI Status Codes and the SCSI Sense Keys.

Each Additional Sense and its corresponding Qualifier Code require interpretation on your part. Use the two codes together to determine their meaning from Table A-3: “Most Common SCSI Additional Sense Code/Qualifier Pairs”.

In Example A-1, the Additional Sense Code (0x29) and Qualifier Code (0x02) together mean: “SCSI bus reset occurred.”

Table A-3 lists the most common Additional Sense Code/Qualifier Code Pairs. For a comprehensive list of all Additional Sense Code/Qualifier Code Pairs, go to:

http://www.t10.org/ftp/t10/drafts/spc2/spc2r20.pdf

Table A-1 SCSI Status Codes (complete list)

SCSI Status Code

Meaning

0x00

Good

0x02

Check condition

0x04

Condition met

0x08

Busy

0x10

Intermediate

0x14

Intermediate—condition met

0x18

Reservation conflict

0x22

Command terminated

0x28

Queue full

 

Table A-2 SCSI Sense Keys (complete list)

SCSI Sense Key

Meaning

0

No sense

0x1

Recovered error

0x2

Not ready

0x3

Medium error

0x4

Hardware error

0x5

Illegal request

0x6

Unit attention

0x7

Data protect

0x8

Blank check

0x9

Vendor-specific

0xa

Copy aborted

0xb

Aborted command

0xc

Equal

0xd

Volume overflow

0xe

Miscompare

0xf

Reserved

 

Table A-3 Most Common SCSI Additional Sense Code/Qualifier Pairs

SCSI Additional Sense Code

SCSI Qualifier Code

Meaning

0x00

0x00

No additional sense information

0x01

Filemark detected

0x02

End-of-partitions/medium detected

0x03

Setmark detected

0x04

Beginning of partition/medium detected

0x05

End-of-data detected

0x06

I/O process terminated

0x16

Operation in progress

0x17

Cleaning requested

0x01

0x00

No index/sector signal

0x02

0x00

No seek complete

0x03

0x00

Peripheral device write fault

0x01

No write current

0x02

Excessive write errors

0x04

0x00

Logical unit not ready, cause not reportable

0x01

Logical unit in process of becoming ready

0x02

Logical unit not ready, initializing command required

0x03

Logical unit not ready, manual intervention required

0x04

Logical unit not ready, format in progress

0x05

Logical unit not ready, rebuild in progress

0x06

Logical unit not ready, recalculation in progress

0x07

Logical unit not ready, operation in progress

0x08

Logical unit not ready, long write in progress

0x09

Logical unit not ready, self-test in progress

0x05

0x00

Logical unit does not respond to selection

0x0a

0x00

Error log overflow

0x0b

0x00

Warning

0x01

Warning - specified temperature exceeded

0x02

Warning - enclosure degraded

0x0c

0x00

Write error

0x11

0x00

Unrecovered read error

0x01

Read retries exhausted

0x08

Incomplete block read

0x09

No gap found

0x12

0x00

Address mark not found for ID field

0x13

0x00

Address mark not found for data field

0x14

0x00

Recorded entity not found

0x01

Record not found

0x02

Filemark or setmark not found

0x03

End-of-data not found

0x04

Block sequence error

0x15

0x02

Positioning error detected by read of medium

0x16

0x00

Data synchronization mark error

0x01

Data sync error - data rewritten

0x1a

0x00

Parameter list length error

0x1b

0x00

Synchronous data transfer error

0x20

0x00

Invalid command operation code

0x21

0x00

Logical block address out of range

0x24

0x00

Invalid field in cdb

0x25

0x00

Logical unit not supported

0x26

0x00

Invalid field in parameter list

0x01

Parameter not supported

0x02

Parameter value invalid

0x03

Threshold parameters not supported

0x27

0x00

Write protected

0x01

Hardware write protected

0x02

Logical unit software write protected

0x03

Associated write protect

0x04

Persistent write protect

0x05

Permanent write protect

0x06

Conditional write protect

0x28

0x00

Not ready to ready change, medium may have changed

0x29

0x00

Power on, reset, or bus device reset occurred

0x01

Power on occurred

0x02

SCSI bus reset occurred

0x03

Bus device reset function occurred

0x04

Device internal reset

0x05

Tranceiver mode changed to single-ended

0x06

Tranceiver mode changed to LVD

0x2a

0x00

Parameters changed

0x01

Mode parameters changed

0x02

Log parameters changed

0x03

Reservations Preempted

0x04

Reservations released

0x05

Registrations preempted

0x2c

0x00

Command sequence error

0x30

0x00

Incompatible medium installed

0x01

Cannot read medium—unknown format

0x02

Cannot read medium—incompatible format

0x03

Cleaning cartridge installed

0x04

Cannot write medium - unknown format

0x05

Cannot write medium - incompatible format

0x06

Cannot format medium - incompatible medium

0x07

Cleaning failure

0x31

0x00

Medium format corrupted

0x33

0x00

Tape length error

0x34

0x00

Enclosure failure

0x35

0x00

Enclosure services failure

0x39

0x00

Saving parameters not supported

0x3a

0x00

Medium not present

0x01

Medium not present - tray closed

0x02

Medium not present - tray open

0x03

Medium not present - loadable

0x04

Medium not present - medium auxiliary memory accessible

0x3b

0x00

Sequential positioning error

0x01

Tape position error at beginning-of-medium

0x02

Tape position error at end-of-medium

0x0f

End of medium reached

0x11

Medium magazine not accessible

0x12

Medium magazine removed

0x13

Medium magazine inserted

0x14

Medium magazine locked

0x15

Medium magazine unlocked

0x16

Mechanical positioning or changer error

0x3e

0x01

Logical unit failure

0x02

Timeout on logical unit

0x03

Logical unit failed self-test

0x3f

0x01

Microcode has been changed

0x44

0x00

Internal target failure

0x45

0x00

Select or reselect failure

0x46

0x00

Unsuccessful soft reset

0x47

0x00

SCSI parity error

0x01

Data phase CRC error detected

0x02

SCSI parity error detected during ST data phase

0x03

Infromation unit iuCRC error detected

0x48

0x00

Initiator detected error message received

0x50

0x00

Write append error

0x01

Write append position error

0x02

Position error related to timing

0x51

0x00

Erase failure

0x01

Erase failure - incomplete erase operation detected

0x52

0x00

Cartridge fault

0x53

0x00

Media load or eject failed

0x01

Unload tape failure

0x02

Medium removal prevented

0x5D

0x00

Failure prediction threshold exceeded

0x10

Hardware impending failure general hard drive failure

0x11

Hardware impending failure drive error rate too high

0x12

Hardware impending failure data error rate too high

0x13

Hardware impending failure seek error rate too high

0x14

Hardware impending failure too many block reassigns

0x15

Hardware impending failure access times too high

0x16

Hardware impending failure start unit times too high

0x17

Hardware impending failure channel parametrics

0x18

Hardware impending failure controller detected

0x19

Hardware impending failure throughput performance

0x1a

Hardware impending failure seek time performance

0x1b

Hardware impending failure spin-up retry count

0x1c

Hardware impending failure drive calibration retry count

0x32

Data channel impending failure data error rate too high

0x42

Servo impending failure data error rate too high

0x43

Servo impending failure seek error rate too high

0xff

Failure prediction threshold exceeded (false)

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007 Hewlett-Packard Development Company, L.P.