M2488 PRODUCT GUIDE

TAPE UNIT SCSI COMMANDS

In addition to the ANSI defined conditions for clearing of log data, log data will be cleared by the following:

1.A LOG SENSE command (clears counters only for the page requested). The specified page is returned to its default value even if the Allocation Length field was zero. NOTE: This condition for clearing the log counters is dependent on the state of bit 7 (0x80) in feature setting FT5 as described in the M2488 User’s Guide.

2.When a cartridge is unloaded via the LOAD/UNLOAD command, or MOVE MEDIUM com- mand.

3.MTU not ready to ready transition (e.g. cartridge load operation or pressing the op-panel Reset key followed by the Start key while a cartridge is in the MTU).

Log counters are not allowed to overflow. When a log counter reaches its maximum value, incre- menting of all counters within that log page cease until they are cleared by one of the actions listed above. If a log counter has reached its maximum value and the RLEC bit in the MTU mode page 0Ah is one, the next successful command issued to the device associated with that counter will receive CHECK CONDITION status with RECOVERED ERROR set in the sense key. The ASC/ ASCQ field will be returned as 5B02h, LOG COUNTERS AT MAXIMUM.

To disable the reporting of log overflow conditions, set the RLEC bit to zero in the Mode Select page 0Ah (Common device types control parameters).

4-3.10.3 LOG SENSE Parameters

The LOG SENSE command returns data in a page format. Each log page begins with a four-byte page header followed by zero or more variable length log parameters defined for that page. The log page format and log parameter format are defined below:

Table 4-32. Log Page Format

 

 

 

 

 

 

 

BITS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

BYTES

7

 

6

5

 

4

 

3

 

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Reserved

 

 

 

 

Page Code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

 

2-3

 

 

 

 

 

Page Length (n-3)

 

 

 

 

 

 

 

 

 

 

 

 

4 TO X+3

 

 

 

 

First Log Parameter (Length x)

 

 

 

 

 

 

 

 

 

 

 

 

 

. . .

 

 

 

 

 

More Log Parameters

 

 

 

 

 

 

 

 

 

 

 

 

N-Y TO N

 

 

 

 

Last Log Parameter (Length y)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

April 1997

CG00000-011503 REV. A

4-35

Page 117
Image 117
Fujitsu M2488 manual LOG Sense Parameters, Log Page Format