Command Details; Pre-Execution Checks; Bad Lun Check - HP C737990900 Technical Reference Manual

Ultrium drives generation 2 scsi and fc drives volume 3: the scsi interface
Table of Contents

Advertisement

Command Details

Pre-Execution Checks

Bad LUN Check

32
Commands—Introduction
The command descriptions in this section are listed in alphabetical order of
command name. Each command is described briefly. This is followed by a list
of pre-execution checks which are described below. The Command Descriptor
Block (CDB) is then given, with details of the various parameter bits and fields.
In compliance with the SCSI specification, the drive terminates a
Note
command with a
key to
ILLEGAL REQUEST
is received which is not zero.
Before executing a command, the drive makes a number of checks. They fall
into three categories:
Checks on the command sent by the host. These ensure that no reserved or
fixed fields have been set to illegal values. They check the syntax of
commands, in other words the cross dependency of fields. For example, the
Flag bit must not be set if the Link bit is not set.
Checks to ensure that there are no outstanding
events posted for the host that has sent the command.
DEFERRED ERROR
Checks on media access abilities. These are performed for commands
requiring access to the cartridge. A command is rejected if it attempts to
access the cartridge when no cartridge is present or the cartridge is
unloaded.
The checks are described below in alphabetical order. The usual order of
execution is Illegal Field, Fixed Bit, Flag Link, Bad LUN, Reservation, Deferred
Error, Unit Attention, Media Access, Media Write, Diagnostic Status, Humidity,
Parameter List.
For all commands except
the host is zero. The LUN is taken from the lowest 5 bits of the host's
message.
CHECK CONDITION
when a reserved bit, byte, field or code
12h, this checks that the LUN specified by
INQUIRY
status and sets the sense
or
UNIT ATTENTION
IDENTIFY

Advertisement

Table of Contents
loading

Table of Contents