Unsupported SCSI Commands When Using SCSI Pass Through (123677)



The information in this article applies to:

  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT 3.5
  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT 3.51
  • Microsoft Windows 2000 Driver Development Kit (DDK)
  • Microsoft Windows XP Driver Development Kit (DDK)

This article was previously published under Q123677

SUMMARY

The following SCSI commands are unsupported when using SCSI pass through and SCSI pass through direct:
    SCSI Command      Value   DDK operation code
    ---------------------------------------------
    COPY               0x18   SCSIOP_COPY
    COMPARE            0x39   SCSIOP_COMPARE
    COPY AND COMPARE   0x3A   SCSIOP_COPY_COMPARE
				

NOTE: The COPY AND COMPARE command is referred to as the COPY AND VERIFY command in the SCSI-2 specification.

If a SCSI pass through request is sent to the SCSI port driver with any one of these unsupported operation codes, the request will be rejected with a return status of STATUS_INVALID_DEVICE_REQUEST.

MORE INFORMATION

The described SCSI commands are identified as optional commands in the SCSI-2 specification. This means that not all direct access devices will support these commands. Some of these commands are also potentially dangerous to implement, because large amounts of data may be easily lost if they are used incorrectly.

Finally, implementation of these commands has security implications because large amounts of data might be handled without operating system control. For detailed descriptions of these commands, please see the SCSI-2 specification.

Modification Type:MinorLast Reviewed:5/24/2004
Keywords:KB123677