Microsoft KB Archive/940505

= Stop error after the surprise removal of a device that is under I/O stress on a Windows Server 2003-based computer: &quot;0x000000D1&quot; =

Article ID: 940505

Article Last Modified on 10/12/2007

-

APPLIES TO

 Microsoft Windows Server 2003 Service Pack 2 Microsoft Windows Server 2003 Service Pack 2, when used with:  Microsoft Windows Server 2003, Standard Edition (32-bit x86)

 Microsoft Windows Server 2003, Web Edition

 Microsoft Windows Server 2003, Datacenter Edition (32-bit x86) </li></ul>

-

<div class="symptoms_section">

SYMPTOMS
On a Windows Server 2003-based computer, you may receive the following Stop error message on a blue screen:

0x000000D1 DRIVER_IRQL_NOT_LESS_OR_EQUAL

Notes
 * The four parameters in this error message vary, depending on the computer's configuration.
 * Not all &quot; 0x000000D1&quot; Stop errors are caused by this problem.

This problem may occur after the surprise removal of a device that is under significant I/O stress on a Windows Server 2003-based computer.

<div class="cause_section">

CAUSE
This error is caused by a timing issue in the Storport.sys driver. In this situation, the SrbExtension field of the LUN_RESET request is zeroed out in one thread. However, the Storport.sys driver accesses the same LUN_RESET request. The system triggers the &quot;0x000000D1&quot; Stop error when the SrbExtension field of the LUN_RESET request is accessed after the SrbExtension field is freed.

<div class="workaround_section">

WORKAROUND
To work around the issue, do not use the StorPortCompleteRequest function in the miniport driver. The StorPortCompleteRequest function will be automatically called by the Microsoft code.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Additional query words: storport.sys

Keywords: kbtshoot kbprb kbexpertiseinter KB940505

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.