RECEIVE DIAGNOSTICS RESULTS | 1Ch |
RECEIVE 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
Illegal Field Reservation Deferred Error Unit Attention
Command descriptor block:
|
| 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 |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
CDB fields:
PCV The page code valid flag is ignored.
Page Code | 0 | Identifier for the diagnostic information page to be returned. |
|
|
|
Allocation | 0 | No data will be returned. This is not considered an error. The drive will return |
Length |
| 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. |
|
|
|
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”.
Commands
RECEIVE DIAGNOSTICS RESULTS 1Ch 133