From owner-freebsd-current@FreeBSD.ORG Sun Oct 5 20:43:46 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 0F32F5A2; Sun, 5 Oct 2014 20:43:46 +0000 (UTC) Received: from srv56-45.cdn.bestreaming.com (srv56-46.cdn.bestreaming.com [204.140.16.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64F408B5; Sun, 5 Oct 2014 20:43:44 +0000 (UTC) Received: from mail.yourbox.net (localhost [127.0.0.1]) by srv56-45.cdn.bestreaming.com (8.14.5/8.14.5) with ESMTP id s95KhbHR006649; Sun, 5 Oct 2014 20:43:37 GMT (envelope-from fbl@aoek.com) From: "=?UTF-8?Q?Jos=C3=A9_P=C3=A9rez_Arauz?=o" To: "O'Connor, Daniel" Subject: Re: What do you use for kernel debugging? Date: Sun, 5 Oct 2014 22:43:32 +0200 Message-Id: <20141005203835.M90419@aoek.com> In-Reply-To: <18C885A5-5162-4868-8A1A-DDBC7A92CCF5@emc.com> References: <20140928071641.M7664@beckpeccoz.com> <20140929003358.M78145@aoek.com> <542AC1C8.9030101@freebsd.org> <90CE0701-F1CB-41DF-B3D2-87816DC03DF9@emc.com> <3718AED6-9514-49F9-AF11-B47CFAF01161@emc.com> <18C885A5-5162-4868-8A1A-DDBC7A92CCF5@emc.com> X-Mailer: OpenWebMail 2.53 X-OriginatingIP: 213.37.0.220 (ame) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Cc: Adrian Chadd , 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: Sun, 05 Oct 2014 20:43:46 -0000 Hi Daniel, On Thu, 2 Oct 2014 20:50:30 -0400, O'Connor, Daniel wrote [...] > I wrote a quick program to dump xHCI extended capabilities https://gist.github.com/DanielO/c42819ae69a1f680039a Cool! > Run pciconf -lb and look for the base value for xhciX then run the > command with that like so.. HCCPARAMS1 => 0x014040c3 xECP (0xf0948500) => ID 1 (Legacy support) Specific 0x0100 xECP (0xf0948504) => ID 0 (Reserved (0)) Specific 0xe000 xECP (0xf0948524) => ID 85 (Reserved (85)) Specific 0x2042 That's with AMD: xhci0: mem 0xf0948000-0xf0949fff irq 18 at device 16.0 on pci0 usbus0: waiting for BIOS to give up control xhci0: 32 byte context size. usbus0 on xhci0 xhci0@pci0:0:16:0: class=0x0c0330 card=0x080d1025 chip=0x78141022 rev=0x01 hdr=0x00 vendor = 'Advanced Micro Devices [AMD]' class = serial bus subclass = USB BR, -- José Pérez Arauzo