Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
Hello,
I am attempting to setup a hypervisor debugging lab and having an issue with setting up the debugging connection.
My setup includes my host machine running windows 11 and a guest machine running windows 10/server 2019.
The debugger I am using is Windbg.
I have attempted to configure the setup with both VMware workstation and Hyper-V using the following:
For COM serial connection:
bcdedit /hypervisorsettings serial DEBUGPORT:1 BAUDRATE:115200
bcdedit /set hypervisordebug on
bcdedit /set dbgtransport kdhvcom.dll
bcdedit /dbgsettings serial DEBUGPORT:1 BAUDRATE:115200
bcdedit /debug on
For network debugging:
bcdedit /set hypervisordebug on
bcdedit /hypervisorsettings NET HOSTIP:192.168.2.1 PORT:50000
Bcdedit /debug yes
Bcdedit /dbgsettings net hostip:192.168.2.1 port:50002
In both cases, kernel debugging works but the debugging session with the hypervisor does not work. There is no error or response.
Windbg simply waits for connection:
Microsoft (R) Windows Debugger Version 10.0.25877.1004 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Using NET for debugging
Opened WinSock 2.0
Using IPv4 only.
Waiting to reconnect...
I have disabled the firewalls but don't assume it to be the cause since the kernel debugging does goes through.
Secure boot is turned off at least in the VM/Hyper-V settings.
I will be grateful if someone who came across a similar issue can point me in the right direction or point me to some troubleshooting direction
Thanks a lot
Upcoming OSR Seminars | ||
---|---|---|
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead! | ||
Kernel Debugging | 16-20 October 2023 | Live, Online |
Developing Minifilters | 13-17 November 2023 | Live, Online |
Internals & Software Drivers | 4-8 Dec 2023 | Live, Online |
Writing WDF Drivers | 10-14 July 2023 | Live, Online |