And on the host, connected to the other end of that serial cable, you fire
up WinDbg, start a Kernel Debugging session, and then set the baud rate to
115200, and the comport to the port you plugged in the serial cable.
One point: No you may NOT use a USB to serial converter on the target. The
target requires a hardwired serial comport. You can use a USB to serial
converter on the host.
Gary G. Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sarbojit Sarkar
Sent: Wednesday, August 11, 2010 3:34 AM
To: Kernel Debugging Interest List
Subject: Re: [windbg] Not able to connect windbg on
win7-32bits(test-pc)->winxp-32bits(dev-pc).
forgot to demp bcdedit cmd and /dbgsettings output.
C:\Users\Administrator>bcdedit
Windows Boot Manager
identifier {bootmgr}
device partition=D:
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {5df2a356-9887-11df-aad3-85a2e8dd1651}
displayorder {ntldr}
{current}
toolsdisplayorder {memdiag}
timeout 30
Windows Legacy OS Loader
identifier {ntldr}
device partition=D:
path \ntldr
description Earlier Version of Windows
Windows Boot Loader
identifier {current}
device partition=C:
path \Windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {5df2a358-9887-11df-aad3-85a2e8dd1651}
recoveryenabled Yes
osdevice partition=C:
systemroot \Windows
resumeobject {5df2a356-9887-11df-aad3-85a2e8dd1651}
nx OptIn
usefirmwarepcisettings No
debug Yes
C:\Users\Administrator>bcdedit /dbgsettings
debugtype Serial
debugport 1
baudrate 115200
The operation completed successfully.
/sarbojit
On Wed, Aug 11, 2010 at 2:02 PM, Sarbojit Sarkar
wrote:
Sorry for late response.
Tim said,
>> according to your bcdedit output, you haven’t configured the
>>debug target to do debugging over a COM port.
Could you please let me where exactly you have found this? Because when I am
using /dbgsettings cmd it is showing,
debugtype Serial
debugport 1
baudrate 115200
Well my system is having win7-32bits & Winxp-32bits both OSes. I have
installed XP in c drive and Win7 in d drive but I have noticed that when I
boot the system in win7 it is showing current directory as C drive only and
when I boot in XP it is also showing current directory as c drive only.
Please let me know if this can be a issue.
When I boot the system in XP I am able to connect with same debug com port
cable so I am sure that cable is not a culprit here.
I am dumping the current settings here again. Please let me know if any
thing I am missing here.
On Tue, Jul 27, 2010 at 9:52 PM, M. M. O’Brien
wrote:
Indeed. Also, you might want to check /dbgsettings.
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Tuesday, July 27, 2010 12:16 PM
To: Kernel Debugging Interest List
Subject: Re: [windbg] Not able to connect windbg on
win7-32bits(test-pc)->winxp-32bits(dev-pc).
Sarbojit Sarkar wrote:
> Debugger is showing below message.
>
> Microsoft (R) Windows Debugger Version 6.12.0002.633 X86 Copyright (c)
> Microsoft Corporation. All rights reserved.
>
> Opened \.\COM1 <file:>
> Waiting to reconnect…
OK, so windbg thinks you want to debug using COM1. That’s fine.
However, according to your bcdedit output, you haven’t configured the debug
target to do debugging over a COM port. Did you use bcdedit to set up a COM
port, and set up the baud rate?
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
—
WINDBG is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
— WINDBG is sponsored by OSR For our schedule of WDF, WDM, debugging and
other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the
List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer</file:>