This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

USB Issue - Could not flush host TX2 fifo: csr: 2003

Some USB problems - I think.
I have a USB Harddrive, 3G modem connected on musb bus and camera using omap3isp.
I am using a board heavily based on the BeagleBoard.
I am using 3.2 kernel from Robert Nelson repo.
It throws this error and seems to recover:
[ 5198.753967] ------------[ cut here ]------------
[ 5198.759033] WARNING: at drivers/usb/musb/musb_host.c:125 musb_h_tx_flush_fifo+0x4c/0x78()
[ 5198.767791] Could not flush host TX2 fifo: csr: 2003
[ 5198.773101] Modules linked in: cdc_acm libertas_sdio
[ 5198.778594] [<c0012134>] (unwind_backtrace+0x0/0xe0) from [<c0037c20>] (warn_slowpath_common+0x4c/0x64)
[ 5198.788696] [<c0037c20>] (warn_slowpath_common+0x4c/0x64) from [<c0037cb8>] (warn_slowpath_fmt+0x2c/0x3c)
[ 5198.798980] [<c0037cb8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c02fd2e0>] (musb_h_tx_flush_fifo+0x4c/0x78)
[ 5198.809265] [<c02fd2e0>] (musb_h_tx_flush_fifo+0x4c/0x78) from [<c02fe1b4>] (musb_cleanup_urb+0x84/0xc8)
[ 5198.819458] [<c02fe1b4>] (musb_cleanup_urb+0x84/0xc8) from [<c02fe2d0>] (musb_urb_dequeue+0xd8/0xf0)
[ 5198.829284] [<c02fe2d0>] (musb_urb_dequeue+0xd8/0xf0) from [<c02dda84>] (unlink1+0x9c/0xa8)
[ 5198.838256] [<c02dda84>] (unlink1+0x9c/0xa8) from [<c02de160>] (usb_hcd_unlink_urb+0x54/0xa8)
[ 5198.847442] [<c02de160>] (usb_hcd_unlink_urb+0x54/0xa8) from [<c02df58c>] (usb_sg_cancel+0x40/0x90)
[ 5198.857177] [<c02df58c>] (usb_sg_cancel+0x40/0x90) from [<c02f6130>] (command_abort+0x6c/0x84)
[ 5198.866455] [<c02f6130>] (command_abort+0x6c/0x84) from [<c029d90c>] (scsi_error_handler+0x15c/0x3f4)
[ 5198.876373] [<c029d90c>] (scsi_error_handler+0x15c/0x3f4) from [<c0052058>] (kthread+0x7c/0x88)
[ 5198.885742] [<c0052058>] (kthread+0x7c/0x88) from [<c000dedc>] (kernel_thread_exit+0x0/0x8)
[ 5198.894683] ---[ end trace d29af31865f8731f ]---
[ 5198.987335] usb 1-1.2.4: reset high-speed USB device number 5 using musb-hdrc
Then a bit later this error that causes a kernel panic and reboot.
Anyone have any idea as to where I might start to solve this problem? It has me really stumped!
[63565.694946] ------------[ cut here ]------------
[63565.699981] WARNING: at arch/arm/mach-omap2/omap_l3_smx.c:161 omap3_l3_app_irq+0xe4/0x130()
[63565.708892] Address Hole seen by USB_OTG  at address 586b2300
[63565.715057] Modules linked in: libertas_sdio cdc_acm
[63565.720489] [<c0012134>] (unwind_backtrace+0x0/0xe0) from [<c0037c20>] (warn_slowpath_common+0x4c/0x64)
[63565.730590] [<c0037c20>] (warn_slowpath_common+0x4c/0x64) from [<c0037cb8>] (warn_slowpath_fmt+0x2c/0x3c)
[63565.740905] [<c0037cb8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0023ac8>] (omap3_l3_app_irq+0xe4/0x130)
[63565.750946] [<c0023ac8>] (omap3_l3_app_irq+0xe4/0x130) from [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c)
[63565.761596] [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c) from [<c007f894>] (handle_irq_event+0x28/0x38)
[63565.772155] [<c007f894>] (handle_irq_event+0x28/0x38) from [<c00819fc>] (handle_level_irq+0xb4/0xc4)
[63565.782012] [<c00819fc>] (handle_level_irq+0xb4/0xc4) from [<c007f11c>] (generic_handle_irq+0x20/0x30)
[63565.791992] [<c007f11c>] (generic_handle_irq+0x20/0x30) from [<c000de54>] (handle_IRQ+0x60/0x84)
[63565.801483] [<c000de54>] (handle_IRQ+0x60/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
[63565.810089] [<c0417674>] (__irq_svc+0x34/0x78) from [<c003d408>] (__do_softirq+0x40/0x1bc)
[63565.818969] [<c003d408>] (__do_softirq+0x40/0x1bc) from [<c003d8e4>] (irq_exit+0x40/0x90)
[63565.827789] [<c003d8e4>] (irq_exit+0x40/0x90) from [<c000de58>] (handle_IRQ+0x64/0x84)
[63565.836334] [<c000de58>] (handle_IRQ+0x64/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
[63565.844970] [<c0417674>] (__irq_svc+0x34/0x78) from [<c001d658>] (omap3_enter_idle+0xf8/0x12c)
[63565.854248] [<c001d658>] (omap3_enter_idle+0xf8/0x12c) from [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0)
[63565.864624] [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0) from [<c0339040>] (cpuidle_idle_call+0xf0/0x26c)
[63565.875091] [<c0339040>] (cpuidle_idle_call+0xf0/0x26c) from [<c000e0b4>] (cpu_idle+0x44/0x94)
[63565.884368] [<c000e0b4>] (cpu_idle+0x44/0x94) from [<c05d16e4>] (start_kernel+0x250/0x294)
[63565.893218] ---[ end trace 0d8c0b4f212fe5e1 ]---
[63565.898437] ------------[ cut here ]------------
[63565.903411] WARNING: at arch/arm/mach-omap2/omap_l3_smx.c:161 omap3_l3_app_irq+0xe4/0x130()
[63565.912353] Address Hole seen by USB_OTG  at address 5ebdda80
[63565.918487] Modules linked in: libertas_sdio cdc_acm
[63565.923919] [<c0012134>] (unwind_backtrace+0x0/0xe0) from [<c0037c20>] (warn_slowpath_common+0x4c/0x64)
[63565.934020] [<c0037c20>] (warn_slowpath_common+0x4c/0x64) from [<c0037cb8>] (warn_slowpath_fmt+0x2c/0x3c)
[63565.944305] [<c0037cb8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0023ac8>] (omap3_l3_app_irq+0xe4/0x130)
[63565.954345] [<c0023ac8>] (omap3_l3_app_irq+0xe4/0x130) from [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c)
[63565.964996] [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c) from [<c007f894>] (handle_irq_event+0x28/0x38)
[63565.975585] [<c007f894>] (handle_irq_event+0x28/0x38) from [<c00819fc>] (handle_level_irq+0xb4/0xc4)
[63565.985412] [<c00819fc>] (handle_level_irq+0xb4/0xc4) from [<c007f11c>] (generic_handle_irq+0x20/0x30)
[63565.995422] [<c007f11c>] (generic_handle_irq+0x20/0x30) from [<c000de54>] (handle_IRQ+0x60/0x84)
[63566.004852] [<c000de54>] (handle_IRQ+0x60/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
[63566.013458] [<c0417674>] (__irq_svc+0x34/0x78) from [<c003d408>] (__do_softirq+0x40/0x1bc)
[63566.022369] [<c003d408>] (__do_softirq+0x40/0x1bc) from [<c003d8e4>] (irq_exit+0x40/0x90)
[63566.031188] [<c003d8e4>] (irq_exit+0x40/0x90) from [<c000de58>] (handle_IRQ+0x64/0x84)
[63566.039733] [<c000de58>] (handle_IRQ+0x64/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
[63566.048370] [<c0417674>] (__irq_svc+0x34/0x78) from [<c001d658>] (omap3_enter_idle+0xf8/0x12c)
[63566.057617] [<c001d658>] (omap3_enter_idle+0xf8/0x12c) from [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0)
[63566.067993] [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0) from [<c0339040>] (cpuidle_idle_call+0xf0/0x26c)
[63566.078491] [<c0339040>] (cpuidle_idle_call+0xf0/0x26c) from [<c000e0b4>] (cpu_idle+0x44/0x94)
[63566.087738] [<c000e0b4>] (cpu_idle+0x44/0x94) from [<c05d16e4>] (start_kernel+0x250/0x294)
[63566.096588] ---[ end trace 0d8c0b4f212fe5e2 ]---
[63566.101776] ------------[ cut here ]------------
[63566.106719] kernel BUG at arch/arm/mach-omap2/omap_l3_smx.c:186!
[63566.113159] Internal error: Oops - undefined instruction: 0 [#1]
[63566.119598] Modules linked in: libertas_sdio cdc_acm
[63566.124969] CPU: 0    Tainted: G        W     (3.2.38snapithd-13013-x15 #1)
[63566.132446] PC is at omap3_l3_app_irq+0x44/0x130
[63566.137420] LR is at handle_irq_event_percpu+0x3c/0x21c
[63566.143035] pc : [<c0023a28>]    lr : [<c007f68c>]    psr: 200001d3
[63566.143066] sp : c0605df8  ip : 00000370  fp : c06cad6c
[63566.155334] r10: c061de20  r9 : c0672280  r8 : 00000003
[63566.160919] r7 : 00000000  r6 : 00000000  r5 : 20000000  r4 : 00000000
[63566.167907] r3 : 20000000  r2 : 04000000  r1 : c68646c0  r0 : 20000000
[63566.174896] Flags: nzCv  IRQs off  FIQs off  Mode SVC_32  ISA ARM  Segment kernel
[63566.182922] Control: 10c5387d  Table: 811a4019  DAC: 00000015
[63566.189086] Process swapper (pid: 0, stack limit = 0xc06042f0)
[63566.195343] Stack: (0xc0605df8 to 0xc0606000)
[63566.200042] 5de0:                                                       00000000 00000000
[63566.208831] 5e00: 00000000 00000000 00000018 c6864740 0000000a 00000000 00000000 c007f68c
[63566.217620] 5e20: c061de20 c6864740 019bc478 c061de20 c0605f10 fa200000 c0605eac 00000003
[63566.226409] 5e40: c0672280 0000000a c0672304 c007f894 c061de20 c00819fc 0000000a c007f11c
[63566.235168] 5e60: 0000000a c000de54 c003d8e4 c003d408 20000153 c0417674 00000000 23000007
[63566.243957] 5e80: c0605ec0 00000000 00000002 00000000 fa200000 c0605f44 00000003 c0672280
[63566.252777] 5ea0: 0000000a c0672304 000001f0 c0605ec0 c003d8e4 c003d408 20000153 ffffffff
[63566.261535] 5ec0: 019bc45f c061e9f0 00000000 fa200000 c0605f44 00000025 00000000 fa200000
[63566.270324] 5ee0: c0605f44 00000003 411fc083 00000000 00000000 c003d8e4 00000000 c000de58
[63566.279144] 5f00: c001d64c c001d658 60000053 c0417674 0066720c 00000000 0066720c 00000000
[63566.287902] 5f20: 00000000 00000000 c060ba68 00000003 00000003 411fc083 00000000 00000000
[63566.296722] 5f40: 00000000 c0605f58 c001d64c c001d658 60000053 ffffffff 51157dc3 293e66ef
[63566.305480] 5f60: 51157dc3 29a4d8fb 00000000 0066720c 00000000 00000005 00000000 c060b824
[63566.314300] 5f80: c060ba68 c001d7f0 c060ba68 00000005 00000000 c060b824 c060b990 411fc083
[63566.323089] 5fa0: 00000000 c0339040 00000000 c0604000 c064f984 c0609f94 c0609f8c 80004059
[63566.331878] 5fc0: 00000000 c000e0b4 c0606c04 c05fa180 c0807500 c05d16e4 c05d1160 00000d0b
[63566.340637] 5fe0: 80000100 c05fa180 10c5387d c0606084 c05fa17c 80008040 00000000 00000000
[63566.349487] [<c0023a28>] (omap3_l3_app_irq+0x44/0x130) from [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c)
[63566.360137] [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c) from [<c007f894>] (handle_irq_event+0x28/0x38)
[63566.370727] [<c007f894>] (handle_irq_event+0x28/0x38) from [<c00819fc>] (handle_level_irq+0xb4/0xc4)
[63566.380554] [<c00819fc>] (handle_level_irq+0xb4/0xc4) from [<c007f11c>] (generic_handle_irq+0x20/0x30)
[63566.390563] [<c007f11c>] (generic_handle_irq+0x20/0x30) from [<c000de54>] (handle_IRQ+0x60/0x84)
[63566.399993] [<c000de54>] (handle_IRQ+0x60/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
[63566.408630] [<c0417674>] (__irq_svc+0x34/0x78) from [<c003d408>] (__do_softirq+0x40/0x1bc)
[63566.417510] [<c003d408>] (__do_softirq+0x40/0x1bc) from [<c003d8e4>] (irq_exit+0x40/0x90)
[63566.426300] [<c003d8e4>] (irq_exit+0x40/0x90) from [<c000de58>] (handle_IRQ+0x64/0x84)
[63566.434844] [<c000de58>] (handle_IRQ+0x64/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
[63566.443450] [<c0417674>] (__irq_svc+0x34/0x78) from [<c001d658>] (omap3_enter_idle+0xf8/0x12c)
[63566.452728] [<c001d658>] (omap3_enter_idle+0xf8/0x12c) from [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0)
[63566.463104] [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0) from [<c0339040>] (cpuidle_idle_call+0xf0/0x26c)
[63566.473571] [<c0339040>] (cpuidle_idle_call+0xf0/0x26c) from [<c000e0b4>] (cpu_idle+0x44/0x94)
[63566.482818] [<c000e0b4>] (cpu_idle+0x44/0x94) from [<c05d16e4>] (start_kernel+0x250/0x294)
[63566.491699] Code: e0044002 e0055003 e1940005 0a000003 (e7f001f2) 
[63566.498443] omap3isp omap3isp: OMAP3 ISP AEWB: cannot process buffer, device is busy.
[63566.506927] ---[ end trace 0d8c0b4f212fe5e3 ]---
[63566.511962] Kernel panic - not syncing: Fatal exception in interrupt
[63566.519042] [<c0012134>] (unwind_backtrace+0x0/0xe0) from [<c0411018>] (panic+0x50/0x188)
[63566.527984] [<c0411018>] (panic+0x50/0x188) from [<c001085c>] (die+0x1a8/0x1e4)
[63566.535949] [<c001085c>] (die+0x1a8/0x1e4) from [<c00084e4>] (do_undefinstr+0x160/0x180)
[63566.544799] [<c00084e4>] (do_undefinstr+0x160/0x180) from [<c041772c>] (__und_svc_finish+0x0/0x14)
[63566.554443] Exception stack(0xc0605d70 to 0xc0605db8)
[63566.559967] 5d60:                                     20000000 c68646c0 04000000 20000000
[63566.568786] 5d80: 00000000 20000000 00000000 00000000 00000003 c0672280 c061de20 c06cad6c
[63566.577667] 5da0: 00000370 c0605df8 c007f68c c0023a28 200001d3 ffffffff
[63566.584869] [<c041772c>] (__und_svc_finish+0x0/0x14) from [<c0023a28>] (omap3_l3_app_irq+0x44/0x130)
[63566.594818] [<c0023a28>] (omap3_l3_app_irq+0x44/0x130) from [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c)
[63566.605621] [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c) from [<c007f894>] (handle_irq_event+0x28/0x38)
[63566.616302] [<c007f894>] (handle_irq_event+0x28/0x38) from [<c00819fc>] (handle_level_irq+0xb4/0xc4)
[63566.626190] [<c00819fc>] (handle_level_irq+0xb4/0xc4) from [<c007f11c>] (generic_handle_irq+0x20/0x30)
[63566.636322] [<c007f11c>] (generic_handle_irq+0x20/0x30) from [<c000de54>] (handle_IRQ+0x60/0x84)
[63566.645843] [<c000de54>] (handle_IRQ+0x60/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
[63566.654541] [<c0417674>] (__irq_svc+0x34/0x78) from [<c003d408>] (__do_softirq+0x40/0x1bc)
[63566.663543] [<c003d408>] (__do_softirq+0x40/0x1bc) from [<c003d8e4>] (irq_exit+0x40/0x90)
[63566.672454] [<c003d8e4>] (irq_exit+0x40/0x90) from [<c000de58>] (handle_IRQ+0x64/0x84)
[63566.681060] [<c000de58>] (handle_IRQ+0x64/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
[63566.689788] [<c0417674>] (__irq_svc+0x34/0x78) from [<c001d658>] (omap3_enter_idle+0xf8/0x12c)
[63566.699035] omap3isp omap3isp: OMAP3 ISP AEWB: cannot process buffer, device is busy.
[63566.707611] [<c001d658>] (omap3_enter_idle+0xf8/0x12c) from [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0)
[63566.718078] [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0) from [<c0339040>] (cpuidle_idle_call+0xf0/0x26c)
[63566.728637] [<c0339040>] (cpuidle_idle_call+0xf0/0x26c) from [<c000e0b4>] (cpu_idle+0x44/0x94)
[63566.737976] [<c000e0b4>] (cpu_idle+0x44/0x94) from [<c05d16e4>] (start_kernel+0x250/0x294)
  • Also, I missed this part of the fatal error.. Might be important to mention as well.

    [63563.804565] ------------[ cut here ]------------
    [63563.809570] WARNING: at arch/arm/mach-omap2/omap_l3_smx.c:161 omap3_l3_app_irq+0xe4/0x130()
    [63563.818511] In-band Error seen by USB_OTG at address 0
    [63563.824096] Modules linked in: libertas_sdio cdc_acm
    [63563.829498] [<c0012134>] (unwind_backtrace+0x0/0xe0) from [<c0037c20>] (warn_slowpath_common+0x4c/0x64)
    [63563.839599] [<c0037c20>] (warn_slowpath_common+0x4c/0x64) from [<c0037cb8>] (warn_slowpath_fmt+0x2c/0x3c)
    [63563.849914] [<c0037cb8>] (warn_slowpath_fmt+0x2c/0x3c) from [<c0023ac8>] (omap3_l3_app_irq+0xe4/0x130)
    [63563.859924] [<c0023ac8>] (omap3_l3_app_irq+0xe4/0x130) from [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c)
    [63563.870574] [<c007f68c>] (handle_irq_event_percpu+0x3c/0x21c) from [<c007f894>] (handle_irq_event+0x28/0x38)
    [63563.881103] [<c007f894>] (handle_irq_event+0x28/0x38) from [<c00819fc>] (handle_level_irq+0xb4/0xc4)
    [63563.890930] [<c00819fc>] (handle_level_irq+0xb4/0xc4) from [<c007f11c>] (generic_handle_irq+0x20/0x30)
    [63563.900970] [<c007f11c>] (generic_handle_irq+0x20/0x30) from [<c000de54>] (handle_IRQ+0x60/0x84)
    [63563.910461] [<c000de54>] (handle_IRQ+0x60/0x84) from [<c0417674>] (__irq_svc+0x34/0x78)
    [63563.919067] [<c0417674>] (__irq_svc+0x34/0x78) from [<c001d658>] (omap3_enter_idle+0xf8/0x12c)
    [63563.928344] [<c001d658>] (omap3_enter_idle+0xf8/0x12c) from [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0)
    [63563.938720] [<c001d7f0>] (omap3_enter_idle_bm+0x164/0x1c0) from [<c0339040>] (cpuidle_idle_call+0xf0/0x26c)
    [63563.949188] [<c0339040>] (cpuidle_idle_call+0xf0/0x26c) from [<c000e0b4>] (cpu_idle+0x44/0x94)
    [63563.958465] [<c000e0b4>] (cpu_idle+0x44/0x94) from [<c05d16e4>] (start_kernel+0x250/0x294)
    [63563.967315] ---[ end trace 0d8c0b4f212fe5d7 ]---