Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Before Posting...

Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


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/


Windbg won't attach

rstruempfrstruempf Member Posts: 103

I'm trying to get a test VM working again at home without having to start from scratch and build a new VM. My problems started with the 1803 Windows update, when Microsoft removed homegroup. All of my network permissions, sharing, etc. were based on homegroup. This is my home laptop, which I don't use a lot for kernel debugging, so I've drug my feet on fixing it, but I'm to the point where I need to consider building a new VM, and I'm hoping you all have some ideas.

I'm using Hyper-V to host the up-to-date Windows 10 VM. I can ping the machine by name, so discovery and ICMP are working, although the ping results default to the IPv6 address of the machine instead of the IPv4 address. If I use -S to specify the source address, that problem goes away, though, and Windbg is using the correct, IPv4 host address.

I tell it to attach, it says "Waiting to reconnect..." and then nothing. So I don't have much to go on.

I ran bcdedit /dbgsettings, and it used the port and key it displayed. Host IP is correct.

Comments

  • rstruempfrstruempf Member Posts: 103

    I think I found at least part of it. After trying to connect, and getting just "Waiting to reconnect...", I tried restarting the VM while leaving Windbag trying to connect, and it eventually displayed:
    Connected to target 169.254.57.244 on port 50096 on local IP 192.168.86.49.
    So even though both systems are setup for dhcp, and acquire addresses in the 192.168.86.0 / 255.255.255.0 subnet, the debugger appears to be assigning a static ip to the VM. I'm going to make sure dhcp is on both with bcdedit and for the VM itself, and if I don't find something there, I'm just going to build a new VM.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.

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 30 January 2023 Live, Online
Developing Minifilters 20 March 2023 Live, Online
Internals & Software Drivers 17 April 2023 Live, Online
Writing WDF Drivers 22 May 2023 Live, Online