From owner-freebsd-current@FreeBSD.ORG Wed Oct 1 06:25:15 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 709B55D7; Wed, 1 Oct 2014 06:25:15 +0000 (UTC) Received: from mailuogwdur.emc.com (mailuogwdur.emc.com [128.221.224.79]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mailuogwprd51.lss.emc.com", Issuer "RSA Corporate Server CA v2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1AB9DC75; Wed, 1 Oct 2014 06:25:14 +0000 (UTC) Received: from maildlpprd55.lss.emc.com (maildlpprd55.lss.emc.com [10.106.48.159]) by mailuogwprd52.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id s916P5pZ016077 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Oct 2014 02:25:05 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd52.lss.emc.com s916P5pZ016077 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=emc.com; s=jan2013; t=1412144706; bh=JES/pB8CdpAHwyy2QSnS6MnNbz4=; h=From:To:CC:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=lu0F/CmhVhL1yY/VC8q7x+D5lhTZZTX2xxjYpPimyL2LDzYf+NKfcJ8yhBgSFRcY7 q6iMRmEHPNHmQJZ5LyjZ1UBJolH3C+u7d4tghiUYKelu4ecmibDyNsF18PFqEHc2wQ 44SMEmFTgs+U0o46OVt/21L1ZbeZ8LcFThAFWyMI= X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd52.lss.emc.com s916P5pZ016077 Received: from mailusrhubprd52.lss.emc.com (mailusrhubprd52.lss.emc.com [10.106.48.25]) by maildlpprd55.lss.emc.com (RSA Interceptor); Wed, 1 Oct 2014 02:24:44 -0400 Received: from mxhub36.corp.emc.com (mxhub36.corp.emc.com [10.254.93.84]) by mailusrhubprd52.lss.emc.com (Sentrion-MTA-4.3.0/Sentrion-MTA-4.3.0) with ESMTP id s916Ot13017415 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 1 Oct 2014 02:24:55 -0400 Received: from mx34a.corp.emc.com ([169.254.1.46]) by mxhub36.corp.emc.com ([::1]) with mapi; Wed, 1 Oct 2014 02:24:54 -0400 From: "O'Connor, Daniel" To: Adrian Chadd Date: Wed, 1 Oct 2014 02:24:53 -0400 Subject: Re: What do you use for kernel debugging? Thread-Topic: What do you use for kernel debugging? Thread-Index: Ac/dQGnUMFw7GxaATdyBGcT7UFJmAg== Message-ID: <3718AED6-9514-49F9-AF11-B47CFAF01161@emc.com> References: <20140928071641.M7664@beckpeccoz.com> <20140929003358.M78145@aoek.com> <542AC1C8.9030101@freebsd.org> <90CE0701-F1CB-41DF-B3D2-87816DC03DF9@emc.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Sentrion-Hostname: mailusrhubprd52.lss.emc.com X-RSA-Classifications: public X-Mailman-Approved-At: Wed, 01 Oct 2014 11:05:46 +0000 Cc: "O'Connor, Daniel" , =?Windows-1252?Q?Jos=E9_P=E9rez_Arauzo?= , FreeBSD Current , Benjamin Kaduk , Garrett Cooper X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Oct 2014 06:25:15 -0000 On 1 Oct 2014, at 14:33, Adrian Chadd 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 wr= ote: >>=20 >> On 1 Oct 2014, at 0:14, Julian Elischer 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