Windows 7 debug enabled hangs while booting


  • I am trying to do a WinDbg debug environment set up on Windows 7 as target and Windows XP as the host computer using NULL modem cable.

    I did the following 

    Target side

    1. I  added a new boot entry using bcdedit /copy {current} /d "DebugEntry"

    2. "bcdedit /debug <ID> on" to make debug on

    3.Used bcdedit /dbgsettings to set up serial debugging

    Host side

    1.Started a Kernel debug connection using WinDbg using same baud rate setting.


    On booting, I am getting the following output on the WinDbg console

    Microsoft (R) Windows Debugger Version 6.12.0002.633 X86
    Copyright (c) Microsoft Corporation. All rights reserved.
    Opened \\.\com10
    Waiting to reconnect...
    Connected to Windows 7 7600 x86 compatible target at (Wed Jun 22 18:01:36.625 2011 (UTC + 5:30)), ptr64 FALSE
    Kernel Debugger connection established.
    Symbol search path is: *** Invalid ***
    * Symbol loading may be unreliable without a symbol search path.      *
    * Use .symfix to have the debugger choose a symbol path.          *
    * After setting your symbol path, use .reload to refresh symbol locations. *
    Executable search path is: 
    * Symbols can not be loaded because symbol path is not initialized. *
    *                                  *
    * The Symbol Path can be set by:                  *
    *  using the _NT_SYMBOL_PATH environment variable.         *
    *  using the -y <symbol_path> argument when starting the debugger. *
    *  using .sympath and .sympath+                  *
    *** ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrpamp.exe - 
    Windows 7 Kernel Version 7600 MP (1 procs) Free x86 compatible
    Built by: 7600.16385.x86fre.win7_rtm.090713-1255
    Machine Name:
    Kernel base = 0x82601000 PsLoadedModuleList = 0x82749810
    System Uptime: not available
    KiCompleteEffectiveRangeChange: Overlapping MTRR ranges with conflicting memory type.
    Break instruction exception - code 80000003 (first chance)
    *** ERROR: Symbol file could not be found. Defaulted to export symbols for ntkrpamp.exe - 
    82919547 cc       int   3

    The desktop is not booting up completely.

    Wednesday, June 22, 2011 12:57 PM