Disable ea recovery while debugging video display driver on XP

Hi All,

I’m debugging a video display driver on Windows XP SP3 machine.

At the first beginning, after several breakpoints were hit, I let go the test machine. But I saw that the test machine was in VGA mode - the Display node in Device Manager was PnP Displayer.

According to the MSDN http://msdn.microsoft.com/en-us/library/ff553893(v=VS.85).aspx and http://msdn.microsoft.com/en-us/library/ff551788(v=VS.85).aspx, I did three things:

  1. Set the registry value HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Watchdog\Display\EaRecovery
    to 0.

  2. Set the registry value
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Watchdog\DisableBugCheck
    to 1.

  3. When the first break were hit, I enterred the Windbg command:
    ed watchdog!WdDisableRecovery 1

but the issue still exists.

Could anyone here shed me a light on it?

Thanks,
Marshall

xxxxx@hotmail.com wrote:

I’m debugging a video display driver on Windows XP SP3 machine.

At the first beginning, after several breakpoints were hit, I let go the test machine. But I saw that the test machine was in VGA mode - the Display node in Device Manager was PnP Displayer.

but the issue still exists.

Could anyone here shed me a light on it?

The items you mention are only for the watchdog timer check, which looks
for a stuck thread. If your driver crashes or responds incorrectly, it
will fallback to the VGA regardless of these registry settings. You
should check that all of your Enable routines are returning proper
information and proper error status.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.