microsoftfeedback / WinDbg-Feedback

Public issue and feedback tracking for WinDbg Preview.
Creative Commons Attribution 4.0 International
49 stars 12 forks source link

Bootloader Debug Failure #75

Open stevemk14ebr opened 2 years ago

stevemk14ebr commented 2 years ago

Both the windbg preview and newer windbg's in the windows 11 and windows 10 SDK fail to attach to windows 10 21h2 (19044) with the following error:

bcdedit /bootdebug {bootmgr} on
bcdedit /bootdebug on
bcdedit /debug on

Preview:

Microsoft (R) Windows Debugger Version 10.0.22549.1000 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Opened \\.\pipe\com_port
Waiting to reconnect...
Connected to Windows Boot Debugger 19041 x64 target at (Wed May 11 11:01:00.836 2022 (UTC - 4:00)), ptr64 TRUE
Kernel Debugger connection established.
Symbol search path is: srv*
Executable search path is: 
ReadVirtual() failed in GetXStateConfiguration() first read attempt (error == 0.)
CS descriptor lookup failed
Windows Boot Debugger Kernel Version 19041 UP Free x64
Machine Name:
Primary image base = 0x00000000`10000000 Loaded module list = 0x00000000`1015f8c8
System Uptime: not available
Unable to get program counter

WinDbg Legacy:

************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       srv*C:\Symbols*http://msdl.microsoft.com/download/symbols
Symbol search path is: srv*C:\Symbols*http://msdl.microsoft.com/download/symbols
Executable search path is: 
ReadVirtual() failed in GetXStateConfiguration() first read attempt (error == 0.)
CS descriptor lookup failed
Windows Boot Debugger Kernel Version 19041 UP Free x64
Machine Name:
Primary image base = 0x00000000`10000000 Loaded module list = 0x00000000`1015f8c8
System Uptime: not available
Unable to get program counter
WaitForEvent failed
Unable to get program counter
0018:b8e5 0000            add     byte ptr [bx+si],al
stevemk14ebr commented 2 years ago

Setting

bcdedit /bootdebug {bootmgr} on

With VMware as the hypervisor is somehow the issue. Setting the other two options but not bootmgr does not exhibit the issue