Dear all
I have a V4L2 capture issue for Sitara AM335x SDK7.0 and g-streamer on the BBB.
When I used UVC and execute g-streamer command "gst-launch-0.10 -e v4l2src num-buffers=1 ! video/x-raw-yuv,width=320,heig",
Sometimes the kernel will respond to the following log :
[ 1979.057919] ------------[ cut here ]------------
[ 1979.067122] WARNING: CPU: 0 PID: 44 at drivers/dma/cppi41.c:383 cppi41_dma_issue_pending+0xb0/0xc0()
[ 1979.083555] Modules linked in: uvcvideo videobuf2_vmalloc g_mass_storage usb_f_mass_storage libcomposite configfs bufferclass_ti(O) omaplfb(O) cryptodev(O) wl18xx wlcore mac80211 cfg80211 musb_dsps musb_hdrc snd_soc_omap snd_pcm_dmaengine pvrsrvkm(O) snd_soc_evm snd_soc_davinci_mcasp snd_soc_tlv320aic3x snd_soc_davinci snd_soc_core snd_compress regmap_spi lis3lv02d_i2c snd_pcm lm75 lis3lv02d snd_page_alloc tsl2550 input_polldev snd_timer snd soundcore wlcore_sdio btwilink musb_am335x ti_am335x_adc industrialio bluetooth
[ 1979.170762] CPU: 0 PID: 44 Comm: kworker/0:1 Tainted: G O 3.12.10-ti2013.12.01 #3
[ 1979.186873] Workqueue: events cppi_trans_done_work [musb_hdrc]
[ 1979.197533] Backtrace:
[ 1979.202528] [<c0017880>] (dump_backtrace+0x0/0x10c) from [<c0017a1c>] (show_stack+0x18/0x1c)
[ 1979.217755] r6:c02f49b4 r5:00000009 r4:00000000 r3:00000001
[ 1979.228827] [<c0017a04>] (show_stack+0x0/0x1c) from [<c056b5b0>] (dump_stack+0x20/0x28)
[ 1979.243602] [<c056b590>] (dump_stack+0x0/0x28) from [<c0046d08>] (warn_slowpath_common+0x70/0x90)
[ 1979.259869] [<c0046c98>] (warn_slowpath_common+0x0/0x90) from [<c0046d4c>] (warn_slowpath_null+0x24/0x2c)
[ 1979.277071] r8:00000bf4 r7:00000056 r6:9d8426c0 r5:dd613000 r4:dd5632c0
[ 1979.290101] [<c0046d28>] (warn_slowpath_null+0x0/0x2c) from [<c02f49b4>] (cppi41_dma_issue_pending+0xb0/0xc0)
[ 1979.308779] [<c02f4904>] (cppi41_dma_issue_pending+0x0/0xc0) from [<bf1b2f08>] (cppi41_trans_done+0xe4/0x144 [musb_hdrc])
[ 1979.328456] r7:9c520bf4 r6:e1002dd0 r5:dd5632c0 r4:dc010404
[ 1979.340559] [<bf1b2e24>] (cppi41_trans_done+0x0/0x144 [musb_hdrc]) from [<bf1b2fec>] (cppi_trans_done_work+0x84/0xa0 [musb_hdrc])
[ 1979.362338] [<bf1b2f68>] (cppi_trans_done_work+0x0/0xa0 [musb_hdrc]) from [<c0059f50>] (process_one_work+0xfc/0x340)
[ 1979.381248] r4:dd0c1c40 r3:bf1b2f68
[ 1979.388314] [<c0059e54>] (process_one_work+0x0/0x340) from [<c005a558>] (worker_thread+0x130/0x370)
[ 1979.404853] [<c005a428>] (worker_thread+0x0/0x370) from [<c005fbdc>] (kthread+0xac/0xb8)
[ 1979.419766] [<c005fb30>] (kthread+0x0/0xb8) from [<c00146f8>] (ret_from_fork+0x14/0x3c)
[ 1979.434189] r7:00000000 r6:00000000 r5:c005fb30 r4:dd08fe74
[ 1979.444963] ---[ end trace f17fa13d0f3d15ae ]---
[ 1979.454741] ------------[ cut here ]------------
[ 1979.463467] WARNING: CPU: 0 PID: 44 at drivers/dma/cppi41.c:317 cppi41_irq+0x14c/0x1a8()
[ 1979.478029] Modules linked in: uvcvideo videobuf2_vmalloc g_mass_storage usb_f_mass_storage libcomposite configfs bufferclass_ti(O) omaplfb(O) cryptodev(O) wl18xx wlcore mac80211 cfg80211 musb_dsps musb_hdrc snd_soc_omap snd_pcm_dmaengine pvrsrvkm(O) snd_soc_evm snd_soc_davinci_mcasp snd_soc_tlv320aic3x snd_soc_davinci snd_soc_core snd_compress regmap_spi lis3lv02d_i2c snd_pcm lm75 lis3lv02d snd_page_alloc tsl2550 input_polldev snd_timer snd soundcore wlcore_sdio btwilink musb_am335x ti_am335x_adc industrialio bluetooth
[ 1979.564952] CPU: 0 PID: 44 Comm: kworker/0:1 Tainted: G W O 3.12.10-ti2013.12.01 #3
[ 1979.580815] Workqueue: events cppi_trans_done_work [musb_hdrc]
[ 1979.591448] Backtrace:
[ 1979.596378] [<c0017880>] (dump_backtrace+0x0/0x10c) from [<c0017a1c>] (show_stack+0x18/0x1c)
[ 1979.611584] r6:c02f4b8c r5:00000009 r4:00000000 r3:c07f737c
[ 1979.622600] [<c0017a04>] (show_stack+0x0/0x1c) from [<c056b5b0>] (dump_stack+0x20/0x28)
[ 1979.637324] [<c056b590>] (dump_stack+0x0/0x28) from [<c0046d08>] (warn_slowpath_common+0x70/0x90)
[ 1979.653585] [<c0046c98>] (warn_slowpath_common+0x0/0x90) from [<c0046d4c>] (warn_slowpath_null+0x24/0x2c)
[ 1979.670776] r8:9d8426c0 r7:00000001 r6:00000080 r5:00000000 r4:00000000
[ 1979.683763] [<c0046d28>] (warn_slowpath_null+0x0/0x2c) from [<c02f4b8c>] (cppi41_irq+0x14c/0x1a8)
[ 1979.700040] [<c02f4a40>] (cppi41_irq+0x0/0x1a8) from [<c007162c>] (handle_irq_event_percpu+0x54/0x1b8)
[ 1979.717069] [<c00715d8>] (handle_irq_event_percpu+0x0/0x1b8) from [<c00717c0>] (handle_irq_event+0x30/0x40)
[ 1979.734881] [<c0071790>] (handle_irq_event+0x0/0x40) from [<c0073b78>] (handle_level_irq+0x88/0xdc)
[ 1979.751153] r4:dd005240 r3:00020000
[ 1979.758231] [<c0073af0>] (handle_level_irq+0x0/0xdc) from [<c0070f34>] (generic_handle_irq+0x28/0x38)
[ 1979.774811] r4:00000021 r3:c0073af0
[ 1979.781900] [<c0070f0c>] (generic_handle_irq+0x0/0x38) from [<c0015560>] (handle_IRQ+0x38/0x8c)
[ 1979.797557] r4:c07ff37c r3:00000112
[ 1979.804614] [<c0015528>] (handle_IRQ+0x0/0x8c) from [<c000879c>] (omap3_intc_handle_irq+0x68/0x7c)
[ 1979.820730] r6:c082e914 r5:dd0bfd90 r4:fa200000 r3:00000080
[ 1979.831791] [<c0008734>] (omap3_intc_handle_irq+0x0/0x7c) from [<c056f1c0>] (__irq_svc+0x40/0x54)
[ 1979.847811] Exception stack(0xdd0bfd90 to 0xdd0bfdd8)
[ 1979.857149] fd80: 00000001 c082fa00 00000000 00000100
[ 1979.872084] fda0: 00000001 00000021 c082fa44 c082fa40 dd0be000 dd0be000 00000000 dd0bfe1c
[ 1979.886965] fdc0: 0000000a dd0bfdd8 c004a2ac c004a30c 200f0113 ffffffff
[ 1979.898929] r7:dd0bfdc4 r6:ffffffff r5:200f0113 r4:c004a30c
[ 1979.910044] [<c004a294>] (__do_softirq+0x0/0x1ac) from [<c004a4e0>] (do_softirq+0x50/0x5c)
[ 1979.925233] [<c004a490>] (do_softirq+0x0/0x5c) from [<c004a758>] (irq_exit+0x9c/0xf0)
[ 1979.939348] r4:dd0be000 r3:00000000
[ 1979.946435] [<c004a6bc>] (irq_exit+0x0/0xf0) from [<c0015564>] (handle_IRQ+0x3c/0x8c)
[ 1979.960552] r4:c07ff37c r3:00000112
[ 1979.967597] [<c0015528>] (handle_IRQ+0x0/0x8c) from [<c000879c>] (omap3_intc_handle_irq+0x68/0x7c)
[ 1979.983712] r6:c082e914 r5:dd0bfe90 r4:fa200000 r3:00000080
[ 1979.994739] [<c0008734>] (omap3_intc_handle_irq+0x0/0x7c) from [<c056f1c0>] (__irq_svc+0x40/0x54)
[ 1980.010749] Exception stack(0xdd0bfe90 to 0xdd0bfed8)
[ 1980.020068] fe80: 00000000 e1002dd6 e09a8000 00002020
[ 1980.034995] fea0: 600f0013 dc010448 c07f62a4 c0c7b400 00000000 dd0be000 00000000 dd0bfeec
[ 1980.049872] fec0: 00000000 dd0bfed8 c0046a08 bf1b2ff0 600f0013 ffffffff
[ 1980.061827] r7:dd0bfec4 r6:ffffffff r5:600f0013 r4:bf1b2ff0
[ 1980.073482] [<bf1b2f68>] (cppi_trans_done_work+0x0/0xa0 [musb_hdrc]) from [<c0059f50>] (process_one_work+0xfc/0x340)
[ 1980.092388] r4:dd0c1c40 r3:bf1b2f68
[ 1980.099456] [<c0059e54>] (process_one_work+0x0/0x340) from [<c005a558>] (worker_thread+0x130/0x370)
[ 1980.115979] [<c005a428>] (worker_thread+0x0/0x370) from [<c005fbdc>] (kthread+0xac/0xb8)
[ 1980.130818] [<c005fb30>] (kthread+0x0/0xb8) from [<c00146f8>] (ret_from_fork+0x14/0x3c)
[ 1980.145242] r7:00000000 r6:00000000 r5:c005fb30 r4:dd08fe74
[ 1980.156009] ---[ end trace f17fa13d0f3d15af ]---
[ 1980.164485] cppi41_irq() q 153 desc 9d8426c0
How can I fix this issue, please give me suggestions, thank you.