Issues in setting up USB 3.0 debugging

Hi,

I have been trying to setup USB 3.0 debugging on my machine for kernel
debugging, but no matter what I do the connection is not made.

I followed the steps given on this link for setting up USB 3.0 debugging:-

http://msdn.microsoft.com/en-us/library/windows/hardware/hh439372(v=vs.85).aspx

but that also didn’t help, I bought the USB3.0 debug cables using the
following link:-

http://www.datapro.net/products/usb-3-0-super-speed-a-a-debugging-cable.html

*the host machine is :-*
HP elitebook 2570p

*and the test machine is :-*
HP Elitebook 8460p

both running Windows 7 Enterprise OS.

Can Any body know the issue behind setting up USB3.0 debugging or someting
else also needs to be done apart from what is mentioned on the link above.

Thanks,
Mansi

Well, this is probably not what you’re looking to hear, but if you can use
any transport other than USB, I’d recommend that you do that.

I can’t say that I’ve tried with USB 3.0, but out of maybe attempts on 7
machines, I’ve gotten usb kd working once, and all those machines should
have in theory supported it, as best as I was able to determine. That is,
the debug port was wired, accessible and unused.

Good luck,

mm

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of mansi gupta
Sent: Tuesday, June 11, 2013 1:11 AM
To: Kernel Debugging Interest List
Subject: [windbg] Issues in setting up USB 3.0 debugging

Hi,

I have been trying to setup USB 3.0 debugging on my machine for kernel
debugging, but no matter what I do the connection is not made.

I followed the steps given on this link for setting up USB 3.0 debugging:-

http://msdn.microsoft.com/en-us/library/windows/hardware/hh439372(v=vs.85%
29.aspx

but that also didn’t help, I bought the USB3.0 debug cables using the
following link:-

http://www.datapro.net/products/usb-3-0-super-speed-a-a-debugging-cable.html

the host machine is :-

HP elitebook 2570p

and the test machine is :-

HP Elitebook 8460p

both running Windows 7 Enterprise OS.

Can Any body know the issue behind setting up USB3.0 debugging or someting
else also needs to be done apart from what is mentioned on the link above.

Thanks,

Mansi

— WINDBG is sponsored by OSR OSR is hiring!! Info at
http://www.osr.com/careers 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

I don’t believe Windows 7 target machines support USB 3 debugging, that’s a Windows 8 feature. Windows 7 has no Microsoft supplied USB 3 support of any kind, so am not even sure a Win 7 system can be used for the debugger machine.

In Win 7, the only supported transports were serial, 1394, and USB 2. I don’t know anybody who has been successful at getting USB 2 debugging to work reliably on typical systems. With much fooling around, I have seen USB 2 debugging work for 10 minutes before locking up. Ethernet debugging is also a Win 8 feature.

A quick search says the HP Elitebook 8460p has an ExpressCard slot, so I would suggest you try debugging with a 1394 ExpressCard. The HP elitebook 2570p also supports ExpressCard. You can easily find 1394 ExpressCards and cables, they are like $35. The LSI 1394 is my current preferred 1394 chipset, but have no idea if any of the ExpressCards use that chip. Many other 1394 chips work too, they just are not as fast for memory above 4GB.

Jan

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of mansi gupta
Sent: Tuesday, June 11, 2013 1:11 AM
To: Kernel Debugging Interest List
Subject: [windbg] Issues in setting up USB 3.0 debugging

Hi,
I have been trying to setup USB 3.0 debugging on my machine for kernel debugging, but no matter what I do the connection is not made.
I followed the steps given on this link for setting up USB 3.0 debugging:-

http://msdn.microsoft.com/en-us/library/windows/hardware/hh439372(v=vs.85).aspx
but that also didn’t help, I bought the USB3.0 debug cables using the following link:-

http://www.datapro.net/products/usb-3-0-super-speed-a-a-debugging-cable.html
the host machine is :-
HP elitebook 2570p
and the test machine is :-
HP Elitebook 8460p
both running Windows 7 Enterprise OS.
Can Any body know the issue behind setting up USB3.0 debugging or someting else also needs to be done apart from what is mentioned on the link above.
Thanks,
Mansi

— WINDBG is sponsored by OSR OSR is hiring!! Info at http://www.osr.com/careers 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

Jan is correct.

To use USB3 debugging, you must be running Windows 8 or Windows Server 2012 or later on BOTH the target and host machines. You also MUST have an XHCI controller WITH debug register support in the target machine. Otherwise, USB3 debugging will not work. The vast majority of in box USB3 controllers even on machine that shipped with Windows 8, do NOT have the debug register support that is required for USB3 debugging to work. You can use usbview.exe that ships in the debugger package in the Windows 8 WDK to determine if an XHCI controller has debug support.

For the next release of Windows, most machines will ship with XHCI controllers that DO have XHCI debug registers. (Few if any exceptions are likely to be granted to the Windows Logo requirement that all XHCI controllers have debug register support.)

Jan gave you good advice about 1394 as well. I suggest you follow it. There isn’t a better kernel debugging solution for Windows 7 than 1394.

Joe.

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Jan Bottorff
Sent: Tuesday, June 11, 2013 4:55 AM
To: Kernel Debugging Interest List
Subject: RE: [windbg] Issues in setting up USB 3.0 debugging

I don’t believe Windows 7 target machines support USB 3 debugging, that’s a Windows 8 feature. Windows 7 has no Microsoft supplied USB 3 support of any kind, so am not even sure a Win 7 system can be used for the debugger machine.

In Win 7, the only supported transports were serial, 1394, and USB 2. I don’t know anybody who has been successful at getting USB 2 debugging to work reliably on typical systems. With much fooling around, I have seen USB 2 debugging work for 10 minutes before locking up. Ethernet debugging is also a Win 8 feature.

A quick search says the HP Elitebook 8460p has an ExpressCard slot, so I would suggest you try debugging with a 1394 ExpressCard. The HP elitebook 2570p also supports ExpressCard. You can easily find 1394 ExpressCards and cables, they are like $35. The LSI 1394 is my current preferred 1394 chipset, but have no idea if any of the ExpressCards use that chip. Many other 1394 chips work too, they just are not as fast for memory above 4GB.

Jan

From: xxxxx@lists.osr.commailto:xxxxx [mailto:xxxxx@lists.osr.com] On Behalf Of mansi gupta
Sent: Tuesday, June 11, 2013 1:11 AM
To: Kernel Debugging Interest List
Subject: [windbg] Issues in setting up USB 3.0 debugging

Hi,
I have been trying to setup USB 3.0 debugging on my machine for kernel debugging, but no matter what I do the connection is not made.
I followed the steps given on this link for setting up USB 3.0 debugging:-

http://msdn.microsoft.com/en-us/library/windows/hardware/hh439372(v=vs.85).aspx
but that also didn’t help, I bought the USB3.0 debug cables using the following link:-

http://www.datapro.net/products/usb-3-0-super-speed-a-a-debugging-cable.html
the host machine is :-
HP elitebook 2570p
and the test machine is :-
HP Elitebook 8460p
both running Windows 7 Enterprise OS.
Can Any body know the issue behind setting up USB3.0 debugging or someting else also needs to be done apart from what is mentioned on the link above.
Thanks,
Mansi

— WINDBG is sponsored by OSR OSR is hiring!! Info at http://www.osr.com/careers 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

OSR is hiring!! Info at http://www.osr.com/careers

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</mailto:xxxxx>

>The vast majority of in box USB3 controllers even on machine that shipped with Windows 8, do NOT have the debug register support that is required for USB3 >debugging to work.

Bummer, I had an apparently mistaken belief debug register support was required in a USB 3 controller.

I’m curious if Thunderbolt is a viable debugging interface. I see Apple sells Thunderbolt to 1394 adapters for $30, and there are now some x86 systems with Thunderbolt support (like for example some ASUS motherboards and some Intel NUCs). I assume the Apple cable just has a PCIe to 1394 controller chip behind a Thunderbolt to PCIe bridge chip.

I’m curious if Thunderbolt takes special initialization or if it just looks like a normal PCIe bridge to the OS, and devices enumerate like normal PCIe devices, and 1394 over the Thunderbolt 1394 cable would just work.

Jan