PRB: Windows 95 SCSI Miniport Drivers May Generate Bad CDBs
Article ID: 141205
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
This article was previously published under Q141205
SYMPTOMS
Windows 95 SCSI Miniport drivers may generate ATAPI 12-byte CDBs that
contain trailing random characters.
CAUSE
Windows 95 SCSI Miniport drivers that handle ATAPI commands often need to
convert the SCSI-2 6-byte or 10-byte CDBs sent by Windows 95 into 12-byte
CDBs for their ATAPI hardware. The Input Output Supervisor (IOS) under
Windows 95 does not zero out the CDB array in the SCSI Request Block (SRB)
before writing data to it. If a driver handling ATAPI commands does not
zero out the last unused bytes in the 12-byte CDB before sending the CDB to
the controller, unpredictable results may occur.
RESOLUTION
Zero out the unused bytes of the 12-byte CDB before passing it to the
controller.
Additional query words: garbage
Keywords: kbprb KB141205