Chinaunix首页 | 论坛 | 博客
  • 博客访问: 509143
  • 博文数量: 80
  • 博客积分: 1475
  • 博客等级: 上尉
  • 技术积分: 1047
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-01 22:58
文章分类

全部博文(80)

文章存档

2012年(3)

2010年(77)

我的朋友

分类: 服务器与存储

2010-04-15 12:58:53

The following example shows a typical SCSI error message:

[+6708 72410001 002a9858 0:7] scsi disk: CHECK CONDITION 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 = 0x1, "RECOVERED ERROR"
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 = 0x18, Qualifier = 0x01
Field replaceable unit code = 0xea
SKSV = 1, C/D = 0, BPV = 0, Bit pointer = 0
Field pointer = 0x0003

The status, CHECK CONDITION and the sense key, RECOVERED ERROR —shown in bold in the example above—are interpreted for you in the error message text that follows them.

Each Additional sense code and its corresponding Qualifier code—shown in bold in the example above—require interpretation on your part. Use the two codes together to determine the meaning.

In the example above, the Additional sense (0x18) and Qualifier (0x01) codes together mean "recovered data with error correction and retries applied." You can look up the various codes and keys in the tables on the following pages.

Table A-1 SCSI Status Codes below lists all possible SCSI status codes and their meanings.

Table A-1 SCSI Status Codes

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 below lists all possible SCSI sense keys and their meanings.

Table A-2 SCSI Sense Keys

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 SCSI Additional Sense Code/Qualifier Code Pairs below lists the Additional sense codes and Qualifier codes and their meanings. Remember that you must use the combined codes—an Additional sense code/Qualifier code pair—to find the correct meaning.

Table A-3 SCSI Additional Sense Code/Qualifier Code 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

0x11

Audio play operation in progress

0x12

Audio play operation paused

0x13

Audio play operation successfully completed

0x14

Audio play operation stopped due to error

0x15

No current audio status to return

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

0x00

Logical unit does not respond to selection

0x06

0x00

Reference position found

0x07

0x00

Multiple peripheral devices selected

0x08

0x00

Logical unit communication failure

0x01

Logical unit communication time-out

0x02

Logical unit communication parity error

0x09

0x00

Track following error

0x01

Tracking servo failure

0x02

Focus servo failure

0x03

Spindle servo failure

0x0a

0x00

Error log overflow

0x0c

0x00

Write error

0x01

Write error recovered with auto reallocation

0x02

Write error—auto reallocation failed

0x10

0x00

ID crc or ecc error

0x11

0x00

Unrecovered read error

0x01

Read retries exhausted

0x02

Error too long to correct

0x03

Multiple read errors

0x04

Unrecovered read error—auto reallocate failed

0x05

l-ec uncorrectable error

0x06

circ unrecovered error

0x07

Data resynchronization error

0x08

Incomplete block read

0x09

No gap found

0x0a

Miscorrected error

0x0b

Unrecovered read error—recommend reassignment

0x0c

Unrecovered read error—recommend rewrite the data

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

0x00

Random positioning error

0x01

Mechanical positioning error

0x02

Positioning error detected by read of medium

0x16

0x00

Data synchronization mark error

0x17

0x00

Recovered data with no error correction applied

0x01

Recovered data with retries

0x02

Recovered data with positive head offset

0x03

Recovered data with negative head offset

0x04

Recovered data with retries and/or circ applied

0x05

Recovered data using previous sector ID

0x06

Recovered data without ecc—data auto-reallocated

0x07

Recovered data without ecc—recommend reassignment

0x08

Recovered data without ecc—recommend rewrite

0x18

0x00

Recovered data with error correction applied

0x01

Recovered data with error correction and retries applied

0x02

Recovered data—data auto-reallocated

0x03

Recovered data with circ

0x04

Recovered data with lec

0x05

Recovered data—recommend reassignment

0x06

Recovered data—recommend rewrite

0x19

0x00

Defect list error

0x01

Defect list not available

0x02

Defect list error in primary list

0x03

Defect list error in grown list

0x1a

0x00

Parameter list length error

0x1b

0x00

Synchronous data transfer error

0x1c

0x00

Defect list not found

0x01

Primary defect list not found

0x02

Grown defect list not found

0x1d

0x00

Miscompare during verify operation

0x1e

0x00

Recovered ID with ecc

0x20

0x00

Invalid command operation code

0x21

0x00

Logical block address out of range

0x01

Invalid element address

0x22

0x00

Illegal function

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

0x28

0x00

Not ready to ready transition (medium may have changed)

0x01

Import or export element assessed

0x29

0x00

Power on, reset, or bus device reset occurred

0x2a

0x00

Parameters changed

0x01

Mode parameters changed

0x02

Log parameters changed

0x2b

0x00

Copy cannot execute since host cannot disconnect

0x2c

0x00

Command sequence error

0x01

Too many windows specified

0x2f

0x00

Commands cleared by another initiator

0x30

0x00

Incompatible medium installed

0x01

Cannot read medium—unknown format

0x02

Cannot read medium—incompatible format

0x03

Cleaning cartridge installed

0x31

0x00

Medium format corrupted

0x32

0x00

No defect spare location available

0x01

Defect list update failure

0x33

0x00

Tape length error

0x36

0x00

Ribbon, ink, or tower failure

0x37

0x00

Rounded parameter

0x39

0x00

Saving parameters not supported

0x3a

0x00

Medium not present

0x3b

0x00

Sequential positioning error

0x01

Tape position error at beginning-of-medium

0x02

Tape position error at end-of-medium

0x03

Tape or electronic vertical forms unit not ready

0x04

Slew failure

0x05

Paper jam

0x06

Failed to sense top-of-form

0x07

Failed to sense bottom-of-form

0x08

Reposition error

0x09

Read past end of medium

0x0a

Read past beginning of medium

0x0b

Position past end of medium

0x0c

Position past beginning of medium

0x0d

Medium destination element full

0x0e

Medium source element empty

0x3d

0x00

Invalid bits in identify message

0x3e

0x00

Logical unit has not self-configured yet

0x3f

0x00

Target operation conditions have changed

0x01

Microcode has been changed

0x02

Changed operating definition

0x03

Inquiry data has changed

0x40

0x00

RAM failure

nn

Diagnostic failure on component nn

0x41

0x00

Data path failure

0x42

0x00

Power-on or self-test failure

0x43

0x00

Message error

0x44

0x00

Internal target failure

0x45

0x00

Select or reselect failure

0x46

0x00

Unsuccessful soft reset

0x47

0x00

SCSI parity error

0x48

0x00

Initiator detected error message received

0x49

0x00

Invalid message error

0x4a

0x00

Command phase error

0x4b

0x00

Data phase error

0x4c

0x00

Logical unit failed self-configuration

0x4e

0x00

Overlapped commands attempted

0x50

0x00

Write append error

0x01

Write append position error

0x02

Position error related to timing

0x51

0x00

Erase failure

0x52

0x00

Cartridge fault

0x53

0x00

Media load or eject failed

0x01

Unload tape failure

0x02

Medium removal prevented

0x54

0x00

SCSI to host system interface failure

0x55

0x00

System resource failure

0x56

0x00

Reserved

0x57

0x00

Unable to recover table of contents

0x58

0x00

Generation does not exist

0x59

0x00

Updated block read

0x5A

0x00

Operator request or state change input (unspecified)

0x01

Operator medium removal request

0x02

Operator selected write protect

0x02

Operator selected write permit

0x5B

0x00

Log exception

0x01

Threshold condition met

0x02

Log counter at maximum

0x03

Log list codes exhausted

0x5C

0x00

RPL status change

0x01

Spindles synchronized

0x02

Spindles not synchronized

0x5D

0x00

Reserved

0x5E

0x00

Reserved

0x5F

0x00

Reserved

0x60

0x00

Lamp failure

0x61

0x00

Video acquisition error

0x01

Unable to acquire video

0x02

Out of focus

0x62

0x00

Scan head positioning error

0x63

0x00

End of user area encountered on this track

0x64

0x00

Illegal mode for this track

0x65

0x00

Reserved

0x66

0x00

Reserved

0x67

0x00

Reserved

0x68

0x00

Reserved

0x69

0x00

Reserved

0x6A

0x00

Reserved

0x6B

0x00

Reserved

0x6C

0x00

Reserved

0x6D

0x00

Reserved

0x6E

0x00

Reserved

0x6F

0x00

Reserved

 

阅读(6073) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~