beautypg.com

Returned sense data fields – HP C737990900 User Manual

Page 130

background image

130 Commands

Returned Sense Data Fields:

Valid

1

Indicates that the information bytes contain valid information as defined in the SCSI

specification.

Error Code

70h Indicates that the error is current, that is, it is associated with the command for which

CHECK CONDITION

status has been reported.

71h Indicates that the error is deferred. A deferred error occurs when there is a failure for

an operation that has already been terminated with a

GOOD

status, or when failure

occurs in “cleanup” activity following an operation that was terminated by

BUS

RELEASE

. The command for which

CHECK CONDITION

status was reported is therefore

unlikely to be the cause of the deferred error. It simply gives the drive the opportunity

to report

CHECK CONDITION

status for an error that already exists.

Segment Number

This field is cleared to zero.

Mark

1

The Mark bit is set to 1 if a

SPACE

,

READ

or

VERIFY

command did not complete because

a filemark was read. This bit may only be set if the sense key is

NO SENSE

.

EOM

1

The End of Medium flag is set if a

WRITE

or

WRITE FILEMARKS

command completed in

the early warning area. If no other error occurred, the sense code will be set to

NO

SENSE

with additional sense of 0002h (EOT). If another error occurred, the sense code

and additional sense will reflect that error. It is also set if BOP is encountered while

spacing over blocks or filemarks in the reverse direction.

ILI

1

Indicates that the requested block length did not match the actual block length. Only

READ

and

VERIFY

can cause this bit to be set.

Sense Key

See “Sense Keys” on

page 135

for details of sense keys that can be returned.

Information Bytes

The Information Bytes field is only valid if the Valid bit is set. It contains residue information

following the failure of either a

READ

,

WRITE

,

WRITE FILEMARKS

or

SPACE

command. The field

can take a negative value, expressed in twos complement notation. See the description of the

command that failed for the contents of the field.

Additional Sense

Length

0Eh Specifies the number of additional sense bytes to follow and is always set to 0Eh. It is

never truncated to reflect the actual Transfer Length.

Command Specific

Information Bytes

0

Provides additional information specific to the failing command. The field is normally

set to 0.

Additional Sense

Code and Qualifier

These two bytes provide additional information about the cause of the

CHECK CONDITION

, or

the current tape position when the

REQUEST SENSE

is unsolicited. See “Additional Sense

Codes” on

page 136

.

SKSV

0

The Sense Key Specific Bytes (bytes 15 through 17) are invalid. The C/D, BPV and Bit

pointer fields will be zero. The top byte of the Field Pointer will be zero, and the

bottom byte will contain a product-specific error code.