beautypg.com

Receive diagnostics results 1ch, Pre-execution checks, Command descriptor block – HP Q153090901 User Manual

Page 133: Cdb fields, Specific status, Receive diagnostics results ch 133

background image

RECEIVE DIAGNOSTICS RESULTS 1Ch

C

omm

an

ds

133

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”.

If other invalid pages are requested,

CHECK CONDITION

will result with status of

ILLEGAL REQUEST

and additional sense of 2601h, “parameter not supported”.

Illegal Field

Reservation

Deferred Error

Unit Attention

7

6

5

4

3

2

1

0

0

Operation Code (1Ch)

1

Reserved(0)

PCV

2

Page Code

3

(MSB)

Allocation Length

4

(LSB)

5

Control

PCV

The page code valid flag is ignored.

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.