Remote debugging with USB problem

Hi all,
I’m starting with the Windbg tool and I am already stuck with the
connection
procedure.

Here is what I have done, maybe tou can tell me if I forgot something?

Target:
I edited the boot.ini file and add the following sentence in the
[operating
system] field:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=“Ms win XP - Usb Remote
control
session for windbg” /fastdetect /debug /debugport=usb /targetname=PCE
I saved the file and reboot the machine with the right session.

Host:
I run in the command line the following command:
windbg -y c:\symbols -k usb2:targetname=PCE

it ran the Windbg tool and then wait infinitely after writting “Waiting
to
reconnect…”.
Can anyone tell me what am I doing wrong?

Ps: the Usb connection has been tested with a file transfer tool and it
works fine

Thank you.

Maybe you can use USB on Vista, but you can only use serial or 1394 on XP.


The personal opinion of
Gary G. Little
“Saadoun Fabrice-BFS013” wrote in message news:xxxxx@windbg…
Hi all,
I’m starting with the Windbg tool and I am already stuck with the connection
procedure.

Here is what I have done, maybe tou can tell me if I forgot something?

Target:
I edited the boot.ini file and add the following sentence in the [operating
system] field:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=“Ms win XP - Usb Remote control
session for windbg” /fastdetect /debug /debugport=usb /targetname=PCE
I saved the file and reboot the machine with the right session.

Host:
I run in the command line the following command:
windbg -y c:\symbols -k usb2:targetname=PCE

it ran the Windbg tool and then wait infinitely after writting “Waiting to
reconnect…”.
Can anyone tell me what am I doing wrong?

Ps: the Usb connection has been tested with a file transfer tool and it
works fine

Thank you.

Gary G. Little wrote:

Maybe you can use USB on Vista, but you can only use serial or 1394 on XP.

Is that true? There are documents on the web between 2002 and 2004 that
talk about this. It takes special firmware in the EHCI controller, it
takes a special cable, and it takes a special transport driver for
windbg. There is a PowerPoint deck from the 2004 WinHEC asking vendors
to participate in a beta, but I can find nothing that says whether it
ever got released.

The fact that Mr. Fabrice got no errors, either at boot on his target,
or from WinDBG on his host, suggests that it isn’t completely crazy.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

You need a target system that supports it, too – the last I heard it
was Vista targets only. Something may have changed since then, and
xxxxx@microsoft.com is a good place to ask questions regarding the
specific requirements.

Jason

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Thursday, November 17, 2005 9:28 AM
To: Kernel Debugging Interest List
Subject: Re: [windbg] Remote debugging with USB problem

Gary G. Little wrote:

Maybe you can use USB on Vista, but you can only use serial or 1394 on
XP.

Is that true? There are documents on the web between 2002 and 2004 that

talk about this. It takes special firmware in the EHCI controller, it
takes a special cable, and it takes a special transport driver for
windbg. There is a PowerPoint deck from the 2004 WinHEC asking vendors
to participate in a beta, but I can find nothing that says whether it
ever got released.

The fact that Mr. Fabrice got no errors, either at boot on his target,
or from WinDBG on his host, suggests that it isn’t completely crazy.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


You are currently subscribed to windbg as: xxxxx@winse.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com