SRB_FUNCTION_SHUTDOWN Requests Not Sent to SCSI Miniports During Shutdown

Article translations Article translations
Article ID: 290831
This article was previously published under Q290831
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

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:
http://support.microsoft.com/contactus/?ws=support
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

Properties

Article ID: 290831 - Last Review: October 26, 2013 - Revision: 2.0
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbhardware kbprb KB290831

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com