beautypg.com

Sense data management, Sense data management 131 – HP C737990900 User Manual

Page 131

background image

Commands 131

Co

m

m

an

ds

Sense Data Management

The drive maintains three sets of sense data for every initiator on the bus. For a

single host the following sense data is maintained:

Current sense

U

NIT ATTENTION

sense

1

The Sense Key Specific Bytes are valid. This will only happen when the bytes assume

the role of Field Pointer Bytes as defined by ANSI. This occurs when an Illegal Field

check detects an error in a command descriptor block or a Parameter List check

detects an error in a command parameter list.

C/D

Command Data. Only valid if the SKSV flag is set.

0

The Field Pointer information applies to the parameter list for the command.

1

The Field Pointer information applies to the command descriptor block.

BPV

Bit Pointer Valid

0

The Bit Pointer field is invalid.

1

The Bit Pointer field is valid. If the SKSV bit is set then the BPV bit must be set as well.

Bit Pointer

Identifies the bit position of the field in error, whether it is a command descriptor or a

command parameter list field. When a multi-bit field is in error, this will point to the most

significant bit of that field. Only valid when the SKSV flag is set.

Field Pointer

/Drive Error Code

If SKSV = 1

, this field represents the Field Pointer, identifying in which byte of the command

descriptor or parameter list an error was detected.

Note that the drive scans from byte 0 bit 7 of a command or parameter list through to byte n

bit 0. The field and bit pointers are set to point to the most significant bit of the field that is in

error. See the illegal field check and the parameter list check.

If SKSV = 0

, this field represents the Drive Error Code. The top byte of this field will be zero.

The bottom byte contains the drive error code associated with the failure of the previous

command, or zero in the case of no failure and no appropriate error code. If the drive’s

power-on self-test failed then, in the absence of an error code associated with the most recent

command, this byte will be set to the error code generated by the failing test.

Note:

Drive error codes are provided for information only; they are intended to assist in product

integration and fault diagnosis. The codes should not be relied on by “generic” host drivers,

since these are specific to the product. For a list of codes, see

Chapter 10 of the Hardware

Integration Guide, Volume 1 of the HP Ultrium Technical Reference Manual

.

CLN

0

1

The drive is OK.

The drive requires cleaning. The front panel LEDs will be displaying a “clean me”

sequence or message. This bit is cleared to zero after a cleaning cartridge has been

used.