From owner-freebsd-usb@FreeBSD.ORG Fri Jul 22 14:44:01 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55CDF106564A for ; Fri, 22 Jul 2011 14:44:01 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 19FD68FC08 for ; Fri, 22 Jul 2011 14:44:01 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p6MEhroi050831; Fri, 22 Jul 2011 10:43:53 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4E298CA7.7030808@sentex.net> Date: Fri, 22 Jul 2011 10:43:51 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Hans Petter Selasky References: <201107221022.09811.hselasky@c2i.net> In-Reply-To: <201107221022.09811.hselasky@c2i.net> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-usb@freebsd.org Subject: Re: boot hang without xhci [updated patch] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 14:44:01 -0000 On 7/22/2011 4:22 AM, Hans Petter Selasky wrote: > > Please try the attached patch for /sys/dev/pci: Looks good! Its able to boot up with and without xhci loaded. 0(ich10)# patch < p Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |=== pci.c |================================================================== |--- pci.c (revision 224243) |+++ pci.c (local) -------------------------- Patching file pci.c using Plan A... Hunk #1 succeeded at 62. Hunk #2 succeeded at 2782 (offset -175 lines). Hunk #3 succeeded at 2890 (offset -175 lines). Hmm... Ignoring the trailing garbage. done 0(ich10)# none3@pci0:0:31:3: class=0x0c0500 card=0x20088086 chip=0x1c228086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' class = serial bus subclass = SMBus bar [10] = type Memory, range 64, base 0xfe624000, size 256, enabled bar [20] = type I/O Port, range 32, base 0xf040, size 32, enabled none4@pci0:2:0:0: class=0x0c0330 card=0x20088086 chip=0x01941033 rev=0x03 hdr=0x00 vendor = 'NEC Electronics Hong Kong' class = serial bus subclass = USB cap 01[50] = powerspec 3 supports D0 D3 current D0 cap 05[70] = MSI supports 8 messages, 64 bit cap 11[90] = MSI-X supports 8 messages in map 0x10 cap 10[a0] = PCI-Express 2 endpoint max data 128(128) link x1(x1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 ffffffffffffffff ecap 0018[150] = unknown 1 I can do a kldload post boot of xhci as well as boot with it loaded at boot time from /boot/loader.conf. xhci0@pci0:2:0:0: class=0x0c0330 card=0x20088086 chip=0x01941033 rev=0x03 hdr=0x00 vendor = 'NEC Electronics Hong Kong' class = serial bus subclass = USB cap 01[50] = powerspec 3 supports D0 D3 current D0 cap 05[70] = MSI supports 8 messages, 64 bit cap 11[90] = MSI-X supports 8 messages in map 0x10 cap 10[a0] = PCI-Express 2 endpoint max data 128(128) link x1(x1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 ffffffffffffffff ecap 0018[150] = unknown 1 ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/