MUSB regression in linux next at least for pandboard
Quoted 24 lines · Felipe Balbi
Hi,
Quoted 11 lines · Tony Lindgren
Hi Felipe & Kishon,
Looks like musb is broken at least on pandaboard es in current linux next while it works with v3.6:
[ 1.933074] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 1.939422] unable to find transceiver of type USB2 PHYrouping on. Total pages: 251648 [ 1.945190] HS USB OTG: no transceiver configured [ 1.950134] musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19 [ 1.958160] couldn't find an available UDCQuoted 6 lines
I do have
CONFIG_OMAP_USB2set.Note that we won't be able to flip omap4 over to be device tree only probably until v3.9 because of the bindings we're still missing from usability point of view. So this regression should be fixed.
I see. Kishon, can you cook a patch adding
platform_datauntil we actually move to DT-only for OMAP4 ?
Quoted 7 lines
Quoted 5 lines
Also on the EHCI port, I've seen issues where unplugging the cable hangs kernel with an infinite loop. But that happens only occasionally, sorry does not seem to happen right now so no output to paste here. Or maybe this issue has already been fixed?
Keshava, would you have time to look into this for this -rc cycle ?
Also, can you guys also please do a patch to move plat/usb.h to include/linux/platform_data/usb-omap.h that only contains platform data? The init functions should be in local usb.h under arch/arm/*omap*/*. Then also please remove the cpu_is_omap usage from drivers/mfd/omap-usb-host.c if not done already.
These are needed to make plat/cpu.h local to mach-omap* for the ARM common zImage support.
Thanks,
Tony
Hi,
Quoted 17 lines · Tony Lindgren
Quoted 16 lines · Felipe Balbi
Hi,
Quoted 13 lines · Tony Lindgren
Hi Felipe & Kishon,
Looks like musb is broken at least on pandaboard es in current linux next while it works with v3.6:
[ 1.933074] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host) [ 1.939422] unable to find transceiver of type USB2 PHYrouping on. Total pages: 251648 [ 1.945190] HS USB OTG: no transceiver configured [ 1.950134] musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19 [ 1.958160] couldn't find an available UDCI do have
CONFIG_OMAP_USB2set.
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Note that we won't be able to flip omap4 over to be device tree only probably until v3.9 because of the bindings we're still missing from usability point of view. So this regression should be fixed.
I see. Kishon, can you cook a patch adding
platform_datauntil we actually move to DT-only for OMAP4 ?
Sure.
Thanks
Kishon
Quoted 6 lines · Tony Lindgren
Quoted 6 lines
Quoted 6 lines
Also on the EHCI port, I've seen issues where unplugging the cable hangs kernel with an infinite loop. But that happens only occasionally, sorry does not seem to happen right now so no output to paste here. Or maybe this issue has already been fixed?
Looks like the system eventually recovers from the EHCI issue after about fivew minutes or so of spamming the logs. It seems the ehci-omap errors are:
[62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 schedule
More data below.
Regards,
Tony
...
[62927.200012] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62927.215606] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62927.220092] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62927.225738] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62927.232238] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62927.236633] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.241119] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62927.251098] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.258605] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62927.264343] usb 1-1.3.7.5: link qh8-0e01/ea5632c0 start 6 [1/2 us] [62927.274353] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62927.276092] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62927.280700] usb 1-1.3.7: clear tt 4 (0120) error -71 [62927.289245] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62927.292633] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62927.296356] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62927.302368] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62927.307098] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62927.308258] hid-generic 0003:047D:1020.000C: can't reset device, ehci-omap.0-1.3.7.4/input0, status -1 [62927.317230] usb 1-1.3.7: clear tt buffer port 5, a26 ep0 t00080248 [62927.322357] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.324981] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62927.330718] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62927.336364] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62927.348114] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62927.349090] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62927.356475] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62927.368469] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62927.372253] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.616607] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.622863] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62926.627746] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.628112] ehci-omap ehci-omap.0: devpath 1.3.7.4 ep0out 3strikes [62926.639404] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62926.643737] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.651123] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62926.655609] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62926.660125] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.667480] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62926.669982] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 [62926.680603] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62926.686126] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62926.693237] usb 1-1.3.7: clear tt buffer port 5, a26 ep0 t00080248 [62926.694091] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62926.706359] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.709350] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62926.712554] usb 1-1.3.7: clear tt 4 (0120) error -71 [62926.714599] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62926.720855] ehci-omap ehci-omap.0: devpath 1.3.7.5 ep0out 3strikes [62926.729248] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.732238] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.736358] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62926.742736] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62926.755615] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62926.756744] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.763610] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.769226] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.780609] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.782745] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.789978] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62926.801605] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62926.804626] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.809844] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62926.815734] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.828979] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62926.829101] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62926.840118] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62926.851745] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62926.855987] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62926.863220] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62926.876251] ehci-omap ehci-omap.0: devpath 1.3.7.4 ep0out 3strikes [62926.876403] hid-generic 0003:047D:1020.000C: can't reset device, ehci-omap.0-1.3.7.4/input0, status -1 [62926.897125] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62926.903747] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62926.920989] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6
...
After waiting for several minutes, it stops, and dmesg shows:
# dmesg | grep -i omap [62934.193389] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62934.193542] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62934.193664] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62934.193786] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62934.194030] ehci-omap ehci-omap.0: reused qh ed0fbdc0 schedule [62934.194122] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62934.194274] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62934.194396] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 [62934.194519] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62934.194641] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62934.194793] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62934.194915] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62934.195037] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62934.195159] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62934.195281] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62934.195404] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62934.195526] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62934.195648] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62934.195770] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62934.195892] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62934.196014] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 [62934.196166] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62934.196289] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 [62934.196411] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62934.196533] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62934.196655] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62934.196777] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62934.196899] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62934.197021] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62934.197143] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 [62934.197265] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.197418] ehci-omap ehci-omap.0: devpath 1.3.7.5 ep0out 3strikes 1.3.7.5/input0, status -71 [62934.197784] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 [62934.197906] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62934.198028] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62934.198150] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62934.198272] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62934.198394] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62934.198516] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62934.198638] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 [62934.198791] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62934.198913] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62934.199035] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62934.199157] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62934.199279] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62934.199401] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62934.199523] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62934.199645] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62934.199768] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62934.199890] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62934.200042] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62934.200042] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 1 [62934.200164] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62934.200164] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 2 [62934.200286] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 [62934.200286] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 3 [62934.200408] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62934.200531] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 [62934.200653] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62934.200775] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62934.200897] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62934.201019] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62934.201141] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62934.201263] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62934.201416] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 [62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 schedule ...
Hi Tony,
Quoted 12 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 6 lines
Quoted 6 lines
Also on the EHCI port, I've seen issues where unplugging the cable hangs kernel with an infinite loop. But that happens only occasionally, sorry does not seem to happen right now so no output to paste here. Or maybe this issue has already been fixed?
Looks like the system eventually recovers from the EHCI issue after about fivew minutes or so of spamming the logs. It seems the ehci-omap errors are:
Quoted 6 lines
[62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 scheduleMore data below.
Is this issue fixed ?
Actually we too are getting very similar issue with samsung exynos5250 hardware. With latest 'usb-next' kernel and supporting arch patches, when i use following test scenerio:
Connect a USB 2.0 external hub to USB 2.0 port, and connect mice or keyboard enumeration and
functionality is fine but once disconnecting the HID we get to see the error log:
hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71
When i tried to enable CONFIG_USB_DEBUG, get the following log:
hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008
hub 1-1:1.0: port 3, status 0301, change 0001, 1.5 Mb/s hub 1-1:1.0: debounce: port 3: total 100ms stable 100ms status 0x301 usb 1-1.3: new low-speed USB device number 5 using s5p-ehci usb 1-1.3: skipped 1 descriptor after interface
usb 1-1.3: default language 0x0409
usb 1-1.3: udev 5, busnum 1, minor = 4
usb 1-1.3: New USB device found, idVendor=04b3, idProduct=3025 usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 1-1.3: Product: USB NetVista Full Width Keyboard
usb 1-1.3: Manufacturer: CHICONY
usb 1-1.3: usb_probe_device
usb 1-1.3: configuration #1 chosen from 1 choice
usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0) usbhid 1-1.3:1.0: usb_probe_interface
usbhid 1-1.3:1.0: usb_probe_interface - got id
input: CHICONY USB NetVista Full Width Keyboard as /devices/s5p-ehci/usb1/1-1/1-1.3/1-1.3:1.0/input/input1 usb 1-1.3: link qh8-0e01/c193f140 start 2 [1/2 us] hid-generic 0003:04B3:3025.0002: input: USB HID v1.10 Keyboard [CHICONY USB NetVista Full Width Keyboard] on usb-s5p-ehci-1.3/input0 hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008
s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 1 usb 1-1.3: unlink qh8-0e01/c193f140 start 2 [1/2 us] s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 1 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 2 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 3 hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 4 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 5 hub 1-1:1.0: port 3, status 0100, change 0001, 12 Mb/s s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 6 usb 1-1.3: USB disconnect, device number 5 usb 1-1.3: unregistering device
usb 1-1.3: unregistering interface 1-1.3:1.0 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 7 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 8 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 9 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 10 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 11 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 12 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 13 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 14 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 15 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 16 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 17 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 18 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 19 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 20 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 21 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 22 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 23 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 24 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 25 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 26 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 27 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 28 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 29 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 30 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 31 s5p-ehci s5p-ehci: devpath 1.3 ep0out 3strikes usb 1-1: clear tt buffer port 3, a5 ep0 t00080248 hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71
Similar log as you get on ehci-omap ;-)
Sorry i might have missed some information to put here.
Your help will be very much useful.
Thanks in advance :-)
Quoted 152 lines
...
[62927.200012] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62927.215606] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62927.220092] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62927.225738] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62927.232238] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62927.236633] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.241119] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62927.251098] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.258605] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62927.264343] usb 1-1.3.7.5: link qh8-0e01/ea5632c0 start 6 [1/2 us] [62927.274353] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62927.276092] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62927.280700] usb 1-1.3.7: clear tt 4 (0120) error -71 [62927.289245] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62927.292633] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62927.296356] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62927.302368] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62927.307098] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62927.308258] hid-generic 0003:047D:1020.000C: can't reset device, ehci-omap.0-1.3.7.4/input0, status -1 [62927.317230] usb 1-1.3.7: clear tt buffer port 5, a26 ep0 t00080248 [62927.322357] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.324981] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62927.330718] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62927.336364] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62927.348114] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62927.349090] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62927.356475] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62927.368469] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62927.372253] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.616607] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.622863] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62926.627746] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.628112] ehci-omap ehci-omap.0: devpath 1.3.7.4 ep0out 3strikes [62926.639404] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62926.643737] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.651123] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62926.655609] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62926.660125] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.667480] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62926.669982] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 [62926.680603] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62926.686126] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62926.693237] usb 1-1.3.7: clear tt buffer port 5, a26 ep0 t00080248 [62926.694091] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62926.706359] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.709350] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62926.712554] usb 1-1.3.7: clear tt 4 (0120) error -71 [62926.714599] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62926.720855] ehci-omap ehci-omap.0: devpath 1.3.7.5 ep0out 3strikes [62926.729248] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.732238] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.736358] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62926.742736] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62926.755615] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62926.756744] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.763610] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.769226] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.780609] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.782745] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.789978] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62926.801605] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62926.804626] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.809844] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62926.815734] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.828979] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62926.829101] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62926.840118] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62926.851745] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62926.855987] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62926.863220] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62926.876251] ehci-omap ehci-omap.0: devpath 1.3.7.4 ep0out 3strikes [62926.876403] hid-generic 0003:047D:1020.000C: can't reset device, ehci-omap.0-1.3.7.4/input0, status -1 [62926.897125] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62926.903747] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62926.920989] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6...
After waiting for several minutes, it stops, and dmesg shows:
# dmesg | grep -i omap [62934.193389] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62934.193542] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62934.193664] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62934.193786] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62934.194030] ehci-omap ehci-omap.0: reused qh ed0fbdc0 schedule [62934.194122] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62934.194274] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62934.194396] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 [62934.194519] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62934.194641] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62934.194793] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62934.194915] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62934.195037] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62934.195159] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62934.195281] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62934.195404] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62934.195526] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62934.195648] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62934.195770] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62934.195892] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62934.196014] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 [62934.196166] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62934.196289] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 [62934.196411] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62934.196533] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62934.196655] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62934.196777] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62934.196899] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62934.197021] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62934.197143] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 [62934.197265] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.197418] ehci-omap ehci-omap.0: devpath 1.3.7.5 ep0out 3strikes 1.3.7.5/input0, status -71 [62934.197784] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 [62934.197906] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62934.198028] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62934.198150] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62934.198272] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62934.198394] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62934.198516] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62934.198638] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 [62934.198791] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62934.198913] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62934.199035] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62934.199157] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62934.199279] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62934.199401] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62934.199523] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62934.199645] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62934.199768] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62934.199890] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62934.200042] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62934.200042] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 1 [62934.200164] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62934.200164] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 2 [62934.200286] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 [62934.200286] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 3 [62934.200408] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62934.200531] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 [62934.200653] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62934.200775] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62934.200897] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62934.201019] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62934.201141] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62934.201263] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62934.201416] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 [62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 schedule ...
Signature · 2 lines
Thanks & Regards Vivek
Hi,
Quoted 34 lines · Vivek Gautam
Hi Tony,
Quoted 12 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 6 lines
Quoted 6 lines
Also on the EHCI port, I've seen issues where unplugging the cable hangs kernel with an infinite loop. But that happens only occasionally, sorry does not seem to happen right now so no output to paste here. Or maybe this issue has already been fixed?
Looks like the system eventually recovers from the EHCI issue after about fivew minutes or so of spamming the logs. It seems the ehci-omap errors are:
Quoted 6 lines
[62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 scheduleMore data below.
Is this issue fixed ?
Actually we too are getting very similar issue with samsung exynos5250 hardware. With latest 'usb-next' kernel and supporting arch patches, when i use following test scenerio:
Connect a USB 2.0 external hub to USB 2.0 port, and connect mice or keyboard enumeration and
functionality is fine but once disconnecting the HID we get to see the error log:
hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71
Quoted 1 line
When i tried to enable
CONFIG_USB_DEBUG, get the following log:
looks like it's not OMAP-specific. Alan any tips ?
(keeping logs below)
Quoted 222 lines
hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008
hub 1-1:1.0: port 3, status 0301, change 0001, 1.5 Mb/s hub 1-1:1.0: debounce: port 3: total 100ms stable 100ms status0x301usb 1-1.3: new low-speed USB device number 5 using s5p-ehci usb 1-1.3: skipped 1 descriptor after interface
usb 1-1.3: default language0x0409
usb 1-1.3: udev 5, busnum 1, minor = 4
usb 1-1.3: New USB device found, idVendor=04b3, idProduct=3025 usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 usb 1-1.3: Product: USB NetVista Full Width Keyboard
usb 1-1.3: Manufacturer: CHICONY
usb 1-1.3:usb_probe_device
usb 1-1.3: configuration #1 chosen from 1 choice
usb 1-1.3: adding 1-1.3:1.0 (config #1, interface 0) usbhid 1-1.3:1.0:usb_probe_interface
usbhid 1-1.3:1.0:usb_probe_interface- got id
input: CHICONY USB NetVista Full Width Keyboard as /devices/s5p-ehci/usb1/1-1/1-1.3/1-1.3:1.0/input/input1 usb 1-1.3: link qh8-0e01/c193f140 start 2 [1/2 us] hid-generic 0003:04B3:3025.0002: input: USB HID v1.10 Keyboard [CHICONY USB NetVista Full Width Keyboard] on usb-s5p-ehci-1.3/input0 hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 1 usb 1-1.3: unlink qh8-0e01/c193f140 start 2 [1/2 us] s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 1 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 2 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 3 hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 4 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 5 hub 1-1:1.0: port 3, status 0100, change 0001, 12 Mb/s s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 6 usb 1-1.3: USB disconnect, device number 5 usb 1-1.3: unregistering device
usb 1-1.3: unregistering interface 1-1.3:1.0 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 7 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 8 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 9 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 10 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 11 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 12 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 13 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 14 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 15 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 16 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 17 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 18 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 19 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 20 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 21 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 22 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 23 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 24 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 25 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 26 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 27 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 28 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 29 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 30 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 31 s5p-ehci s5p-ehci: devpath 1.3 ep0out 3strikes usb 1-1: clear tt buffer port 3, a5 ep0 t00080248 hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71Similar log as you get on ehci-omap ;-)
Sorry i might have missed some information to put here.Your help will be very much useful.
Thanks in advance :-)Quoted 150 lines
...
[62927.200012] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62927.215606] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62927.220092] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62927.225738] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62927.232238] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62927.236633] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.241119] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62927.251098] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.258605] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62927.264343] usb 1-1.3.7.5: link qh8-0e01/ea5632c0 start 6 [1/2 us] [62927.274353] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62927.276092] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62927.280700] usb 1-1.3.7: clear tt 4 (0120) error -71 [62927.289245] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62927.292633] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62927.296356] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62927.302368] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62927.307098] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62927.308258] hid-generic 0003:047D:1020.000C: can't reset device, ehci-omap.0-1.3.7.4/input0, status -1 [62927.317230] usb 1-1.3.7: clear tt buffer port 5, a26 ep0 t00080248 [62927.322357] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62927.324981] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62927.330718] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62927.336364] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62927.348114] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62927.349090] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62927.356475] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62927.368469] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62927.372253] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.616607] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.622863] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62926.627746] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.628112] ehci-omap ehci-omap.0: devpath 1.3.7.4 ep0out 3strikes [62926.639404] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62926.643737] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.651123] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62926.655609] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62926.660125] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.667480] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62926.669982] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 [62926.680603] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62926.686126] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62926.693237] usb 1-1.3.7: clear tt buffer port 5, a26 ep0 t00080248 [62926.694091] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62926.706359] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.709350] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62926.712554] usb 1-1.3.7: clear tt 4 (0120) error -71 [62926.714599] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62926.720855] ehci-omap ehci-omap.0: devpath 1.3.7.5 ep0out 3strikes [62926.729248] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.732238] usb 1-1.3.7: clear tt buffer port 4, a18 ep0 t00080248 [62926.736358] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62926.742736] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62926.755615] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62926.756744] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.763610] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.769226] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62926.780609] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.782745] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.789978] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62926.801605] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62926.804626] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62926.809844] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62926.815734] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62926.828979] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62926.829101] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62926.840118] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62926.851745] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62926.855987] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62926.863220] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62926.876251] ehci-omap ehci-omap.0: devpath 1.3.7.4 ep0out 3strikes [62926.876403] hid-generic 0003:047D:1020.000C: can't reset device, ehci-omap.0-1.3.7.4/input0, status -1 [62926.897125] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62926.903747] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62926.920989] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6...
After waiting for several minutes, it stops, and dmesg shows:
# dmesg | grep -i omap [62934.193389] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62934.193542] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62934.193664] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62934.193786] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62934.194030] ehci-omap ehci-omap.0: reused qh ed0fbdc0 schedule [62934.194122] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62934.194274] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62934.194396] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 [62934.194519] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62934.194641] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62934.194793] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62934.194915] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62934.195037] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62934.195159] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62934.195281] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62934.195404] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62934.195526] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62934.195648] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62934.195770] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62934.195892] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62934.196014] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 [62934.196166] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62934.196289] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 [62934.196411] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62934.196533] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62934.196655] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62934.196777] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62934.196899] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62934.197021] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62934.197143] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 [62934.197265] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.197418] ehci-omap ehci-omap.0: devpath 1.3.7.5 ep0out 3strikes 1.3.7.5/input0, status -71 [62934.197784] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 [62934.197906] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [62934.198028] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [62934.198150] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [62934.198272] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [62934.198394] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [62934.198516] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [62934.198638] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 [62934.198791] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [62934.198913] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [62934.199035] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [62934.199157] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [62934.199279] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [62934.199401] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [62934.199523] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [62934.199645] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [62934.199768] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [62934.199890] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [62934.200042] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62934.200042] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 1 [62934.200164] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [62934.200164] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 2 [62934.200286] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 [62934.200286] ehci-omap ehci-omap.0: detected XactErr len 0/4 retry 3 [62934.200408] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62934.200531] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 [62934.200653] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [62934.200775] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62934.200897] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [62934.201019] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [62934.201141] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [62934.201263] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [62934.201416] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 [62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 schedule
Signature · 1 line
balbi
Quoted 37 lines · Felipe Balbi
Hi,
Quoted 34 lines · Vivek Gautam
Hi Tony,
Quoted 12 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 6 lines
Quoted 6 lines
Also on the EHCI port, I've seen issues where unplugging the cable hangs kernel with an infinite loop. But that happens only occasionally, sorry does not seem to happen right now so no output to paste here. Or maybe this issue has already been fixed?
Looks like the system eventually recovers from the EHCI issue after about fivew minutes or so of spamming the logs. It seems the ehci-omap errors are:
Quoted 6 lines
[62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 scheduleMore data below.
Is this issue fixed ?
Actually we too are getting very similar issue with samsung exynos5250 hardware. With latest 'usb-next' kernel and supporting arch patches, when i use following test scenerio:
Connect a USB 2.0 external hub to USB 2.0 port, and connect mice or keyboard enumeration and
functionality is fine but once disconnecting the HID we get to see the error log:
hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71
Quoted 4 lines
Quoted 1 line
When i tried to enable
CONFIG_USB_DEBUG, get the following log:looks like it's not OMAP-specific. Alan any tips ?
I can't reproduce the problem on Panda, but I can on Beagle with a slightly different behaviour.
1) connecting/disconnecting device directly to the beagleboard's USB port works fine.
2) If I connect a USB Hub to the port and connect a device to it after the hub has autosuspended, the device is never detected.
doing lsusb after that triggers the detection and produces a lot of transaction errors. Beagle log is below, before and after 'lsusb'
I suppose this doesn't affect Panda because it has a hub connected immediately below the root hub that never suspends (as ethernet is hardwired to it).
So there must be some problem in the hub drivers.
cheers,
-roger
root@beagleboard:~# [ 62.666595] usb usb1: usb wakeup-resume [ 62.670684] usb usb1: usb auto-resume [ 62.674591] ehci-omap ehci-omap.0: resume root hub [ 62.679687] hub 1-0:1.0: hub_resume [ 62.683471] ehci-omap ehci-omap.0: GetStatus port:2 status 001803 0 ACK POWER sig=j CSC CONNECT [ 62.692779] hub 1-0:1.0: port 2: status 0501 change 0001 [ 62.772460] hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000 [ 62.778533] hub 1-0:1.0: port 2, status 0501, change 0000, 480 Mb/s [ 62.849182] ehci-omap ehci-omap.0: port 2 reset complete, port enabled [ 62.856109] ehci-omap ehci-omap.0: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT [ 62.929931] usb 1-2: new high-speed USB device number 4 using ehci-omap [ 62.998352] ehci-omap ehci-omap.0: port 2 reset complete, port enabled [ 63.005279] ehci-omap ehci-omap.0: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT [ 63.107635] usb 1-2: udev 4, busnum 1, minor = 3 [ 63.112548] usb 1-2: New USB device found, idVendor=0409, idProduct=005a [ 63.119720] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 63.128936] usb 1-2: usb_probe_device [ 63.132812] usb 1-2: configuration #1 chosen from 1 choice [ 63.139160] usb 1-2: adding 1-2:1.0 (config #1, interface 0) [ 63.145629] hub 1-2:1.0: usb_probe_interface [ 63.150146] hub 1-2:1.0: usb_probe_interface - got id [ 63.155578] hub 1-2:1.0: USB hub found [ 63.200195] hub 1-2:1.0: 4 ports detected [ 63.204467] hub 1-2:1.0: standalone hub [ 63.208679] hub 1-2:1.0: ganged power switching [ 63.213470] hub 1-2:1.0: global over-current protection [ 63.219055] hub 1-2:1.0: Single TT [ 63.222747] hub 1-2:1.0: TT requires at most 16 FS bit times (1332 ns) [ 63.229644] hub 1-2:1.0: Port indicators are supported [ 63.235137] hub 1-2:1.0: power on to power good time: 0ms [ 63.242584] hub 1-2:1.0: local power source is good [ 63.247955] hub 1-2:1.0: no over-current condition exists [ 63.254852] hub 1-2:1.0: enabling power on all ports [ 63.357482] usb 1-2: link qh256-0001/cf68f6c0 start 1 [1/0 us] [ 63.364044] hub 1-2:1.0: state 7 ports 4 chg 0000 evt 0000 [ 63.370086] hub 1-2:1.0: hub_suspend [ 63.374023] usb 1-2: unlink qh256-0001/cf68f6c0 start 1 [1/0 us] [ 63.384948] usb 1-2: usb auto-suspend, wakeup 1 [ 63.410217] hub 1-0:1.0: hub_suspend [ 63.414062] usb usb1: bus auto-suspend, wakeup 1 [ 63.419036] ehci-omap ehci-omap.0: suspend root hub
root@beagleboard:~#
root@beagleboard:~# lsusb [ 80.925262] usb usb1: usb auto-resume [ 80.929351] ehci-omap ehci-omap.0: resume root hub [ 80.934539] hub 1-0:1.0: hub_resume [ 80.938323] hub 1-0:1.0: port 2: status 0507 change 0000 [ 80.945373] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000 [ 80.952026] hub 1-0:1.0: hub_suspend [ 80.956024] usb usb1: bus auto-suspend, wakeup 1 [ 80.961059] ehci-omap ehci-omap.0: suspend root hub [ 80.968414] usb usb1: usb auto-resume [ 80.980804] ehci-omap ehci-omap.0: resume root hub [ 80.985900] hub 1-0:1.0: hub_resume [ 80.989807] hub 1-0:1.0: port 2: status 0507 change 0000 [ 80.995941] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000 [ 81.001892] hub 1-0:1.0: hub_suspend [ 81.005767] usb usb1: bus auto-suspend, wakeup 1 [ 81.010650] ehci-omap ehci-omap.0: suspend root hub [ 81.017913] usb usb1: usb auto-resume [ 81.035461] ehci-omap ehci-omap.0: resume root hub [ 81.040557] hub 1-0:1.0: hub_resume [ 81.044433] hub 1-0:1.0: port 2: status 0507 change 0000 [ 81.050201] usb 1-2: usb auto-resume [ 81.054504] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0000 [ 81.091827] ehci-omap ehci-omap.0: GetStatus port:2 status 001005 0 ACK POWER sig=se0 PE CONNECT [ 81.101409] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004 [ 81.121917] usb 1-2: finish resume [ 81.125671] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 1 [ 81.132415] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 2 [ 81.139160] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 3 [ 81.145904] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 4 [ 81.152679] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 5 [ 81.159423] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 6 [ 81.166168] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 7 [ 81.172912] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 8 [ 81.179656] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 9 [ 81.186431] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 10 [ 81.193298] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 11 [ 81.200164] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 12 [ 81.207031] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 13 [ 81.213928] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 14 [ 81.220794] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 15 [ 81.227569] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 16 [ 81.234344] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 17 [ 81.241119] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 18 [ 81.247894] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [ 81.254699] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 20 [ 81.261535] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 21 [ 81.268402] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [ 81.275207] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 23 [ 81.282043] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 24 [ 81.288909] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [ 81.295806] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 26 [ 81.302673] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 27 [ 81.309539] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 28 [ 81.316406] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 29 [ 81.323303] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 30 [ 81.330169] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [ 81.336944] ehci-omap ehci-omap.0: devpath 2 ep0in 3strikes [ 81.342987] usb 1-2: retry with reset-resume [ 81.413726] ehci-omap ehci-omap.0: port 2 full speed --> companion [ 81.420288] ehci-omap ehci-omap.0: GetStatus port:2 status 003801 0 ACK POWER OWNER sig=j CONNECT [ 81.430114] hub 1-0:1.0: port_wait_reset: err = -16 [ 81.435363] hub 1-0:1.0: port 2 not enabled, trying reset again... [ 81.442382] hub 1-0:1.0: state 7 ports 3 chg 0000 evt 0004 [ 81.667083] ehci-omap ehci-omap.0: GetStatus port:2 status 00300a 0 ACK POWER OWNER sig=se0 PEC CSC [ 81.677032] hub 1-0:1.0: logical disconnect on port 2 [ 81.682403] usb 1-2: gone after usb resume? status -19 [ 81.687896] usb 1-2: can't resume, status -19 [ 81.692565] hub 1-0:1.0: logical disconnect on port 2 [ 81.698394] hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0004 [ 81.704376] ehci-omap ehci-omap.0: GetStatus port:2 status 00300a 0 ACK POWER OWNER sig=se0 PEC CSC [ 81.714172] hub 1-0:1.0: port 2, status 0100, change 0003, 12 Mb/s [ 81.720703] usb 1-2: USB disconnect, device number 4 [ 81.726043] usb 1-2: unregistering device [ 81.730346] usb 1-2: unregistering interface 1-2:1.0 [ 81.739257] usb 1-2: usb_disable_device nuking all URBs [ 81.750579] usb usb2: usb auto-resume [ 81.754699] ohci-omap3 ohci-omap3.0: resume root hub [ 81.840057] hub 2-0:1.0: hub_resume Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub root@beagleboard:~# [ 81.911682] hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100 [ 81.919647] hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0000 [ 81.925994] hub 1-0:1.0: hub_suspend [ 81.929840] usb usb1: bus auto-suspend, wakeup 1 [ 81.934814] ehci-omap ehci-omap.0: suspend root hub [ 81.940582] hub 2-0:1.0: hub_suspend [ 81.944458] usb usb2: bus auto-suspend, wakeup 1 [ 81.949401] ohci-omap3 ohci-omap3.0: suspend root hub
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi,
Quoted 48 lines · Roger Quadros
Quoted 37 lines · Felipe Balbi
Hi,
Quoted 34 lines · Vivek Gautam
Hi Tony,
Quoted 12 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 6 lines
Quoted 6 lines
Also on the EHCI port, I've seen issues where unplugging the cable hangs kernel with an infinite loop. But that happens only occasionally, sorry does not seem to happen right now so no output to paste here. Or maybe this issue has already been fixed?
Looks like the system eventually recovers from the EHCI issue after about fivew minutes or so of spamming the logs. It seems the ehci-omap errors are:
Quoted 6 lines
[62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 scheduleMore data below.
Is this issue fixed ?
Actually we too are getting very similar issue with samsung exynos5250 hardware. With latest 'usb-next' kernel and supporting arch patches, when i use following test scenerio:
Connect a USB 2.0 external hub to USB 2.0 port, and connect mice or keyboard enumeration and
functionality is fine but once disconnecting the HID we get to see the error log:
hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71Quoted 4 lines
Quoted 1 line
When i tried to enable
CONFIG_USB_DEBUG, get the following log:looks like it's not OMAP-specific. Alan any tips ?
I can't reproduce the problem on Panda, but I can on Beagle with a slightly different behaviour.
1) connecting/disconnecting device directly to the beagleboard's USB port works fine.
Quoted 7 lines
2) If I connect a USB Hub to the port and connect a device to it after the hub has autosuspended, the device is never detected.
doing lsusb after that triggers the detection and produces a lot of transaction errors. Beagle log is below, before and after 'lsusb'I suppose this doesn't affect Panda because it has a hub connected immediately below the root hub that never suspends (as ethernet is hardwired to it).
Roger, try changing hub's autosuspend delay to something greater than 30ms and see if it helps. There was a discussion lately about that.
Signature · 1 line
balbi
Quoted 10 lines · Felipe Balbi
Quoted 10 lines
I can't reproduce the problem on Panda, but I can on Beagle with a slightly different behaviour.
1) connecting/disconnecting device directly to the beagleboard's USB port works fine.
2) If I connect a USB Hub to the port and connect a device to it after the hub has autosuspended, the device is never detected.
doing lsusb after that triggers the detection and produces a lot of transaction errors. Beagle log is below, before and after 'lsusb'
Quoted 5 lines
Quoted 2 lines
I suppose this doesn't affect Panda because it has a hub connected immediately below the root hub that never suspends (as ethernet is hardwired to it).
Roger, try changing hub's autosuspend delay to something greater than 30ms and see if it helps. There was a discussion lately about that.
There also were some patches to address this problem recently merged by Greg KH (they are in Linus's current git, added after 3.8-rc6 was released):
da0aa7169b97d90f4af39a9dc84d58bbe19d7e78 USB: add usb_hcd_{start,end}_port_resume f292e7f9fb0e4bec68bbd83443407d6bb7922d36 USB: EHCI: notify usbcore about port resumes ee74290b7853db9d5fd64db70e5c175241c59fba USB: EHCI: fix timer bug affecting port resume
Alan Stern
Quoted 37 lines · Felipe Balbi
Hi,
Quoted 34 lines · Vivek Gautam
Hi Tony,
Quoted 12 lines · Tony Lindgren
Quoted 6 lines · Tony Lindgren
Quoted 6 lines
Quoted 6 lines
Also on the EHCI port, I've seen issues where unplugging the cable hangs kernel with an infinite loop. But that happens only occasionally, sorry does not seem to happen right now so no output to paste here. Or maybe this issue has already been fixed?
Looks like the system eventually recovers from the EHCI issue after about fivew minutes or so of spamming the logs. It seems the ehci-omap errors are:
Quoted 6 lines
[62934.201538] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 31 [62934.201660] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes [62934.201873] ehci-omap ehci-omap.0: reused qh ea5632c0 scheduleMore data below.
Is this issue fixed ?
Actually we too are getting very similar issue with samsung exynos5250 hardware. With latest 'usb-next' kernel and supporting arch patches, when i use following test scenerio:
Connect a USB 2.0 external hub to USB 2.0 port, and connect mice or keyboard enumeration and
functionality is fine but once disconnecting the HID we get to see the error log:
hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71
Quoted 3 lines
Quoted 1 line
When i tried to enable
CONFIG_USB_DEBUG, get the following log:looks like it's not OMAP-specific. Alan any tips ?
It could be a problem with the hub the keyboard is plugged into. Or something going on with the hub driver. I'll try doing the same thing on my system.
Quoted 1 line
(keeping logs below)
...
Quoted 34 lines
Quoted 34 lines
s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 1 usb 1-1.3: unlink qh8-0e01/c193f140 start 2 [1/2 us] s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 1 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 2 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 3 hub 1-1:1.0: state 7 ports 7 chg 0000 evt 0008 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 4 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 5 hub 1-1:1.0: port 3, status 0100, change 0001, 12 Mb/s s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 6 usb 1-1.3: USB disconnect, device number 5 usb 1-1.3: unregistering device
usb 1-1.3: unregistering interface 1-1.3:1.0 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 7 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 8 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 9 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 10 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 11 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 12 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 13 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 14 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 15 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 16 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 17 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 18 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 19 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 20 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 21 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 22 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 23 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 24 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 25 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 26 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 27
Quoted 8 lines
Quoted 8 lines
s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 28 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 29 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 30 s5p-ehci s5p-ehci: detected XactErr len 0/8 retry 31 s5p-ehci s5p-ehci: devpath 1.3 ep0out 3strikes usb 1-1: clear tt buffer port 3, a5 ep0 t00080248 hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71
Note that most of these are debug messages, so they wouldn't normally appear. (BTW: timestamps would be nice -- CONFIG_PRINTK_TIME.)
Quoted 11 lines
Quoted 11 lines
Similar log as you get on ehci-omap ;-)
Sorry i might have missed some information to put here.Your help will be very much useful.
Thanks in advance :-)Quoted 5 lines
...
[62927.200012] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 19 [62927.215606] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 25 [62927.220092] ehci-omap ehci-omap.0: detected XactErr len 0/8 retry 22 [62927.225738] ehci-omap ehci-omap.0: devpath 1.3.7 ep0out 3strikes
A certain amount of this is normal when an HID device is unplugged. It should stop after 250 ms, however, when the hub notifies the host that a cable has been unplugged. (Unless the hub driver is busy doing something else at the time...)
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
...
After waiting for several minutes, it stops, and dmesg shows:
# dmesg | grep -i omap
This grep will drop the important information.
Alan Stern
Quoted 18 lines · Alan Stern
Quoted 10 lines · Felipe Balbi
Quoted 10 lines
I can't reproduce the problem on Panda, but I can on Beagle with a slightly different behaviour.
1) connecting/disconnecting device directly to the beagleboard's USB port works fine.
2) If I connect a USB Hub to the port and connect a device to it after the hub has autosuspended, the device is never detected.
doing lsusb after that triggers the detection and produces a lot of transaction errors. Beagle log is below, before and after 'lsusb'Quoted 5 lines
Quoted 2 lines
I suppose this doesn't affect Panda because it has a hub connected immediately below the root hub that never suspends (as ethernet is hardwired to it).
Roger, try changing hub's autosuspend delay to something greater than 30ms and see if it helps. There was a discussion lately about that.
Quoted 8 lines
There also were some patches to address this problem recently merged by Greg KH (they are in Linus's current git, added after 3.8-rc6 was released):
da0aa7169b97d90f4af39a9dc84d58bbe19d7e78USB: add usb_hcd_{start,end}_port_resumef292e7f9fb0e4bec68bbd83443407d6bb7922d36USB: EHCI: notify usbcore about port resumesee74290b7853db9d5fd64db70e5c175241c59fbaUSB: EHCI: fix timer bug affecting port resume
Alan, thanks for the hints.
It seems the beagleboard problem is related to OMAP silicon errata [1]. Apparently, remote wakeup as well as host issued wakeup break omap-ehci and have nothing to do with the hub or it's driver.
I'll work on this issue after I'm done with device tree migration.
cheers,
-roger
[1] - Advisory 3.1.1.157 EHCI Controller- Issue in Suspend Resume Protocol
http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=sprz278f&fileType=pdf
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <[email protected]> wrote:
<snip>
Quoted 5 lines
It seems the beagleboard problem is related to OMAP silicon errata [1]. Apparently, remote wakeup as well as host issued wakeup break omap-ehci and have nothing to do with the hub or it's driver.
I'll work on this issue after I'm done with device tree migration.
Looking forward to this, mainline has been suffering from this since almost forever..
Signature · 5 lines
Gražvydas -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Alan Stern
Quoted 11 lines
Quoted 11 lines
Is this issue fixed ?
Actually we too are getting very similar issue with samsung exynos5250 hardware. With latest 'usb-next' kernel and supporting arch patches, when i use following test scenerio:
Connect a USB 2.0 external hub to USB 2.0 port, and connect mice or keyboard enumeration and
functionality is fine but once disconnecting the HID we get to see the error log:
hid-generic 0003:04B3:3025.0002: can't reset device, s5p-ehci-1.3/input0, status -71
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
When i tried to enable
CONFIG_USB_DEBUG, get the following log:looks like it's not OMAP-specific. Alan any tips ?
It could be a problem with the hub the keyboard is plugged into. Or something going on with the hub driver. I'll try doing the same thing on my system.
I tried it. This is on an Intel system, not OMAP or anything like that. The result was as expected; there were a few "can't reset device" error messages but they stopped after a few hundred ms. If they persist for several minutes then something else is wrong.
On the other hand, we could change the priority of those log messages. They don't have to be errors or warnings.
Alan Stern
Hi,
Quoted 12 lines · Grazvydas Ignotas
On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <[email protected]> wrote:
<snip>Quoted 5 lines
It seems the beagleboard problem is related to OMAP silicon errata [1]. Apparently, remote wakeup as well as host issued wakeup break omap-ehci and have nothing to do with the hub or it's driver.
I'll work on this issue after I'm done with device tree migration.
Looking forward to this, mainline has been suffering from this since almost forever..
Unfortunately, there is another errata [2] that makes it impossible to support suspend/resume on the beagleboard.
cheers,
-roger
[2] Advisory 3.1.1.195 HSUSB Interoperability Issue With SMSC USB3320 PHY
http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=sprz278f&fileType=pdf
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
USB ehci suspend/resume on beagleboard
In reply to a message not in the archivecorrecting misleading subject line.
was (Re: MUSB regression in linux next at least for pandboard)
Quoted 16 lines · Roger Quadros
Hi,
Quoted 12 lines · Grazvydas Ignotas
On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <[email protected]> wrote:
<snip>Quoted 5 lines
It seems the beagleboard problem is related to OMAP silicon errata [1]. Apparently, remote wakeup as well as host issued wakeup break omap-ehci and have nothing to do with the hub or it's driver.
I'll work on this issue after I'm done with device tree migration.
Looking forward to this, mainline has been suffering from this since almost forever..
Quoted 9 lines
Unfortunately, there is another errata [2] that makes it impossible to support suspend/resume on the beagleboard.
cheers,
-roger[2] Advisory 3.1.1.195 HSUSB Interoperability Issue With SMSC USB3320 PHY
http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=sprz278f&fileType=pdf
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: USB ehci suspend/resume on beagleboard
Quoted 22 lines · Roger Quadros
correcting misleading subject line.
was (Re: MUSB regression in linux next at least for pandboard)Quoted 18 lines · Roger Quadros
Hi,
Quoted 12 lines · Grazvydas Ignotas
On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <[email protected]> wrote:
<snip>Quoted 5 lines
It seems the beagleboard problem is related to OMAP silicon errata [1]. Apparently, remote wakeup as well as host issued wakeup break omap-ehci and have nothing to do with the hub or it's driver.
I'll work on this issue after I'm done with device tree migration.
Looking forward to this, mainline has been suffering from this since almost forever..
Unfortunately, there is another errata [2] that makes it impossible to support suspend/resume on the beagleboard.
You could fix it for BeagleBoard-xM at least, I think it is not affected by this as it has DM3730 (only early revisions with 1.0 silicon of that are affected with [2]). This would also fix it for DM3730-based pandoras.
Quoted 8 lines
Quoted 7 lines
cheers,
-roger[2] Advisory 3.1.1.195 HSUSB Interoperability Issue With SMSC USB3320 PHY
http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=sprz278f&fileType=pdf
--
Gražvydas
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: USB ehci suspend/resume on beagleboard
Quoted 21 lines · Grazvydas Ignotas
Quoted 20 lines · Roger Quadros
correcting misleading subject line.
was (Re: MUSB regression in linux next at least for pandboard)Quoted 16 lines · Roger Quadros
Hi,
Quoted 12 lines · Grazvydas Ignotas
On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <[email protected]> wrote:
<snip>Quoted 5 lines
It seems the beagleboard problem is related to OMAP silicon errata [1]. Apparently, remote wakeup as well as host issued wakeup break omap-ehci and have nothing to do with the hub or it's driver.
I'll work on this issue after I'm done with device tree migration.
Looking forward to this, mainline has been suffering from this since almost forever..
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Unfortunately, there is another errata [2] that makes it impossible to support suspend/resume on the beagleboard.
You could fix it for BeagleBoard-xM at least, I think it is not affected by this as it has DM3730 (only early revisions with 1.0 silicon of that are affected with [2]). This would also fix it for DM3730-based pandoras.
Yes you are right. I need to get a beagleboard-xM.
cheers,
-roger
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
[2] Advisory 3.1.1.195 HSUSB Interoperability Issue With SMSC USB3320 PHY
http://www.ti.com/general/docs/lit/getliterature.tsp?literatureNumber=sprz278f&fileType=pdf