TAPE UNIT SCSI COMMANDS

M2488 PRODUCT GUIDE

 

 

Table 4-30. LOG SENSE Field Description (Continued)

 

 

 

 

BYTE

BIT

VALUE

DESCRIPTION

 

 

 

 

5-6

 

 

The Parameter Pointer field allows the initiator to request parameter data begin-

 

 

 

ning from a specific parameter code to the maximum allocation length or the

 

 

 

maximum parameter code supported by the target, whichever is less. If the value

 

 

 

of the Parameter Pointer field is larger than the largest available parameter code

 

 

 

that can be returned by the target on the specified page, the target shall terminate

 

 

 

the command with CHECK CONDITION status. The sense key shall be set to

 

 

 

ILLEGAL REQUEST and the additional sense code shall be set to INVALID

 

 

 

FIELD IN CDB.

 

 

 

 

7-8

 

0-1E9h

Allocation Length

 

 

 

 

 

Table 4-31. Page Codes

 

 

PAGE CODE

DESCRIPTION

 

 

00h

Supported Log Pages

 

 

02h

Error Counter Page (Write)

 

 

03h

Error Counter Page (Read)

 

 

0Ch

Sequential-access device page (support for this feature is dependent on the setting of bit 6 (0x40) in

 

feature setting FT5 as described in the M2488 User’s Guide).

 

 

31h

Track Error Statistics

 

 

3Eh

Return All Supported Pages

 

 

Any other value in the Page Code field will result in CHECK CONDITION status with a sense key of ILLEGAL REQUEST.

A value in the PPC field of other than 0b will be rejected with a CHECK CONDITION status with a sense key of ILLEGAL REQUEST.

A value in the PC field of other than 01b will be rejected with a CHECK CONDITION status with a sense key of ILLEGAL REQUEST.

When the Page Code Field contains 3Eh, the controller will attempt to return pages 00h, 02h,03h, 0Ch, and 31h in this order. A minimum allocation length of 1E9h is required to receive all page data. If fewer than 1E9h bytes are requested, then that number of bytes are returned. If more than 1E9h are requested, then only 1E9h bytes are returned.

4-3.10.2 LOG SENSE Operation

All available log parameters for the specified log page are returned to the initiator during a Data In phase subject to the specified allocation length. The page requested by the Page Code is trans- ferred in ascending order of parameter codes. A page control field (PC) of 01b must be specified to indicate that the target’s current cumulative counter values for the specified log page(s) are returned.

Log data is cleared under the following ANSI defined conditions:

1.SCSI BUS RESET (if operating in hard reset mode).

2.BUS DEVICE RESET.

3.Power on.

4.Valid Log Select command with the parameter code reset bit (PCR) set to 1.

4-34

CG00000-011503 REV. A

April 1997

Page 116
Image 116
Fujitsu M2488 manual Page Codes, LOG Sense Operation, BUS Device Reset, Field in CDB