ehci-hang on 2.6.32

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

 



Hi,


since some kernels, high speed usb hang after some random time.

Here [1] is a trace of the hang with debug enabled for ehci.

When the hang occurs a device is disconnected, and then enumerated again.
The enumeration fails and fallback to full-speed.
If new device are plugged, high speed enumeration fails and fallback to full-speed.


Any idea what could cause the failure ?
Failing hardware ?


Matthieu

[1]
[  188.366268] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[  188.366277] Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[  188.366282] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
[  188.366362] ehci_hcd 0000:00:10.3: PCI INT D -> GSI 21 (level, low) -> IRQ 21
[  188.366403] ehci_hcd 0000:00:10.3: EHCI Host Controller
[  188.366426] ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
[  188.366441] ehci_hcd 0000:00:10.3: reset hcs_params 0x3206 dbg=0 cc=3 pcc=2 ordered !ppc ports=6
[  188.366448] ehci_hcd 0000:00:10.3: reset hcc_params 6872 thresh 7 uframes 256/512/1024
[  188.366506] ehci_hcd 0000:00:10.3: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT
[  188.366515] ehci_hcd 0000:00:10.3: MWI active
[  188.366533] ehci_hcd 0000:00:10.3: irq 21, io mem 0xdffffd00
[  188.366540] ehci_hcd 0000:00:10.3: reset command 080002 (park)=0 ithresh=8 period=1024 Reset HALT
[  188.366549] ehci_hcd 0000:00:10.3: init command 010009 (park)=0 ithresh=1 period=256 RUN
[  188.376018] ehci_hcd 0000:00:10.3: USB 2.0 started, EHCI 1.00
[  188.376082] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[  188.376087] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  188.376092] usb usb1: Product: EHCI Host Controller
[  188.376096] usb usb1: Manufacturer: Linux 2.6.32-2-686 ehci_hcd
[  188.376100] usb usb1: SerialNumber: 0000:00:10.3
[  188.377515] usb usb1: configuration #1 chosen from 1 choice
[  188.377782] hub 1-0:1.0: USB hub found
[  188.377807] hub 1-0:1.0: 6 ports detected
[  188.529858] usbcore: registered new interface driver dvb_usb_af9015
[  190.816048] ehci_hcd 0000:00:10.3: suspend root hub
[  200.259000] ehci_hcd 0000:00:10.3: resume root hub
[  200.284036] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j CSC CONNECT
[  200.388056] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001002 POWER sig=se0 CSC
[  200.420023] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j CSC CONNECT
[  200.604301] ehci_hcd 0000:00:10.3: port 4 high speed
[  200.604309] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT
[  200.660026] usb 1-4: new high speed USB device using ehci_hcd and address 2
[  200.716330] ehci_hcd 0000:00:10.3: port 4 high speed
[  200.716337] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT
[  200.796542] usb 1-4: New USB device found, idVendor=07ca, idProduct=850a
[  200.796551] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  200.796555] usb 1-4: Product: A850 DVBT
[  200.796558] usb 1-4: Manufacturer: AVerMedia
[  200.796561] usb 1-4: SerialNumber: 302471600900000
[  200.796779] usb 1-4: configuration #1 chosen from 1 choice



[  229.180997] ehci_hcd 0000:00:10.3: detected XactErr len 7168/16356 retry 1
[  286.293111] ehci_hcd 0000:00:10.3: detected XactErr len 2048/16356 retry 1
[  288.944202] ehci_hcd 0000:00:10.3: detected XactErr len 3072/16356 retry 1
[  388.887337] ehci_hcd 0000:00:10.3: detected XactErr len 512/16356 retry 1
[  389.472001] ehci_hcd 0000:00:10.3: detected XactErr len 3072/16356 retry 1
[  394.203943] ehci_hcd 0000:00:10.3: detected XactErr len 10752/16356 retry 1
[  485.167470] ehci_hcd 0000:00:10.3: detected XactErr len 8704/16356 retry 1
[  489.608760] ehci_hcd 0000:00:10.3: detected XactErr len 14848/16356 retry 1
[  523.204270] ehci_hcd 0000:00:10.3: detected XactErr len 5120/16356 retry 1
[  588.801557] ehci_hcd 0000:00:10.3: detected XactErr len 15872/16356 retry 1
[  711.706667] ehci_hcd 0000:00:10.3: detected XactErr len 14848/16356 retry 1
[  787.775636] ehci_hcd 0000:00:10.3: GetStatus port 4 status 00100a POWER sig=se0 PEC CSC
[  787.775654] usb 1-4: USB disconnect, address 2
[  787.784508] af9015: bulk message failed:-22 (8/-1019085672)
[  787.784515] af9013: I2C read failed reg:d730


[  791.966298] dvb-usb: AverMedia AVerTV Volar Black HD (A850) successfully deinitialized and disconnected.
[  791.966505] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j CSC CONNECT
[  792.148129] ehci_hcd 0000:00:10.3: port 4 high speed
[  792.148140] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT
[  792.204022] usb 1-4: new high speed USB device using ehci_hcd and address 3
[  807.296122] ehci_hcd 0000:00:10.3: port 4 high speed
[  807.296133] ehci_hcd 0000:00:10.3: GetStatus port 4 status 00100f POWER sig=se0 PEC PE CSC CONNECT
[  807.296191] hub 1-0:1.0: unable to enumerate USB device on port 4
[  807.299179] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001803 POWER sig=j CSC CONNECT
[  807.480122] ehci_hcd 0000:00:10.3: port 4 high speed
[  807.480132] ehci_hcd 0000:00:10.3: GetStatus port 4 status 001005 POWER sig=se0 PE CONNECT
[  807.536033] usb 1-4: new high speed USB device using ehci_hcd and address 4
[  822.628121] ehci_hcd 0000:00:10.3: port 4 high speed
[  822.628132] ehci_hcd 0000:00:10.3: GetStatus port 4 status 00100f POWER sig=se0 PEC PE CSC CONNECT
[  822.628158] hub 1-0:1.0: unable to enumerate USB device on port 4
[  822.640024] ehci_hcd 0000:00:10.3: GetStatus port 4 status 003802 POWER OWNER sig=j CSC
[  822.884016] usb 3-2: new full speed USB device using uhci_hcd and address 2
[  823.031034] usb 3-2: not running at top speed; connect to a high speed hub
[  823.071031] usb 3-2: New USB device found, idVendor=07ca, idProduct=850a
[  823.071036] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  823.071041] usb 3-2: Product: A850 DVBT
[  823.071044] usb 3-2: Manufacturer: AVerMedia
[  823.071048] usb 3-2: SerialNumber: 302471600900000
[  823.071250] usb 3-2: configuration #1 chosen from 1 choice
<-- full speed dvb tuner

[  825.000034] ehci_hcd 0000:00:10.3: suspend root hub
[  825.004005] ehci_hcd 0000:00:10.3: force halt; handhake f7c5ed14 0000c000 00000000 -> -110


<--- plug usb key --->
[ 3159.101692] ehci_hcd 0000:00:10.3: resume root hub
[ 3159.152043] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001803 POWER sig=j CSC CONNECT
[ 3159.312109] ehci_hcd 0000:00:10.3: port 6 high speed
[ 3159.312118] ehci_hcd 0000:00:10.3: GetStatus port 6 status 001005 POWER sig=se0 PE CONNECT
[ 3159.368023] usb 1-6: new high speed USB device using ehci_hcd and address 5
[ 3174.460028] ehci_hcd 0000:00:10.3: GetStatus port 6 status 00100a POWER sig=se0 PEC CSC
[ 3174.460050] hub 1-0:1.0: unable to enumerate USB device on port 6
[ 3177.000034] ehci_hcd 0000:00:10.3: suspend root hub
[ 3177.004004] ehci_hcd 0000:00:10.3: force halt; handhake f7c5ed14 0000c000 00000000 -> -110


==============================

register

$cat /debug/usb/ehci/0000\:00\:10.3/registers bus pci, device 0000:00:10.3
EHCI Host Controller
EHCI 1.00, hcd state 4
ownership 00000001
SMI sts/enable 0xc0080000
structural params 0x00003206
capability params 0x00006872
status a008 Async Recl FLR
command 010008 (park)=0 ithresh=1 period=256 HALT
intrenable 37 IAA FATAL PCD ERR INT
uframe 3a07
port 1 status 501000 POWER sig=se0
port 2 status 501000 POWER sig=se0
port 3 status 501000 POWER sig=se0
port 4 status 503800 POWER OWNER sig=j
port 5 status 501000 POWER sig=se0
port 6 status 501000 POWER sig=se0
irq normal 125346 err 12 reclaim 1258 (lost 4)
complete 125744 unlink 27


===============

register when plugging usb key

$cat /debug/usb/ehci/0000\:00\:10.3/registers bus pci, device 0000:00:10.3
EHCI Host Controller
EHCI 1.00, hcd state 1
ownership 00000001
SMI sts/enable 0xc0080000
structural params 0x00003206
capability params 0x00006872
status a008 Async Recl FLR
command 010029 (park)=0 ithresh=1 Async period=256 RUN
intrenable 37 IAA FATAL PCD ERR INT
uframe 00fd
port 1 status 001000 POWER sig=se0
port 2 status 001000 POWER sig=se0
port 3 status 001000 POWER sig=se0
port 4 status 003800 POWER OWNER sig=j
port 5 status 00180b POWER sig=j PEC CSC CONNECT
port 6 status 001000 POWER sig=se0
irq normal 125346 err 12 reclaim 1258 (lost 4)
complete 125744 unlink 27
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

  Powered by Linux