TAPE UNIT SCSI COMMANDS

M2488 PRODUCT GUIDE

Description of Page Code 80h

This page allows user selection of Online Diagnostic Routines and control over the number of times each routine is to be executed.

Table 4-119. Page 80h - Online Diagnostic Test Page

 

 

 

 

 

 

BITS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BYTES

7

6

 

5

4

 

3

2

 

1

0

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Page code (80h)

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

Reserved (All bits are set to zero)

 

 

 

 

 

 

 

 

 

 

 

 

2-3

 

 

 

 

Page Length (0010h)

 

 

 

 

 

 

 

 

4

 

Execute Count (Pass Count) of Online Routine 01h (Self Test)

 

 

 

 

 

 

 

5

 

 

Execute Count (Pass Count) of Online Routine 50h

 

 

 

 

 

 

 

 

6

 

 

Execute Count (Pass Count) of Online Routine 51h

 

 

 

 

 

 

 

 

7

 

 

Execute Count (Pass Count) of Online Routine 52h

 

 

 

 

 

 

 

 

8

 

 

Execute Count (Pass Count) of Online Routine 53h

 

 

 

 

 

 

 

 

9

 

 

Execute Count (Pass Count) of Online Routine 54h

 

 

 

 

 

 

 

 

 

10-11

 

 

 

Reserved (All bits are set to zero)

 

 

 

 

 

 

 

 

12

 

 

Execute Count (Pass Count) of Online Routine 57h

 

 

 

 

 

 

 

 

13

 

 

Execute Count (Pass Count) of Online Routine C0h

 

 

 

 

 

 

 

 

14

 

 

Execute Count (Pass Count) of Online Routine C2h

 

 

 

 

 

 

 

 

 

15-19

 

 

 

Reserved (All bits are set to zero)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Selection of a diagnostic routine is accomplished by assigning a routine’s corresponding Execute Count byte a non-zero value. Routines 50 to 57 are diagnostic specific to the Tape Drive logical unit, and routines C0 and C2 are specific to the Medium Changer logical unit. Therefore, if the Tape Drive logical unit is selected, only the Execute Count bytes corresponding to the Selftest rou- tine (Routine 01) and routines 50 to 57 may have non-zero values. Bytes 1, 10-11, and 13-19 must be zero; otherwise a CHECK CONDITION is returned with Sense Key set to ILLEGAL REQUEST and Additional Sense Key set to INVALID FIELD IN PARAMETER LIST. Con- versely, if the Medium Changer logical unit has been selected, only the Execute Count bytes corre- sponding to routine C0 and/or C2 may have non-zero values. Bytes 1, 4-12, and 15-19 must be zero; otherwise a CHECK CONDITION is returned with Sense Key set to ILLEGAL REQUEST and Additional Sense Key set to INVALID FIELD IN PARAMETER LIST.

Selection of routines 50 and 51 do not require either DevOfl or UnitOfl to be set. Selection of rou- tines 52 to 57, or C0 to C2 require both DevOfl and UnitOfl to be set. If a parameter list is received by the controller which indicates selection of any of the routines 52 to 57, or C0 and/or C2, and both UnitOfl and DevOfl are not set, a CHECK CONDITION is returned with Sense Key set to ILLEGAL REQUEST and Additional Sense Key is set to INVALID FIELD IN PARAMETER LIST.

If any error condition is encountered during execution of a routine, diagnostic result data is gener- ated at that time and no further diagnostic execution occurs.

4-128

CG00000-011503 REV. A

April 1997

Page 210
Image 210
Fujitsu M2488 manual Description of Page Code 80h, Page 80h Online Diagnostic Test