beginner's question: how to setup target and host machines

Hello,
my two win2k machines are connected using null cable
modem. if target machine is booted using non-debug
option(the default), i am able to use COM1 to connect
to each other. i used HyperTerminal to test this.

however, when the target machine(dell laptop) is
booted using
multi(0)disk(0)rdisk(0)partition(1)\WINNT=“Microsoft
Windows 2000 Professional” /fastdetect /debugport=com1
/baudrate=19200, HyperTerminal could not even display
the com1 port! Instead, it just displays the COM4 port
in the connect dropdown list. In fact, there is only
one serial port in this laptop computer. Do not know
where this COM4 come from.

I could not use windbg to connect to this machine of
course since even HyperTerminal does not work when
target machine is in debug mode.

Could anyone please advise?
Thanks,
~~Henry


Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

The COM port used by the debugger connection on the target machine
isn’t available for anything else and is therefore no longer visible
for any applications like HyperTerminal.

If you are able to set up a working connection between the two
machines without any debug setting, then the debug session should also
work. Make sure you have set correct baud rate and port in WinDbg.

Also make sure you have the latest WinDbg, download here:

http://www.microsoft.com/ddk/debugging/

Stephan

On Tue, 26 Feb 2002 22:35:05 -0800 (PST), noil sg
wrote:

>
>Hello,
>my two win2k machines are connected using null cable
>modem. if target machine is booted using non-debug
>option(the default), i am able to use COM1 to connect
>to each other. i used HyperTerminal to test this.
>
>however, when the target machine(dell laptop) is
>booted using
>multi(0)disk(0)rdisk(0)partition(1)\WINNT=“Microsoft
>Windows 2000 Professional” /fastdetect /debugport=com1
>/baudrate=19200, HyperTerminal could not even display
>the com1 port! Instead, it just displays the COM4 port
>in the connect dropdown list. In fact, there is only
>one serial port in this laptop computer. Do not know
>where this COM4 come from.
>
>I could not use windbg to connect to this machine of
>course since even HyperTerminal does not work when
>target machine is in debug mode.
>
>Could anyone please advise?
>Thanks,
>~~Henry

> my two win2k machines are connected using null cable

modem. if target machine is booted using non-debug
option(the default), i am able to use COM1 to connect
to each other. i used HyperTerminal to test this.

however, when the target machine(dell laptop) is
booted using
multi(0)disk(0)rdisk(0)partition(1)\WINNT=“Microsoft
Windows 2000 Professional” /fastdetect /debugport=com1
/baudrate=19200, HyperTerminal could not even display
the com1 port! Instead, it just displays the COM4 port
in the connect dropdown list. In fact, there is only
one serial port in this laptop computer. Do not know
where this COM4 come from.

I could not use windbg to connect to this machine of
course since even HyperTerminal does not work when
target machine is in debug mode.

Could anyone please advise?

When you set your system to be a debug target (with the /debugport
switch) the port to be used by WinDbg is reserved to that purpose
only, so that it’s no more available to the system and application
software (e.g. HyperTerminal).

If the cable and connection are OK, as it seems since you tested it
successfully with HyperTerminal, all you have to do is to boot your
target system in debug mode, then launch WinDbg in your host system
and start Kernel Debug (be sure to set the right serial port and baud
rate)

Hope this helps

Carlo Andreoli