LOG SELECT4Ch

The Log Select command causes log data on the drive to be reset to its default value or to be set to an initiator specific value.

Pre-execution checks:

Illegal Field Reservation Deferred Error Unit Attention

Command descriptor block:

 

 

7

 

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Operation

Code (4Ch)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

Reserved (0)

 

 

PCR

SP (0)

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

PC

 

 

 

Reserved (0)

 

 

 

3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reserved (0)

 

 

 

 

 

6

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

(MSB)

 

 

 

Parameter List Length

 

 

 

 

 

 

 

 

 

 

 

 

 

8

 

 

 

 

 

 

(LSB)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CDB fields:

The following are valid combinations of values for the PCR (Parameter Code Reset), Parameter List Length and PC (Page Control) fields:

PCR

Parameter List Length

PC

Result

1

0

01b or 11b

All the logs on the drive that can be reset are reset to their

 

 

 

default values.

 

 

 

 

1

0

00b or 10b

No action is taken and GOOD status is returned.

 

 

 

 

0

>0

01b or 11b

Data is sent from the host and is written to the indicated

 

 

 

logs, provided those logs are writable.

 

 

 

 

Otherwise CHECK CONDITION status is returned, the sense key is set to ILLEGAL REQUEST with additional sense of 2400h (Invalid Field in CDB).

PCR

0

Parameter Code Reset. The function performed is defined by the PC field.

 

 

 

SP

0

The Save Page (SP) flag is not supported and must be set to 0.

 

 

 

Commands

LOG SELECT 4Ch 55