Re: What do you use for kernel debugging?

From: O'Connor, Daniel <Daniel.O'Connor_at_emc.com>
Date: Wed, 1 Oct 2014 02:24:53 -0400
On 1 Oct 2014, at 14:33, Adrian Chadd <adrian_at_freebsd.org> wrote:
> There's also something for XHCI.

So I see..

Section 7.6 in here has details..
http://www.intel.com.au/content/dam/www/public/us/en/documents/technical-specifications/extensible-host-controler-interface-usb-xhci.pdf

Interestingly unlike the EHCI version it does not require hardware between the debugger and debugee, only a special cable. (see http://msdn.microsoft.com/en-us/library/windows/hardware/hh439372(v=vs.85).aspx)

A quick search shows the cable is pretty cheap ($15 for a short one)

> Please please write it for freebsd. :)

Not sure I have the cycles :(

> 
> -a
> 
> 
> On 30 September 2014 21:45, O'Connor, Daniel <Daniel.O'Connor_at_emc.com> wrote:
>> 
>> On 1 Oct 2014, at 0:14, Julian Elischer <julian_at_freebsd.org> wrote:
>>> Unfortunately you can't use a USB serial as it requires the USB stack
>>> be  working before it can be used..
>>> similar with ethernet connected debugging which requires that the
>>> driver for the ethernet hardware support it.
>>> (which why we don't have it in the tree though it has been done
>>> several times in the past).
>> 
>> There IS a USB debug standard, Linux has some code to support it.
>> 
>> I am not sure what percentage of hardware has it hooked up though (the host controller has a designated debug port but it could physically be anything).
>> 
>> http://www.coreboot.org/EHCI_Debug_Port
>> 
>> The hardware is bit more expensive than a null modem or firewire cable though :(
>> 
>> Regards,
>>        Daniel O’Connor
>> 
>> Senior Software Engineer
>> Isilon Platforms Team
>> 
>> 
>> 
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

Regards,
	Daniel O’Connor

Senior Software Engineer
Isilon Platforms Team
Received on Wed Oct 01 2014 - 04:25:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:52 UTC