boot hang without xhci [updated patch]

Mike Tancsa mike at sentex.net
Fri Jul 22 14:44:01 UTC 2011


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 at 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 at 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 at 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 at sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/


More information about the freebsd-usb mailing list