Open SCSI Integrator's Manual for NonStop S-Series Servers

The Open SCSI I/O Process (IOP)
Open SCSI Integrator’s Manual for NonStop Servers422988-002
4-20
CAM-StatusValues
CAM-StatusValues
The CAM-status field is supported in the CAM structure used in Open SCSI
passthrough mode. Because of the nature of the WRITEREAD procedure call, which is
used in the Open SCSI interface, polling the CAM-status field in the buffer does not
detect completion of the request. An AWAITIO[X] procedure call must be used to detect
completion of the request and transfer of the data back to the user buffer.
The following CAM-status values are added or changed as follows:
CAM-status value 1B is reserved under the current CAM specification. This CAM
status has the meaning of Software Error and indicates either that the IOP
encountered a processing error or that one of the software subsystems the IOP
interacts with reported an unrecoverable error.
CAM-status values 1C through 3F are not returned by the IOP and need not be
checked by the application.
Table 4-8
lists the hexadecimal CAM-status values supported by the Open SCSI IOP
and gives the description or meaning for each. Note that this table is a subset of the
CAM-status values listed in the ANSI X3T9.2 792D (1994) CAM specification.
Table 4-8. CAM-Status Values and Their Meanings (page 1 of 2)
CAM-Status
Value
(in hex) Meaning
01 Request has been completed without error.
02 Request aborted on request from the peripheral driver.
03 IOP unable to abort the request as instructed by the driver.
04 Request has been completed and an error condition was encountered.
06 Invalid request rejected.
08 SCSI device not installed.
0A Target selection timed out.
0B Command timed out.
0E SCSI bus was reset.
0F SCSI bus parity error was detected.
10 The autosense request-sense command failed.
11 Host bus adapter (HBA) (that is, the controller) is not responding to the IOP.
12 A data overrun occurred.
14 Target provided incorrect bus sequences.
16 IOP cannot provide function requested (in either the operation or flags).
17 The CCB was terminated because a bus device reset message was sent.
19 An unrecoverable controller error occurred.