Skip to content

Frequent system crashes with BC-H08240A #79

@greyghost509

Description

@greyghost509

I have BC-H08240A running unter Linux kernel 3.18.7. Getting video frames from a single channel using ffmpeg or mplayer works fine. However, when increasing the number of channels being read, dmesg begins reporting stuff like this:

[ 1961.100513] WARNING: CPU: 5 PID: 3894 at drivers/media/v4l2-core/videobuf2-core.c:2135 __vb2_queue_cancel+0x116/0x180 videobuf2_core
[ 1961.100514] Modules linked in: solo6x10 x86_pkg_temp_thermal videobuf2_dma_contig videobuf2_dma_sg videobuf2_memops videobuf2_core
[ 1961.100518] CPU: 5 PID: 3894 Comm: ffmpeg Tainted: G W 3.18.7-gentoo #2
[ 1961.100519] Hardware name: Supermicro X10SRi-F/X10SRi-F, BIOS 1.0a 08/27/2014
[ 1961.100520] 0000000000000009 ffff880459943bc8 ffffffff818fca15 0000000000000000
[ 1961.100522] 0000000000000000 ffff880459943c08 ffffffff81048dec ffff88046ce888d0
[ 1961.100523] 0000000000000000 0000000000000001 0000000000000000 ffff880468c60550
[ 1961.100524] Call Trace:
[ 1961.100531] [] dump_stack+0x46/0x58
[ 1961.100534] [] warn_slowpath_common+0x7c/0xa0
[ 1961.100536] [] warn_slowpath_null+0x15/0x20
[ 1961.100538] [] __vb2_queue_cancel+0x116/0x180 [videobuf2_core]
[ 1961.100539] [] vb2_internal_streamoff+0x35/0xd0 [videobuf2_core]
[ 1961.100541] [] vb2_streamoff+0x25/0x50 [videobuf2_core]
[ 1961.100542] [] vb2_ioctl_streamoff+0x40/0x50 [videobuf2_core]
[ 1961.100546] [] v4l_streamoff+0x15/0x20
[ 1961.100547] [] __video_do_ioctl+0x274/0x2f0
[ 1961.100549] [] video_usercopy+0x20e/0x580
[ 1961.100551] [] ? v4l_dqevent+0x20/0x20
[ 1961.100554] [] ? __free_pages+0x27/0x30
[ 1961.100556] [] ? __slab_free+0xfc/0x2ae
[ 1961.100559] [] ? tlb_finish_mmu+0x2d/0x40
[ 1961.100562] [] ? unmap_region+0xce/0x110
[ 1961.100563] [] video_ioctl2+0x10/0x20
[ 1961.100564] [] v4l2_ioctl+0x11b/0x150
[ 1961.100567] [] do_vfs_ioctl+0x2c8/0x4a0
[ 1961.100569] [] ? do_munmap+0x29f/0x3b0
[ 1961.100570] [] SyS_ioctl+0x3c/0x80
[ 1961.100574] [] system_call_fastpath+0x12/0x17
[ 1961.100575] ---[ end trace 50eb834316a63f8b ]---
[ 2269.850563] kworker/dying (1846) used greatest stack depth: 12040 bytes left

Sooner or later, the system will crash. When grabbing more than 4 channels at the same time, the system will reliably crash within seconds (regardless of using mplayer for ffmpeg).
Interestingly, this only appears to happen when there are signals connected to the inputs. I have 8 channels being grabbed in parallel just fine for many hours without any signal connected.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions