1. I reboot XP SP3 using /noexecute=optin /fastdetect /debug /sos /noguiboot
2. I connect local kernel debugging in WinDbg
3. I receive: "GetContextState failed, 0x80004001" (full log below)
3. I load my test driver which calls DbgPrint few times
4. I run !dbgprint in the debugger but nothing
5. If I try to view memory I recieve the same GetContextState failed,
0x80004001
6. Using DbgView or DbgGui I receive all expected DbgPrint messages
This is the log of my session:
Opened log file 'Lkd-Log-2-6-09'
Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Connected to Windows XP 2600 x86 compatible target at (Tue Jun 2
17:35:30.921 2009 (GMT+3)), ptr64 FALSE
Symbol search path is: srv**http://msdl.microsoft.com/download/symbols
Executable search path is:
*******************************************************************************
WARNING: Local kernel debugging requires booting with kernel
debugging support (/debug or bcdedit -debug on) to work optimally.
*******************************************************************************
Windows XP Kernel Version 2600 (Service Pack 3) MP (2 procs) Free x86
compatible
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 2600.xpsp_sp3_gdr.090206-1234
Machine Name:
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055d720
Debug session time: Tue Jun 2 17:35:31.156 2009 (GMT+3)
System Uptime: 0 days 1:56:59.781
GetContextState failed, 0x80004001
lkd> !dbgprint
lkd> !dbgprint
Closing open log file Lkd-Log-2-6-09
Any clue why GetContextState fails and how to resolve it?
thanks
--
Adi
srv*c:\symbols*http://msdl.microsoft.com/download/symbols
-- pa
lkd> lml
start end module name
804d7000 806e4000 nt (pdb symbols) C:\Program
Files\Debugging Tools for Windows
(x86)\sym\ntkrpamp.pdb\909FE6B806E4444B9230BAAF21EC5C271\ntkrpamp.pdb
Any other idea why does GetContextState failed with 0x80004001?
thanks
--
Adi
So, could you try again with a local path
that *does not include spaces*?
-- pa
Microsoft (R) Windows Debugger Version 6.11.0001.404 X86
Copyright (c) Microsoft Corporation. All rights reserved.
Connected to Windows XP 2600 x86 compatible target at (Wed Jun 3
17:10:39.906 2009 (GMT+3)), ptr64 FALSE
Symbol search path is:
srv*D:\Symbols*http://msdl.microsoft.com/download/symbols
Executable search path is:
*******************************************************************************
WARNING: Local kernel debugging requires booting with kernel
debugging support (/debug or bcdedit -debug on) to work optimally.
*******************************************************************************
Windows XP Kernel Version 2600 (Service Pack 3) MP (2 procs) Free x86
compatible
Product: WinNt, suite: TerminalServer SingleUserTS
Built by: 2600.xpsp_sp3_gdr.090206-1234
Machine Name:
Kernel base = 0x804d7000 PsLoadedModuleList = 0x8055d720
Debug session time: Wed Jun 3 17:10:40.468 2009 (GMT+3)
System Uptime: 0 days 0:37:10.105
GetContextState failed, 0x80004001
--
Adi
Me too. Another unsolved mistery of the universe...
-- pa