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/


Does windbg works via net between 2 vmware sessions (on esxi)?

Hello,

I'm doing remote debugging a long time between my vmware sessions via serial configuration by a vmware named pipe - this worked so far.

I tried now the net configuration (https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/setting-up-a-network-debugging-connection),
but with no success. The windbg does not connect to the target (after booting this in debug mode). I checked also my ports and disabled the firewall.

I checked the supported NIC cards, well W2K12R2 does not show any properties for the vmware card, but based on the registry VEN and DEV values it should be supported.

I tried it with a W2K12R2 (checked build) as target and W8.1 with the windbg (6.3.9600.17237), both vmware sessions on a esxi.

Before digging into details, should this configuration work?

Thanks
Norbert

Comments

  • Ladislav_ZezulaLadislav_Zezula Member - All Emails Posts: 65
    Network debugging on VMWARE as host never worked for me. What I do is that I do it via named pipe with VMWARE high speed, something like Virtual KD (google it - the first link). Works reasonably well, although I have problems make it work with Windows 10 as host.

    BTW, if I understand it properly, you use one VMWARE machine as debuggee and a second one as debugger?

    L.
  • Ladislav, do you mean this one: http://www.zezula.net/en/fstools/kdvmware.html ?

    Yes, I run debugee (W2K12R2) in one vmware machine and the debugger (W8.1 - I also tried W10) in another vmware machine. Both on a esxi host. Connected via serial named pipe.

    Could I use for my environment also your kdvmware?
    It does not look like to run on esxi - or?
  • Ladislav_ZezulaLadislav_Zezula Member - All Emails Posts: 65
    Yes, I made my own modification with my own easy-to-start application. I never tried on ESX tho, I always do it like host=debugger, guest=debuggee.
  • Jamey_KirbyJamey_Kirby Member - All Emails Posts: 450
    I've not tried VMWare, but I use VirtualBox and it works for both serial
    (Win 7-) and network. I run the debugger in one VM and the test code in
    another. I suspect VMWare can be setup to work, but I have not verified.


    On Mon, Nov 20, 2017 at 11:38 AM [email protected]
    wrote:

    > Yes, I made my own modification with my own easy-to-start application. I
    > never tried on ESX tho, I always do it like host=debugger, guest=debuggee.
    >
    > ---
    > WINDBG is sponsored by OSR
    >
    > OSR is hiring!! Info at http://www.osr.com/careers
    >
    >
    > MONTHLY seminars on crash dump analysis, WDF, Windows internals and
    > software drivers!
    > Details at
    >
    > To unsubscribe, visit the List Server section of OSR Online at <
    > http://www.osronline.com/page.cfm?name=ListServer&gt;
    >
  • Nathan_KiddNathan_Kidd Member - All Emails Posts: 13
    On 20/11/17 11:59 AM, "Jamey Kirbywindbg"@lists.osr.com wrote:
    > I've not tried VMWare, but I use VirtualBox and it works for both serial
    > (Win 7-) and network. I run the debugger in one VM and the test code in
    > another. I suspect VMWare can be setup to work, but I have not verified.

    In that vein, I've used VirtualBox to run the debugee VM (with bridged
    ethernet adapter) on a Win7 Host. I could not get windbg net to work
    running on the Win7 host. It worked fine running on a separate machine
    on the LAN. (I didn't bother digging with WireShark to see what was
    actually happening. I didn't try running windbg in another VM under
    VirtualBox on the same host.)
  • Jamey_KirbyJamey_Kirby Member - All Emails Posts: 450
    In my case, I run Kubuntu host.


    On Mon, Nov 20, 2017 at 3:28 PM Nathan Kidd <
    [email protected]> wrote:

    > On 20/11/17 11:59 AM, "Jamey Kirbywindbg"@lists.osr.com wrote:
    > > I've not tried VMWare, but I use VirtualBox and it works for both serial
    > > (Win 7-) and network. I run the debugger in one VM and the test code in
    > > another. I suspect VMWare can be setup to work, but I have not verified.
    >
    > In that vein, I've used VirtualBox to run the debugee VM (with bridged
    > ethernet adapter) on a Win7 Host. I could not get windbg net to work
    > running on the Win7 host. It worked fine running on a separate machine
    > on the LAN. (I didn't bother digging with WireShark to see what was
    > actually happening. I didn't try running windbg in another VM under
    > VirtualBox on the same host.)
    >
    > ---
    > WINDBG is sponsored by OSR
    >
    > OSR is hiring!! Info at http://www.osr.com/careers
    >
    >
    > MONTHLY seminars on crash dump analysis, WDF, Windows internals and
    > software drivers!
    > Details at
    >
    > To unsubscribe, visit the List Server section of OSR Online at <
    > http://www.osronline.com/page.cfm?name=ListServer&gt;
    >
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

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 Mar 2020 OSR Seminar Space
Developing Minifilters 15 Jun 2020 LIVE ONLINE
Writing WDF Drivers 22 June 2020 LIVE ONLINE
Internals & Software Drivers 28 Sept 2020 Dulles, VA