freezes with usb camera

Hello,

im working with a BBB/USB Camera/USB HDD and openCV, I try to stream video from the camera, but when stream have been working about 10 minutes the beaglebone freeze and stay hang with the user leds 2 & 3 ON. Im working with Ansgtrom but i had the same problem with Ubuntu.

I made tests with this and i detected that when i’m working with the ethernet unplugged don’t hang.

Log:

[ 832.028224] BUG: soft lockup - CPU#0 stuck for 22s! [kworker/0:1:15]
[ 832.055655] BUG: scheduling while atomic: kworker/0:1/15/0x40010100
[ 832.328464] Kernel panic - not syncing: softlockup: hung tasks
[ 832.339128] [] (unwind_backtrace+0x1/0x8c) from [] (panic
[ 832.353602] [] (panic+0x55/0x14c) from [] (watchdog_timer
[ 832.368481] [] (watchdog_timer_fn+0xcd/0x104) from [] (__
[ 832.385472] [] (__run_hrtimer.isra.15+0x4f/0x98) from []
[ 832.402542] [] (hrtimer_interrupt+0xd9/0x1dc) from [] (om
[ 832.420046] [] (omap2_gp_timer_interrupt+0x11/0x1c) from [<c0062019
[ 832.438252] [] (handle_irq_event_percpu+0x1d/0xf0) from [
[ 832.455228] [] (handle_irq_event+0x29/0x3c) from [] (hand
[ 832.471199] [] (handle_level_irq+0x77/0x8c) from [] (gene
[ 832.487487] [] (generic_handle_irq+0x13/0x1c) from [] (ha
[ 832.502866] [] (handle_IRQ+0x3b/0x5c) from [] (omap3_intc
[ 832.518663] [] (omap3_intc_handle_irq+0x39/0x5c) from []
[ 832.534045] Exception stack(0xdf111aa0 to 0xdf111ae8)
[ 832.543165] 1aa0: df1f9490 0301af51 000000db df1f9490 00001488 df1f8000 df3d6
[ 832.557490] 1ac0: c06bd440 5c09c40f c06bd440 c0657b54 5b1a5f1f df111ae8 c0347
[ 832.571580] 1ae0: 80000133 ffffffff
[ 832.578138] [] (__irq_svc+0x3b/0x5c) from [] (do_raw_spin
[ 832.593125] [] (do_raw_spin_lock+0x0/0x108) from [] (0xdc

Anyone have a solution for this problem?

What services of the systemd can be disabled without a high effect? e.g Cloud9,Bonescript…

Thanks, sorry for my english.

just wondering here … what are you using for your input supply?
it might be that with both connected, you need something like 2.5 amps.

solved, i disabled all the services of multi-user-target.wants except connman.service and now dont freezes,

thanks,

solved, i disabled all the services of multi-user-target.wants except
connman.service and now dont freezes,

thanks,

It seems to be a kernal bug, please report that also to the kernal--mailing-list
so that the problem can be fixed.

re,
wh