beautypg.com

Receive diagnostics results 1ch, Receive diagnostics results 1ch 11 – HP C737990900 User Manual

Page 119

background image

Commands 119

Co

m

m

an

ds

RECEIVE DIAGNOSTICS RESULTS

1Ch

R

ECEIVE DIAGNOSTIC RESULTS

tells the drive to return data from the last

diagnostic test requested through the SEND DIAGNOSTIC command. If none

has been sent, the data refers to the power-on self-test.

Pre-Execution Checks:

Command Descriptor Block:

CDB Fields:

Specific Status:

If the drive not is connected to a compatible enclosure, a

RECEIVE DIAGNOSTIC

command with a Enclosure Services page number (01 to 0F) will return a

CHECK CONDITION

with Sense key of

NOT READY

and additional sense of

3502h, “enclosure services unavailable”.

Illegal Field

Reservation

Deferred Error

Unit Attention

7

6

5

4

3

2

1

0

0

Operation Code (1Ch)

1

Reserved(0)

PCV (1)

2

Page Code

3

(MSB)

Allocation Length

4

(LSB)

5

Control

PCV

1

The page code is valid. This flag must be set.

Page Code

0

Identifier for the diagnostic information page to be returned.

Allocation

Length

0

No data will be returned. This is not considered an error. The drive will return allocation

length bytes or the amount of data that is available, whichever is least.

>0 The number of bytes which the host has allocated for returned diagnostic data.