* Re: MUSB regression in linux next at least for pandboard [not found] ` <20121004175742.GB9702@arwen.pp.htv.fi> @ 2012-10-05 1:39 ` Tony Lindgren 2012-10-05 5:16 ` kishon [not found] ` <20121005013910.GI3874-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> 0 siblings, 2 replies; 16+ messages in thread From: Tony Lindgren @ 2012-10-05 1:39 UTC (permalink / raw) To: Felipe Balbi Cc: linux-usb, ABRAHAM, KISHON VIJAY, Keshava Munegowda, linux-omap * Felipe Balbi <balbi@ti.com> [121004 11:04]: > Hi, > > On Thu, Oct 04, 2012 at 10:31:08AM -0700, Tony Lindgren wrote: > > 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 UDC > > > > I do have CONFIG_OMAP_USB2 set. > > > > 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_data until we > actually move to DT-only for OMAP4 ? > > > 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: MUSB regression in linux next at least for pandboard 2012-10-05 1:39 ` MUSB regression in linux next at least for pandboard Tony Lindgren @ 2012-10-05 5:16 ` kishon [not found] ` <20121005013910.GI3874-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> 1 sibling, 0 replies; 16+ messages in thread From: kishon @ 2012-10-05 5:16 UTC (permalink / raw) To: Tony Lindgren; +Cc: Felipe Balbi, linux-usb, Keshava Munegowda, linux-omap Hi, On Friday 05 October 2012 07:09 AM, Tony Lindgren wrote: > * Felipe Balbi <balbi@ti.com> [121004 11:04]: >> Hi, >> >> On Thu, Oct 04, 2012 at 10:31:08AM -0700, Tony Lindgren wrote: >>> 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 UDC >>> >>> I do have CONFIG_OMAP_USB2 set. >>> >>> 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_data until we >> actually move to DT-only for OMAP4 ? Sure. Thanks Kishon ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <20121005013910.GI3874-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>]
* Re: MUSB regression in linux next at least for pandboard [not found] ` <20121005013910.GI3874-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> @ 2012-10-05 16:27 ` Tony Lindgren 2013-02-06 11:57 ` Vivek Gautam 0 siblings, 1 reply; 16+ messages in thread From: Tony Lindgren @ 2012-10-05 16:27 UTC (permalink / raw) To: Felipe Balbi Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA, ABRAHAM, KISHON VIJAY, Keshava Munegowda, linux-omap-u79uwXL29TY76Z2rM5mHXA [-- Attachment #1: Type: text/plain, Size: 758 bytes --] * Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> [121004 18:41]: > > > > > 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 [-- Attachment #2: panda-ehci-hang-on-unplug --] [-- Type: text/plain, Size: 10369 bytes --] ... [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 ... ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: MUSB regression in linux next at least for pandboard 2012-10-05 16:27 ` Tony Lindgren @ 2013-02-06 11:57 ` Vivek Gautam [not found] ` <CAFp+6iEQ85EEt2m7f8WSo8y7te62O_R4iia3_xiSMjzLXrAy5g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 16+ messages in thread From: Vivek Gautam @ 2013-02-06 11:57 UTC (permalink / raw) To: Tony Lindgren Cc: Felipe Balbi, linux-usb, ABRAHAM, KISHON VIJAY, Keshava Munegowda, linux-omap Hi Tony, On Fri, Oct 5, 2012 at 9:57 PM, Tony Lindgren <tony@atomide.com> wrote: > * Tony Lindgren <tony@atomide.com> [121004 18:41]: >> > >> > > 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. > 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 :-) > ... > [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 > ... > -- Thanks & Regards Vivek ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <CAFp+6iEQ85EEt2m7f8WSo8y7te62O_R4iia3_xiSMjzLXrAy5g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: MUSB regression in linux next at least for pandboard [not found] ` <CAFp+6iEQ85EEt2m7f8WSo8y7te62O_R4iia3_xiSMjzLXrAy5g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2013-02-06 13:51 ` Felipe Balbi [not found] ` <20130206135126.GA6773-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org> 2013-02-06 16:06 ` MUSB regression in linux next at least for pandboard Alan Stern 0 siblings, 2 replies; 16+ messages in thread From: Felipe Balbi @ 2013-02-06 13:51 UTC (permalink / raw) To: Vivek Gautam Cc: Tony Lindgren, Felipe Balbi, linux-usb-u79uwXL29TY76Z2rM5mHXA, ABRAHAM, KISHON VIJAY, linux-omap-u79uwXL29TY76Z2rM5mHXA, Alan Stern, Roger Quadros [-- Attachment #1: Type: text/plain, Size: 16426 bytes --] Hi, On Wed, Feb 06, 2013 at 05:27:52PM +0530, Vivek Gautam wrote: > Hi Tony, > > > On Fri, Oct 5, 2012 at 9:57 PM, Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> wrote: > > * Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> [121004 18:41]: > >> > > >> > > 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. > > > > 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: looks like it's not OMAP-specific. Alan any tips ? (keeping logs below) > 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 :-) > > > ... > > [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 -- balbi [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <20130206135126.GA6773-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org>]
* Re: MUSB regression in linux next at least for pandboard [not found] ` <20130206135126.GA6773-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org> @ 2013-02-06 15:03 ` Roger Quadros 2013-02-06 15:29 ` Felipe Balbi 0 siblings, 1 reply; 16+ messages in thread From: Roger Quadros @ 2013-02-06 15:03 UTC (permalink / raw) To: balbi-l0cyMroinI0 Cc: Vivek Gautam, Tony Lindgren, linux-usb-u79uwXL29TY76Z2rM5mHXA, ABRAHAM, KISHON VIJAY, linux-omap-u79uwXL29TY76Z2rM5mHXA, Alan Stern On 02/06/2013 03:51 PM, Felipe Balbi wrote: > Hi, > > On Wed, Feb 06, 2013 at 05:27:52PM +0530, Vivek Gautam wrote: >> Hi Tony, >> >> >> On Fri, Oct 5, 2012 at 9:57 PM, Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> wrote: >>> * Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> [121004 18:41]: >>>>> >>>>>> 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. >>> >> >> 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: > > 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: MUSB regression in linux next at least for pandboard 2013-02-06 15:03 ` Roger Quadros @ 2013-02-06 15:29 ` Felipe Balbi 2013-02-06 15:43 ` Alan Stern 0 siblings, 1 reply; 16+ messages in thread From: Felipe Balbi @ 2013-02-06 15:29 UTC (permalink / raw) To: Roger Quadros Cc: balbi, Vivek Gautam, Tony Lindgren, linux-usb, ABRAHAM, KISHON VIJAY, linux-omap, Alan Stern [-- Attachment #1: Type: text/plain, Size: 2588 bytes --] Hi, On Wed, Feb 06, 2013 at 05:03:36PM +0200, Roger Quadros wrote: > On 02/06/2013 03:51 PM, Felipe Balbi wrote: > > Hi, > > > > On Wed, Feb 06, 2013 at 05:27:52PM +0530, Vivek Gautam wrote: > >> Hi Tony, > >> > >> > >> On Fri, Oct 5, 2012 at 9:57 PM, Tony Lindgren <tony@atomide.com> wrote: > >>> * Tony Lindgren <tony@atomide.com> [121004 18:41]: > >>>>> > >>>>>> 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. > >>> > >> > >> 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: > > > > 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). Roger, try changing hub's autosuspend delay to something greater than 30ms and see if it helps. There was a discussion lately about that. -- balbi [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: MUSB regression in linux next at least for pandboard 2013-02-06 15:29 ` Felipe Balbi @ 2013-02-06 15:43 ` Alan Stern [not found] ` <Pine.LNX.4.44L0.1302061038310.1893-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org> 0 siblings, 1 reply; 16+ messages in thread From: Alan Stern @ 2013-02-06 15:43 UTC (permalink / raw) To: Felipe Balbi Cc: Roger Quadros, Vivek Gautam, Tony Lindgren, linux-usb, ABRAHAM, KISHON VIJAY, linux-omap On Wed, 6 Feb 2013, Felipe Balbi wrote: > > 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). > > 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <Pine.LNX.4.44L0.1302061038310.1893-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>]
* Re: MUSB regression in linux next at least for pandboard [not found] ` <Pine.LNX.4.44L0.1302061038310.1893-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org> @ 2013-02-07 9:16 ` Roger Quadros 2013-02-07 14:10 ` Grazvydas Ignotas 0 siblings, 1 reply; 16+ messages in thread From: Roger Quadros @ 2013-02-07 9:16 UTC (permalink / raw) To: Alan Stern Cc: Felipe Balbi, Vivek Gautam, Tony Lindgren, linux-usb-u79uwXL29TY76Z2rM5mHXA, ABRAHAM, KISHON VIJAY, linux-omap-u79uwXL29TY76Z2rM5mHXA On 02/06/2013 05:43 PM, Alan Stern wrote: > On Wed, 6 Feb 2013, Felipe Balbi wrote: > >>> 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). >> >> 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, 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: MUSB regression in linux next at least for pandboard 2013-02-07 9:16 ` Roger Quadros @ 2013-02-07 14:10 ` Grazvydas Ignotas [not found] ` <CANOLnOODiu+rEqCQH5BAzTXhWi4cUZO-OXO=-1xxyhMFW77UZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 16+ messages in thread From: Grazvydas Ignotas @ 2013-02-07 14:10 UTC (permalink / raw) To: Roger Quadros Cc: Alan Stern, Felipe Balbi, Vivek Gautam, Tony Lindgren, linux-usb, ABRAHAM, KISHON VIJAY, linux-omap On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <rogerq@ti.com> wrote: <snip> > 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.. -- Gražvydas -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <CANOLnOODiu+rEqCQH5BAzTXhWi4cUZO-OXO=-1xxyhMFW77UZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: MUSB regression in linux next at least for pandboard [not found] ` <CANOLnOODiu+rEqCQH5BAzTXhWi4cUZO-OXO=-1xxyhMFW77UZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2013-04-04 11:36 ` Roger Quadros [not found] ` <515D65D3.40006-l0cyMroinI0@public.gmane.org> 0 siblings, 1 reply; 16+ messages in thread From: Roger Quadros @ 2013-04-04 11:36 UTC (permalink / raw) To: Grazvydas Ignotas Cc: Alan Stern, Felipe Balbi, Vivek Gautam, Tony Lindgren, linux-usb-u79uwXL29TY76Z2rM5mHXA, ABRAHAM, KISHON VIJAY, linux-omap-u79uwXL29TY76Z2rM5mHXA Hi, On 02/07/2013 04:10 PM, Grazvydas Ignotas wrote: > On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org> wrote: > <snip> >> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 16+ messages in thread
[parent not found: <515D65D3.40006-l0cyMroinI0@public.gmane.org>]
* USB ehci suspend/resume on beagleboard [not found] ` <515D65D3.40006-l0cyMroinI0@public.gmane.org> @ 2013-04-04 11:50 ` Roger Quadros 2013-04-05 11:11 ` Grazvydas Ignotas 0 siblings, 1 reply; 16+ messages in thread From: Roger Quadros @ 2013-04-04 11:50 UTC (permalink / raw) To: Grazvydas Ignotas Cc: Alan Stern, Felipe Balbi, Vivek Gautam, Tony Lindgren, linux-usb-u79uwXL29TY76Z2rM5mHXA, ABRAHAM, KISHON VIJAY, linux-omap-u79uwXL29TY76Z2rM5mHXA correcting misleading subject line. was (Re: MUSB regression in linux next at least for pandboard) On 04/04/2013 02:36 PM, Roger Quadros wrote: > Hi, > > On 02/07/2013 04:10 PM, Grazvydas Ignotas wrote: >> On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <rogerq-l0cyMroinI0@public.gmane.org> wrote: >> <snip> >>> 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: USB ehci suspend/resume on beagleboard 2013-04-04 11:50 ` USB ehci suspend/resume on beagleboard Roger Quadros @ 2013-04-05 11:11 ` Grazvydas Ignotas 2013-04-05 11:55 ` Roger Quadros 0 siblings, 1 reply; 16+ messages in thread From: Grazvydas Ignotas @ 2013-04-05 11:11 UTC (permalink / raw) To: Roger Quadros Cc: Alan Stern, Felipe Balbi, Vivek Gautam, Tony Lindgren, Linux USB Mailing List, ABRAHAM, KISHON VIJAY, linux-omap@vger.kernel.org, Jason Kridner On Thu, Apr 4, 2013 at 2:50 PM, Roger Quadros <rogerq@ti.com> wrote: > correcting misleading subject line. > was (Re: MUSB regression in linux next at least for pandboard) > > On 04/04/2013 02:36 PM, Roger Quadros wrote: >> Hi, >> >> On 02/07/2013 04:10 PM, Grazvydas Ignotas wrote: >>> On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <rogerq@ti.com> wrote: >>> <snip> >>>> 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. >> >> 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: USB ehci suspend/resume on beagleboard 2013-04-05 11:11 ` Grazvydas Ignotas @ 2013-04-05 11:55 ` Roger Quadros 0 siblings, 0 replies; 16+ messages in thread From: Roger Quadros @ 2013-04-05 11:55 UTC (permalink / raw) To: Grazvydas Ignotas Cc: Alan Stern, Felipe Balbi, Vivek Gautam, Tony Lindgren, Linux USB Mailing List, ABRAHAM, KISHON VIJAY, linux-omap@vger.kernel.org, Jason Kridner On 04/05/2013 02:11 PM, Grazvydas Ignotas wrote: > On Thu, Apr 4, 2013 at 2:50 PM, Roger Quadros <rogerq@ti.com> wrote: >> correcting misleading subject line. >> was (Re: MUSB regression in linux next at least for pandboard) >> >> On 04/04/2013 02:36 PM, Roger Quadros wrote: >>> Hi, >>> >>> On 02/07/2013 04:10 PM, Grazvydas Ignotas wrote: >>>> On Thu, Feb 7, 2013 at 11:16 AM, Roger Quadros <rogerq@ti.com> wrote: >>>> <snip> >>>>> 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. > Yes you are right. I need to get a beagleboard-xM. 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: MUSB regression in linux next at least for pandboard 2013-02-06 13:51 ` Felipe Balbi [not found] ` <20130206135126.GA6773-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org> @ 2013-02-06 16:06 ` Alan Stern 2013-02-07 14:56 ` Alan Stern 1 sibling, 1 reply; 16+ messages in thread From: Alan Stern @ 2013-02-06 16:06 UTC (permalink / raw) To: Felipe Balbi Cc: Vivek Gautam, Tony Lindgren, linux-usb, ABRAHAM, KISHON VIJAY, linux-omap, Roger Quadros On Wed, 6 Feb 2013, Felipe Balbi wrote: > Hi, > > On Wed, Feb 06, 2013 at 05:27:52PM +0530, Vivek Gautam wrote: > > Hi Tony, > > > > > > On Fri, Oct 5, 2012 at 9:57 PM, Tony Lindgren <tony@atomide.com> wrote: > > > * Tony Lindgren <tony@atomide.com> [121004 18:41]: > > >> > > > >> > > 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. > > > > > > > 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: > > 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. > (keeping logs below) ... > > 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 Note that most of these are debug messages, so they wouldn't normally appear. (BTW: timestamps would be nice -- CONFIG_PRINTK_TIME.) > > 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 :-) > > > > > ... > > > [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...) > > > ... > > > > > > After waiting for several minutes, it stops, and dmesg shows: > > > > > > # dmesg | grep -i omap This grep will drop the important information. Alan Stern ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: MUSB regression in linux next at least for pandboard 2013-02-06 16:06 ` MUSB regression in linux next at least for pandboard Alan Stern @ 2013-02-07 14:56 ` Alan Stern 0 siblings, 0 replies; 16+ messages in thread From: Alan Stern @ 2013-02-07 14:56 UTC (permalink / raw) To: Felipe Balbi Cc: Vivek Gautam, Tony Lindgren, linux-usb, ABRAHAM, KISHON VIJAY, linux-omap, Roger Quadros On Wed, 6 Feb 2013, Alan Stern wrote: > > > 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: > > > > 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 ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2013-04-05 11:55 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20121004173107.GD3874@atomide.com> [not found] ` <20121004175742.GB9702@arwen.pp.htv.fi> 2012-10-05 1:39 ` MUSB regression in linux next at least for pandboard Tony Lindgren 2012-10-05 5:16 ` kishon [not found] ` <20121005013910.GI3874-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> 2012-10-05 16:27 ` Tony Lindgren 2013-02-06 11:57 ` Vivek Gautam [not found] ` <CAFp+6iEQ85EEt2m7f8WSo8y7te62O_R4iia3_xiSMjzLXrAy5g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2013-02-06 13:51 ` Felipe Balbi [not found] ` <20130206135126.GA6773-S8G//mZuvNWo5Im9Ml3/Zg@public.gmane.org> 2013-02-06 15:03 ` Roger Quadros 2013-02-06 15:29 ` Felipe Balbi 2013-02-06 15:43 ` Alan Stern [not found] ` <Pine.LNX.4.44L0.1302061038310.1893-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org> 2013-02-07 9:16 ` Roger Quadros 2013-02-07 14:10 ` Grazvydas Ignotas [not found] ` <CANOLnOODiu+rEqCQH5BAzTXhWi4cUZO-OXO=-1xxyhMFW77UZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 2013-04-04 11:36 ` Roger Quadros [not found] ` <515D65D3.40006-l0cyMroinI0@public.gmane.org> 2013-04-04 11:50 ` USB ehci suspend/resume on beagleboard Roger Quadros 2013-04-05 11:11 ` Grazvydas Ignotas 2013-04-05 11:55 ` Roger Quadros 2013-02-06 16:06 ` MUSB regression in linux next at least for pandboard Alan Stern 2013-02-07 14:56 ` Alan Stern
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).