USB 3.0 xHCI driver, devices are not detected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
I am trying the new USB 3.0 support in 2.6.34.1. I have a NEC based PCIe USB3.0 card plugged into a powerpc system (P1020EDB).
The card is detected and the driver is loaded but usb devices are not recognized. When issuing a lsusb command I get:

xhci_hcd 0000:01:00.0: Timeout while waiting for a slot
hub 2-0:1.0: couldn't allocate port 3 usb_device


The card works on a Intel PC running UBUNTU and a 2.6.3x Kernel. Does anyone have an idea how I can proceed to debug this problem?




[root@P1020RDB root]# cat /proc/bus/usb/devices 

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=??  MxCh= 4
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 3.00 Cls=09(hub  ) Sub=00 Prot=03 MxPS= 9 #Cfgs=  1
P:  Vendor=1d6b ProdID=0003 Rev= 2.06
S:  Manufacturer=Linux 2.6.34.1 xhci_hcd
S:  Product=xHCI Host Controller
S:  SerialNumber=0000:01:00.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=12ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.34.1 ehci_hcd
S:  Product=Freescale On-Chip EHCI Host Controller
S:  SerialNumber=fsl-ehci.0
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms


[root@P1020RDB root]# lspci
0000:00:00.0 PCI bridge: Freescale Semiconductor Inc Unknown device 0100 (rev 10)
0000:01:00.0 USB Controller: NEC Corporation Unknown device 0194 (rev 03)
0001:02:00.0 PCI bridge: Freescale Semiconductor Inc Unknown device 0100 (rev 10)
[root@P1020RDB root]# lsusb
Bus 002 Device 001: ID 1d6b:0003  
Bus 001 Device 001: ID 1d6b:0002
 

[root@P1020RDB root]# lsusb 
Bus 002 Device 001: ID 1d6b:0003  
Bus 001 Device 001: ID 1d6b:0002 


[root@P1020RDB root]# dmesg 
1:02:00.0:   bridge window [io  0xff7db000-0xff7eafff]
pci 0001:02:00.0:   bridge window [mem 0xc0000000-0xdfffffff]
pci 0001:02:00.0:   bridge window [mem pref disabled]
pci 0001:02:00.0: enabling device (0106 -> 0107)
pci_bus 0000:00: resource 0 [io  0xff7ed000-0xff7fcfff]
pci_bus 0000:00: resource 1 [mem 0xa0000000-0xbfffffff]
pci_bus 0000:01: resource 0 [io  0xff7ed000-0xff7fcfff]
pci_bus 0000:01: resource 1 [mem 0xa0000000-0xbfffffff]
pci_bus 0001:02: resource 0 [io  0xff7db000-0xff7eafff]
pci_bus 0001:02: resource 1 [mem 0xc0000000-0xdfffffff]
pci_bus 0001:03: resource 0 [io  0xff7db000-0xff7eafff]
pci_bus 0001:03: resource 1 [mem 0xc0000000-0xdfffffff]
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1    123 MB/s
raid6: int32x2    198 MB/s
raid6: int32x4    295 MB/s
raid6: int32x8    229 MB/s
raid6: using algorithm int32x4 (295 MB/s)
Freescale Elo / Elo Plus DMA driver
Switching to clocksource timebase
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 32 bytes, default 32
  alloc irq_desc for 42 on node 0
  alloc kstat_irqs on node 0
irq: irq 42 on host /soc@ffe00000/pic@40000 mapped to virtual irq 42
  alloc irq_desc for 20 on node 0
  alloc kstat_irqs on node 0
irq: irq 20 on host /soc@ffe00000/pic@40000 mapped to virtual irq 20
fsl-elo-dma ffe21300.dma: #0 (fsl,eloplus-dma-channel), irq 20
  alloc irq_desc for 21 on node 0
  alloc kstat_irqs on node 0
irq: irq 21 on host /soc@ffe00000/pic@40000 mapped to virtual irq 21
fsl-elo-dma ffe21300.dma: #1 (fsl,eloplus-dma-channel), irq 21
  alloc irq_desc for 22 on node 0
  alloc kstat_irqs on node 0
irq: irq 22 on host /soc@ffe00000/pic@40000 mapped to virtual irq 22
fsl-elo-dma ffe21300.dma: #2 (fsl,eloplus-dma-channel), irq 22
  alloc irq_desc for 23 on node 0
  alloc kstat_irqs on node 0
irq: irq 23 on host /soc@ffe00000/pic@40000 mapped to virtual irq 23
fsl-elo-dma ffe21300.dma: #3 (fsl,eloplus-dma-channel), irq 23
Setting up Freescale MSI support
  alloc irq_desc for 224 on node 0
  alloc kstat_irqs on node 0
irq: irq 224 on host /soc@ffe00000/pic@40000 mapped to virtual irq 224
  alloc irq_desc for 225 on node 0
  alloc kstat_irqs on node 0
irq: irq 225 on host /soc@ffe00000/pic@40000 mapped to virtual irq 225
  alloc irq_desc for 226 on node 0
  alloc kstat_irqs on node 0
irq: irq 226 on host /soc@ffe00000/pic@40000 mapped to virtual irq 226
  alloc irq_desc for 227 on node 0
  alloc kstat_irqs on node 0
irq: irq 227 on host /soc@ffe00000/pic@40000 mapped to virtual irq 227
  alloc irq_desc for 228 on node 0
  alloc kstat_irqs on node 0
irq: irq 228 on host /soc@ffe00000/pic@40000 mapped to virtual irq 228
  alloc irq_desc for 229 on node 0
  alloc kstat_irqs on node 0
irq: irq 229 on host /soc@ffe00000/pic@40000 mapped to virtual irq 229
  alloc irq_desc for 230 on node 0
  alloc kstat_irqs on node 0
irq: irq 230 on host /soc@ffe00000/pic@40000 mapped to virtual irq 230
  alloc irq_desc for 231 on node 0
  alloc kstat_irqs on node 0
irq: irq 231 on host /soc@ffe00000/pic@40000 mapped to virtual irq 231
audit: initializing netlink socket (disabled)
type=2000 audit(0.552:1): initialized
Installing knfsd (copyright (C) 1996 okir@xxxxxxxxxxxx).
Slow work thread pool: Starting up
Slow work thread pool: Ready
NTFS driver 2.1.29 [Flags: R/O].
JFFS2 version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
Allocated 267964 bytes for deflate workspace
Allocated 42284 bytes for inflate workspace
Registering JFFS2 compressor "zlib"
Registering JFFS2 compressor "rtime"
Registering JFFS2 compressor "rubinmips"
Registering JFFS2 compressor "dynrubin"
Registering JFFS2 compressor "lzo"
JFFS2: default compression mode: priority
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1001
alg: No test for stdrng (krng)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Generic non-volatile memory driver v1.1
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42) is a 16550A
console [ttyS0] enabled, bootconsole disabled
serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42) is a 16550A
brd: module loaded
loop: module loaded
nbd: registered device at major 43
st: Version 20081215, fixed bufsize 32768, s/g segs 256
ef000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
ef000000.nor: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
RedBoot partition parsing not available
Creating 5 MTD partitions on "ef000000.nor":
0x000000000000-0x000000040000 : "NOR (RO) Vitesse-7385 Firmware"
ftl_cs: FTL header not found.
0x000000040000-0x000000080000 : "NOR (RO) DTB Image"
ftl_cs: FTL header not found.
0x000000080000-0x000000400000 : "NOR (RO) Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000400000-0x000000f00000 : "NOR (RW) JFFS2 Root File System"
ftl_cs: FTL header not found.
0x000000f00000-0x000001000000 : "NOR (RO) U-Boot Image"
ftl_cs: FTL header not found.
  alloc irq_desc for 19 on node 0
  alloc kstat_irqs on node 0
irq: irq 19 on host /soc@ffe00000/pic@40000 mapped to virtual irq 19
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit)
Bad block table found at page 65504, version 0x01
Bad block table found at page 65472, version 0x01
nand_read_bbt: Bad block at 0x0000011b4000
RedBoot partition parsing not available
Creating 6 MTD partitions on "ffa00000.flash":
0x000000000000-0x000000100000 : "NAND (RO) U-Boot Image"
ftl_cs: FTL header not found.
0x000000100000-0x000000200000 : "NAND (RO) DTB Image"
ftl_cs: FTL header not found.
0x000000200000-0x000000600000 : "NAND (RO) Linux Kernel Image"
ftl_cs: FTL header not found.
0x000000600000-0x000000a00000 : "NAND (RO) Compressed RFS Image"
ftl_cs: FTL header not found.
0x000000a00000-0x000001900000 : "NAND (RW) JFFS2 Root File System"
ftl_cs: FTL header not found.
0x000001900000-0x000002000000 : "NAND (RW) Writable User area"
ftl_cs: FTL header not found.
eLBC NAND device at 0xffa00000, bank 1
Fixed MDIO Bus: probed
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k2
e1000e: Copyright (c) 1999 - 2009 Intel Corporation.
  alloc irq_desc for 29 on node 0
  alloc kstat_irqs on node 0
irq: irq 29 on host /soc@ffe00000/pic@40000 mapped to virtual irq 29
  alloc irq_desc for 30 on node 0
  alloc kstat_irqs on node 0
irq: irq 30 on host /soc@ffe00000/pic@40000 mapped to virtual irq 30
  alloc irq_desc for 34 on node 0
  alloc kstat_irqs on node 0
irq: irq 34 on host /soc@ffe00000/pic@40000 mapped to virtual irq 34
  alloc irq_desc for 17 on node 0
  alloc kstat_irqs on node 0
irq: irq 17 on host /soc@ffe00000/pic@40000 mapped to virtual irq 17
  alloc irq_desc for 18 on node 0
  alloc kstat_irqs on node 0
irq: irq 18 on host /soc@ffe00000/pic@40000 mapped to virtual irq 18
  alloc irq_desc for 24 on node 0
  alloc kstat_irqs on node 0
irq: irq 24 on host /soc@ffe00000/pic@40000 mapped to virtual irq 24
eth0: Gianfar Ethernet Controller Version 1.2, 00:04:9f:01:1f:b2
eth0: Running with NAPI enabled
eth0: RX BD ring size for Q[0]: 256
eth0: RX BD ring size for Q[1]: 256
eth0: RX BD ring size for Q[2]: 256
eth0: RX BD ring size for Q[3]: 256
eth0: RX BD ring size for Q[4]: 256
eth0: RX BD ring size for Q[5]: 256
eth0: RX BD ring size for Q[6]: 256
eth0: RX BD ring size for Q[7]: 256
eth0: TX BD ring size for Q[0]: 256
eth0: TX BD ring size for Q[1]: 256
eth0: TX BD ring size for Q[2]: 256
eth0: TX BD ring size for Q[3]: 256
eth0: TX BD ring size for Q[4]: 256
eth0: TX BD ring size for Q[5]: 256
eth0: TX BD ring size for Q[6]: 256
eth0: TX BD ring size for Q[7]: 256
  alloc irq_desc for 35 on node 0
  alloc kstat_irqs on node 0
irq: irq 35 on host /soc@ffe00000/pic@40000 mapped to virtual irq 35
  alloc irq_desc for 36 on node 0
  alloc kstat_irqs on node 0
irq: irq 36 on host /soc@ffe00000/pic@40000 mapped to virtual irq 36
  alloc irq_desc for 40 on node 0
  alloc kstat_irqs on node 0
irq: irq 40 on host /soc@ffe00000/pic@40000 mapped to virtual irq 40
  alloc irq_desc for 51 on node 0
  alloc kstat_irqs on node 0
irq: irq 51 on host /soc@ffe00000/pic@40000 mapped to virtual irq 51
  alloc irq_desc for 52 on node 0
  alloc kstat_irqs on node 0
irq: irq 52 on host /soc@ffe00000/pic@40000 mapped to virtual irq 52
  alloc irq_desc for 67 on node 0
  alloc kstat_irqs on node 0
irq: irq 67 on host /soc@ffe00000/pic@40000 mapped to virtual irq 67
eth1: Gianfar Ethernet Controller Version 1.2, 00:04:9f:01:1f:b3
eth1: Running with NAPI enabled
eth1: RX BD ring size for Q[0]: 256
eth1: RX BD ring size for Q[1]: 256
eth1: RX BD ring size for Q[2]: 256
eth1: RX BD ring size for Q[3]: 256
eth1: RX BD ring size for Q[4]: 256
eth1: RX BD ring size for Q[5]: 256
eth1: RX BD ring size for Q[6]: 256
eth1: RX BD ring size for Q[7]: 256
eth1: TX BD ring size for Q[0]: 256
eth1: TX BD ring size for Q[1]: 256
eth1: TX BD ring size for Q[2]: 256
eth1: TX BD ring size for Q[3]: 256
eth1: TX BD ring size for Q[4]: 256
eth1: TX BD ring size for Q[5]: 256
eth1: TX BD ring size for Q[6]: 256
eth1: TX BD ring size for Q[7]: 256
  alloc irq_desc for 31 on node 0
  alloc kstat_irqs on node 0
irq: irq 31 on host /soc@ffe00000/pic@40000 mapped to virtual irq 31
  alloc irq_desc for 32 on node 0
  alloc kstat_irqs on node 0
irq: irq 32 on host /soc@ffe00000/pic@40000 mapped to virtual irq 32
  alloc irq_desc for 33 on node 0
  alloc kstat_irqs on node 0
irq: irq 33 on host /soc@ffe00000/pic@40000 mapped to virtual irq 33
  alloc irq_desc for 25 on node 0
  alloc kstat_irqs on node 0
irq: irq 25 on host /soc@ffe00000/pic@40000 mapped to virtual irq 25
  alloc irq_desc for 26 on node 0
  alloc kstat_irqs on node 0
irq: irq 26 on host /soc@ffe00000/pic@40000 mapped to virtual irq 26
  alloc irq_desc for 27 on node 0
  alloc kstat_irqs on node 0
irq: irq 27 on host /soc@ffe00000/pic@40000 mapped to virtual irq 27
eth2: Gianfar Ethernet Controller Version 1.2, 00:04:9f:01:1f:b4
eth2: Running with NAPI enabled
eth2: RX BD ring size for Q[0]: 256
eth2: RX BD ring size for Q[1]: 256
eth2: RX BD ring size for Q[2]: 256
eth2: RX BD ring size for Q[3]: 256
eth2: RX BD ring size for Q[4]: 256
eth2: RX BD ring size for Q[5]: 256
eth2: RX BD ring size for Q[6]: 256
eth2: RX BD ring size for Q[7]: 256
eth2: TX BD ring size for Q[0]: 256
eth2: TX BD ring size for Q[1]: 256
eth2: TX BD ring size for Q[2]: 256
eth2: TX BD ring size for Q[3]: 256
eth2: TX BD ring size for Q[4]: 256
eth2: TX BD ring size for Q[5]: 256
eth2: TX BD ring size for Q[6]: 256
eth2: TX BD ring size for Q[7]: 256
Freescale PowerQUICC MII Bus: probed
  alloc irq_desc for 37 on node 0
  alloc kstat_irqs on node 0
irq: irq 3 on host /soc@ffe00000/pic@40000 mapped to virtual irq 37
  alloc irq_desc for 38 on node 0
  alloc kstat_irqs on node 0
irq: irq 2 on host /soc@ffe00000/pic@40000 mapped to virtual irq 38
Freescale PowerQUICC MII Bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 28, io base 0xffe22000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci_hcd 0000:01:00.0: xHCI Host Controller
xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
xhci_hcd 0000:01:00.0: irq 16, io mem 0xa0000000
usb usb2: config 1 interface 0 altsetting 0 endpoint 0x81 has no SuperSpeed companion descriptor
xHCI xhci_add_endpoint called for root hub
xHCI xhci_check_bandwidth called for root hub
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
  alloc irq_desc for 43 on node 0
  alloc kstat_irqs on node 0
irq: irq 43 on host /soc@ffe00000/pic@40000 mapped to virtual irq 43
rtc-ds1307 0-0068: rtc core: registered ds1339 as rtc0
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
  alloc irq_desc for 45 on node 0
  alloc kstat_irqs on node 0
irq: irq 45 on host /soc@ffe00000/pic@40000 mapped to virtual irq 45
talitos ffe30000.crypto: hwrng
alg: No test for authenc(hmac(sha1),cbc(aes)) (authenc-hmac-sha1-cbc-aes-talitos)
talitos ffe30000.crypto: authenc-hmac-sha1-cbc-aes-talitos
alg: No test for authenc(hmac(sha1),cbc(des3_ede)) (authenc-hmac-sha1-cbc-3des-talitos)
talitos ffe30000.crypto: authenc-hmac-sha1-cbc-3des-talitos
alg: No test for authenc(hmac(sha256),cbc(aes)) (authenc-hmac-sha256-cbc-aes-talitos)
talitos ffe30000.crypto: authenc-hmac-sha256-cbc-aes-talitos
alg: No test for authenc(hmac(sha256),cbc(des3_ede)) (authenc-hmac-sha256-cbc-3des-talitos)
talitos ffe30000.crypto: authenc-hmac-sha256-cbc-3des-talitos
alg: No test for authenc(hmac(md5),cbc(aes)) (authenc-hmac-md5-cbc-aes-talitos)
talitos ffe30000.crypto: authenc-hmac-md5-cbc-aes-talitos
alg: No test for authenc(hmac(md5),cbc(des3_ede)) (authenc-hmac-md5-cbc-3des-talitos)
talitos ffe30000.crypto: authenc-hmac-md5-cbc-3des-talitos
talitos ffe30000.crypto: cbc-aes-talitos
talitos ffe30000.crypto: cbc-3des-talitos
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
802.1Q VLAN Support v1.8 Ben Greear <greearb@xxxxxxxxxxxxxxx>
All bugs added by David S. Miller <davem@xxxxxxxxxx>
rtc-ds1307 0-0068: setting system clock to 2009-07-17 09:08:22 UTC (1247821702)
ADDRCONF(NETDEV_UP): eth0: link is not ready
IP-Config: Guessing netmask 255.0.0.0
IP-Config: Complete:
     device=eth0, addr=10.1.1.100, mask=255.0.0.0, gw=255.255.255.255,
     host=P1020RDB, domain=, nis-domain=(none),
     bootserver=10.1.1.1, rootserver=10.1.1.1, rootpath=
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
Looking up port of RPC 100003/2 on 10.1.1.1
PHY: 0:01 - Link is Up - 1000/Full
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Looking up port of RPC 100005/1 on 10.1.1.1
VFS: Mounted root (nfs filesystem) on device 0:12.
Freeing unused kernel memory: 240k init
eth0: no IPv6 routers present
xhci_hcd 0000:01:00.0: Timeout while waiting for a slot
hub 2-0:1.0: couldn't allocate port 3 usb_device

��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux