Microsoft KB Archive/170085

From BetaArchive Wiki

BUG: WinNT DDK SCSI Tape Class Driver Sample Causes System Crash


The information in this article applies to:

  • Microsoft Win32 Device Driver Kit (DDK) for Windows NT, version 4.0


The SCSI tape class driver shipped on the Windows NT DDK crashes the system if it is built and used without modification. The driver source is in \ddk\src\storage\class\scsitape and builds a binary called TAPE.SYS.

Note that this bug is only in the driver sample shipped on the Windows NT DDK. The TAPE.SYS driver shipped with the Windows NT operating system does not experience this problem.


The SCSI tape class driver is building with the wrong class driver library. The correct library should be OLDCLASS.LIB.


Modify the SCSI tape class driver SOURCES file. Change the line in the file from:




In order for TAPE.SYS to build, first build the OLDCLASS.LIB library. Run "build -cef" (or simply "bld") in \ddk\src\storage\class\oldclass. Then run "build -cef" (or "bld") in \ddk\src\storage\class\scsitape. This will create a valid version of TAPE.SYS.

Note that the Oldclass directory is not built by default when the Class directory is built. This is because the DIRS file does not include the Oldclass directory. If you wish to make Oldclass build whenever the Class directory is built, change the DIRS file in \ddk\src\storage\class to the following:

   DIRS= oldclass  \ 
         class     \ 
         scsicdrm  \ 
         scsicdwo  \ 
         scsidisk  \ 
         scsitape  \ 


Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


For specific information on building and debugging Windows NT device drivers, refer to the Windows NT DDK online documentation.

Keywords :
Issue type : kbbug
Technology : kbAudDeveloper kbWinDDKSearch kbWin32sSearch kbWin32DDKSearch kbWin32DDKNT400 kbWin32DDKNTSearch

Last Reviewed: March 6, 1999
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.