M2488 PRODUCT GUIDE

 

 

 

TAPE UNIT SCSI COMMANDS

 

Table 4-108.

SEND DIAGNOSTIC CDB Field Description Overview (Continued)

 

 

 

 

 

 

 

 

 

 

 

PAGE

ROUTINE

PF

SELFTEST

DEVOFL

UNITOFL

PARAMETER

 

 

CODE

LIST LENGTH

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-

57h

 

0

0

1

1

16

 

 

 

 

 

 

 

 

 

 

 

 

-

C0h

 

0

0

1

1

16

 

 

 

 

 

 

 

 

 

 

 

 

-

C2h

 

0

0

1

1

16

 

 

 

 

 

 

 

 

 

 

 

NOTE: An “X” denotes “don’t care”.

4-3.27.2 SEND DIAGNOSTIC CHECK CONDITION Status

All reserved bits must be set to zero. If these bits are set to one, the command is terminated with CHECK CONDITION status and the sense key is set to ILLEGAL REQUEST.

A self test bit of one directs the target to complete its default self test, refer to the self test routine in Online Diagnostic Routine description in Chapter 8.

If the self test is requested, the parameter list length must be zero, indicating that no data is to be transferred. If it is not zero, the command is terminated with CHECK CONDITION status and the sense key is set to ILLEGAL REQUEST. If the self test successfully passes, the command is ter- minated with GOOD status; otherwise, the command is terminated with CHECK CONDITION status and the sense key is set to HARDWARE ERROR. No Diagnostic Result file is prepared if the self test bit is 1. If the command completes with CHECK CONDITION, the resulting sense data contains the Fault Symptom Code. See Chapter 8 for a description of the sense data.

If the PF bit is 0 and the self test bit is 0, then the parameter list length must be 0 or 16, or else the command is terminated with CHECK CONDITION status and the sense key is set to ILLEGAL REQUEST.

A parameter list length of zero indicates that no data is transferred. This condition is not an error, no result file is prepared, and the command is terminated with GOOD status in this case. If the specified parameter list length results in truncation of one or more pages with the PF bit is set to one, the target terminates the SEND DIAGNOSTIC command with CHECK CONDITION status, the sense key is set to ILLEGAL REQUEST and additional sense key is set to INVALID FIELD IN CDB.

4-3.27.3 Diagnostic Pages (PF=1)

Refer to Chapter 8 for the test descriptions.

To use diagnostic pages, the Page Format (PF) bit must be set to 1. Data in the diagnostic pages is primarily used to select the tests to be executed and the number of times each test is to be run (exe- cute count). A page code can not be used more than once within the command. If the same page code is sent, the target terminates the SEND DIAGNOSTIC command with CHECK CONDI- TION status.

The Diagnostic pages for the SEND DIAGNOSTIC command are 00h and 80h. If the page code is set to any unsupported value, the target terminates the SEND DIAGNOSTIC command with CHECK CONDITION status, the sense key is set to ILLEGAL REQUEST and additional sense key is set to INVALID FIELD IN PARAMETER LIST.

For all pages, the Page Length bytes must be set as indicated for bytes 2-3 in the following Page Code descriptions. If the page length is set to any other value, the target terminates the SEND

April 1997

CG00000-011503 REV. A

4-119

Page 201
Image 201
Fujitsu M2488 manual Send Diagnostic CDB Field Description Overview, Send Diagnostic Check Condition Status