beautypg.com

Mode sense 1ah/5ah, Mode sense 1ah/5ah 91, Pre-execution checks – HP C737990900 User Manual

Page 91: Command descriptor block

background image

Commands 91

Co

m

m

an

ds

MODE SENSE

1Ah/5Ah

M

ODE SENSE

allows the drive to return its current configuration and report

which configuration parameters can be changed through

MODE SELECT.

The mode sense header, block descriptor (optional), and zero or more of the

are sent to the host. Mode pages contain drive configuration parameters.

Some of these parameters are fixed, others are configurable (through the

MODE SELECT

command). The host should use

MODE SENSE

to determine

which drive parameters are configurable and what their current values are

before using mode select to alter them.

Note

See

MODE SELECT

on

page 72

for full descriptions of the Mode

Parameters.If a

MODE SENSE

command is issued whilst an

immediate reported Load command is executing or close to

completing then the values of some parameters in some mode

pages which depend on the results of the load may be

undefined.

Similarly, the write-protect field in the Mode Parameter Header

will be unstable unless a cartridge is present and medium

removal is prevented.

Pre-Execution Checks:

The page code field must contain a valid mode page code or the value 0 or

the value 3Fh. If it does not then

CHECK CONDITION

status is reported. Sense

data will be as described in the Illegal Field Checks.

Command Descriptor Block:

6-Byte Version

Illegal Field

Reservation

Deferred Error

Unit Attention

7

6

5

4

3

2

1

0

0

Operation Code (1Ah)

1

Reserved (0)

DBD

Reserved (0)

2

PC

Page Code