Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2014 02:24:53 -0400
From:      "O'Connor, Daniel" <Daniel.O'Connor@emc.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "O'Connor, Daniel" <Daniel.O'Connor@emc.com>, =?Windows-1252?Q?Jos=E9_P=E9rez_Arauzo?= <fbl@aoek.com>, FreeBSD Current <freebsd-current@freebsd.org>, Benjamin Kaduk <kaduk@mit.edu>, Garrett Cooper <yaneurabeya@gmail.com>
Subject:   Re: What do you use for kernel debugging?
Message-ID:  <3718AED6-9514-49F9-AF11-B47CFAF01161@emc.com>
In-Reply-To: <CAJ-VmomrTiyUBr%2BpwtRjcUAanwRBDhvMr65rXFpw9nUkFFYm0A@mail.gmail.com>
References:  <20140928071641.M7664@beckpeccoz.com> <alpine.GSO.1.10.1409281553060.21571@multics.mit.edu> <20140929003358.M78145@aoek.com> <B3589A0F-AF06-4F7D-80C9-F614CFA21370@gmail.com> <542AC1C8.9030101@freebsd.org> <90CE0701-F1CB-41DF-B3D2-87816DC03DF9@emc.com> <CAJ-VmomrTiyUBr%2BpwtRjcUAanwRBDhvMr65rXFpw9nUkFFYm0A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 1 Oct 2014, at 14:33, Adrian Chadd <adrian@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-sp=
ecifications/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=3Dvs.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 :(

>=20
> -a
>=20
>=20
> On 30 September 2014 21:45, O'Connor, Daniel <Daniel.O'Connor@emc.com> wr=
ote:
>>=20
>> On 1 Oct 2014, at 0:14, Julian Elischer <julian@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).
>>=20
>> There IS a USB debug standard, Linux has some code to support it.
>>=20
>> I am not sure what percentage of hardware has it hooked up though (the h=
ost controller has a designated debug port but it could physically be anyth=
ing).
>>=20
>> http://www.coreboot.org/EHCI_Debug_Port
>>=20
>> The hardware is bit more expensive than a null modem or firewire cable t=
hough :(
>>=20
>> Regards,
>>        Daniel O=92Connor
>>=20
>> Senior Software Engineer
>> Isilon Platforms Team
>>=20
>>=20
>>=20
>> _______________________________________________
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or=
g"

Regards,
	Daniel O=92Connor

Senior Software Engineer
Isilon Platforms Team






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3718AED6-9514-49F9-AF11-B47CFAF01161>