SRB_FUNCTION_SHUTDOWN Requests Not Sent to SCSI Miniports During Shutdown (290831)



The information in this article applies to:

  • Microsoft Windows Millennium Edition
  • Microsoft Windows 98 Second Edition

This article was previously published under Q290831

SYMPTOMS

A SCSI miniport driver does not receive an SRB_SHUTDOWN_REQUEST message during the Windows shutdown process.

CAUSE

SCSI miniport drivers do not receive an SRB_SHUTDOWN_REQUEST message unless the PORT_CONFIGURATION_INFORMATION block for the SCSI miniport sets the CachesData field to one (1).

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English version of this fix should have the following file attributes or later:
   Date        Time    Version      Size    File name     Platform
   -------------------------------------------------------------------
   03/14/2001  7:09AM  4.10.0.2224  23,674  Scsiport.pdr  Windows 98
                                                          Second Edition
   03/14/2001  7:09AM  4.90.0.3001  26,957  Scsiport.pdr  Windows Me
				

Note that Microsoft recommends that you also obtain and install the update that is described in the following Microsoft Knowledge Base article:

273017 ScanDisk Runs Even Though Windows Shut Down Correctly

WORKAROUND

The SCSI miniport driver should honor all SRB_FUNCTION_FLUSH requests or should disable write caching on each ATAPI hard disk. However, both of these workarounds may cause a large performance penalty.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

The Microsoft Windows Device Driver Kit (DDK) documentation states that hard disk controllers that cache information should set the CachesData value to one. Many ATAPI devices use a SCSI miniport driver because the command set is the same for both ATAPI and SCSI.

However, modern ATAPI devices typically contain a large onboard cache that is separate from the hard disk controller, and many of the miniport drivers do not set the CachesData field. Therefore, shutdown notifications are not sent to the miniport driver.

Some miniport drivers use these shutdown notifications as a trigger to flush data from the hard disk; without this notification, the driver may not flush data from the hard disk's internal cache.

The updated Scsiport.pdr driver that is documented in this article always sends an SRB_FUNCTION_SHUTDOWN message, regardless of the CachesData field value.

For additional information about Windows Me hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:

295413 General Information About Windows Millennium Edition Hotfixes

For additional information about Windows 98 and Windows 98 Second Edition hotfixes, click the article number below to view the article in the Microsoft Knowledge Base:

206071 General Information About Windows 98 and Windows 98 Second Edition Hotfixes


Modification Type:MinorLast Reviewed:10/18/2005
Keywords:kbHotfixServer kbQFE kbHardware kbprb kbQFE KB290831