Hi,
I’m trying to start doing kernel debugging and it’s being completely frustrating by now. I’ve done kernel debugging before using virtual machines, but this is the first time I try with two real computers over a network cable. Host machine is Windows 8.1, target machine Windows 8.
I bought a TP-Link TG-3269 network card specifically for this task, which PCI identifier is 8169 (PCI\VEN_10EC&DEV_8169&SUBSYS_816910EC&REV_10). The 8169 device is listed as supported by Windows 8. Unfortunately after ordering this card I read another thread saying that Realtek sells different hardware using the same identifier. (I’m wondering if this could be the problem, please keep reading)
Both computers are connected by means of a TP-Link TL-SF1005D switch, that does not support DHCP so I’m using static IPs for both computers. Actually the target machine is getting an automatic private IP as you can see below. The firewall is disabled in both computers, and I can ping each other succesfully when in Windows.
So I follow the instructions in MSDN for setting up network debugging, reboot the target machine, and I get this in Windbg:
Microsoft (R) Windows Debugger Version 6.3.9600.17029 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Using NET for debugging
Opened WinSock 2.0
Waiting to reconnect…
Connected to target 169.254.41.219 on port 50000 on local IP 192.168.2.1.
Connected to Windows 8 9200 x64 target at (Wed Aug 6 17:12:00.621 2014 (UTC + 2:00)), ptr64 TRUE
Kernel Debugger connection established.
************* Symbol Path validation summary **************
Response Time (ms) Location
Deferred srv*d:\Temp\pdb*http://msdl.microsoft.com/download/symbols
Symbol search path is: srv*d:\Temp\pdb*http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows 8 Kernel Version 9200 MP (1 procs) Free x64
Built by: 9200.16384.amd64fre.win8_rtm.120725-1247
Machine Name:
Kernel base = 0xfffff8038c07a000 PsLoadedModuleList = 0xfffff803
8c344a60
System Uptime: 0 days 0:01:00.803
After that, it stays there forever. The progress wheel on the target machine gets frozen at this point. On Windbg, the message “Debuggee not connected” is shown all the time. However I can’t access nearly any option because it complains it is busy. However if I CTRL+Break, it does nothing. All I can do close Windbg and shut down the target machine from the power button. The disk gets corrupted after that and it can’t boot into Windows 8 anymore, I actually need to boot into a Windows 7 install in a separate partition in order to repair the disk, and disable debugging for the Windows 8 partition so I can access the system again.
I have accessed the registry in HKEY_Local_Machine\System\CurrentControlSet\Services\kdnet but there’s nothing interesting there. As a note, if just for testing I try using the onboard NIC (Intel, unsupported), I do get an “NIC not supported” error in there, and when I do this Windows 8 does start without problems.
I have also tried using a common router with DHCP support. I get the same exact result, although it actually gets there faster, I guess because it obtains an IP from the router.
So at this point, I would highly appreciate any advice or suggestion. Maybe this Realtek chip is not fully supported after all? Am I doing something wrong?
Thanks in advance,
Antonio