{"action":"created","issue":{"url":"https://api.github.com/repos/bluecherrydvr/solo6x10/issues/79","repository_url":"https://api.github.com/repos/bluecherrydvr/solo6x10","labels_url":"https://api.github.com/repos/bluecherrydvr/solo6x10/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/bluecherrydvr/solo6x10/issues/79/comments","events_url":"https://api.github.com/repos/bluecherrydvr/solo6x10/issues/79/events","html_url":"https://github.com/bluecherrydvr/solo6x10/issues/79","id":182474135,"number":79,"title":"Frequent system crashes with BC-H08240A","user":{"login":"gerritkuehn","id":22788797,"avatar_url":"https://avatars.githubusercontent.com/u/22788797?v=3","gravatar_id":"","url":"https://api.github.com/users/gerritkuehn","html_url":"https://github.com/gerritkuehn","followers_url":"https://api.github.com/users/gerritkuehn/followers","following_url":"https://api.github.com/users/gerritkuehn/following{/other_user}","gists_url":"https://api.github.com/users/gerritkuehn/gists{/gist_id}","starred_url":"https://api.github.com/users/gerritkuehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerritkuehn/subscriptions","organizations_url":"https://api.github.com/users/gerritkuehn/orgs","repos_url":"https://api.github.com/users/gerritkuehn/repos","events_url":"https://api.github.com/users/gerritkuehn/events{/privacy}","received_events_url":"https://api.github.com/users/gerritkuehn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"andrey-utkin","id":15657784,"avatar_url":"https://avatars.githubusercontent.com/u/15657784?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-utkin","html_url":"https://github.com/andrey-utkin","followers_url":"https://api.github.com/users/andrey-utkin/followers","following_url":"https://api.github.com/users/andrey-utkin/following{/other_user}","gists_url":"https://api.github.com/users/andrey-utkin/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-utkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-utkin/subscriptions","organizations_url":"https://api.github.com/users/andrey-utkin/orgs","repos_url":"https://api.github.com/users/andrey-utkin/repos","events_url":"https://api.github.com/users/andrey-utkin/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-utkin/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrey-utkin","id":15657784,"avatar_url":"https://avatars.githubusercontent.com/u/15657784?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-utkin","html_url":"https://github.com/andrey-utkin","followers_url":"https://api.github.com/users/andrey-utkin/followers","following_url":"https://api.github.com/users/andrey-utkin/following{/other_user}","gists_url":"https://api.github.com/users/andrey-utkin/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-utkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-utkin/subscriptions","organizations_url":"https://api.github.com/users/andrey-utkin/orgs","repos_url":"https://api.github.com/users/andrey-utkin/repos","events_url":"https://api.github.com/users/andrey-utkin/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-utkin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-10-12T09:13:03Z","updated_at":"2016-10-17T05:47:02Z","closed_at":null,"body":"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:\r\n\r\n[ 1961.100513] WARNING: CPU: 5 PID: 3894 at drivers/media/v4l2-core/videobuf2-core.c:2135 __vb2_queue_cancel+0x116/0x180 [videobuf2_core]()\r\n[ 1961.100514] Modules linked in: solo6x10 x86_pkg_temp_thermal videobuf2_dma_contig videobuf2_dma_sg videobuf2_memops videobuf2_core\r\n[ 1961.100518] CPU: 5 PID: 3894 Comm: ffmpeg Tainted: G        W      3.18.7-gentoo #2\r\n[ 1961.100519] Hardware name: Supermicro X10SRi-F/X10SRi-F, BIOS 1.0a 08/27/2014\r\n[ 1961.100520]  0000000000000009 ffff880459943bc8 ffffffff818fca15 0000000000000000\r\n[ 1961.100522]  0000000000000000 ffff880459943c08 ffffffff81048dec ffff88046ce888d0\r\n[ 1961.100523]  0000000000000000 0000000000000001 0000000000000000 ffff880468c60550\r\n[ 1961.100524] Call Trace:\r\n[ 1961.100531]  [<ffffffff818fca15>] dump_stack+0x46/0x58\r\n[ 1961.100534]  [<ffffffff81048dec>] warn_slowpath_common+0x7c/0xa0\r\n[ 1961.100536]  [<ffffffff81048eb5>] warn_slowpath_null+0x15/0x20\r\n[ 1961.100538]  [<ffffffffa0001626>] __vb2_queue_cancel+0x116/0x180 [videobuf2_core]\r\n[ 1961.100539]  [<ffffffffa0002b45>] vb2_internal_streamoff+0x35/0xd0 [videobuf2_core]\r\n[ 1961.100541]  [<ffffffffa0002c05>] vb2_streamoff+0x25/0x50 [videobuf2_core]\r\n[ 1961.100542]  [<ffffffffa0002c70>] vb2_ioctl_streamoff+0x40/0x50 [videobuf2_core]\r\n[ 1961.100546]  [<ffffffff8164af75>] v4l_streamoff+0x15/0x20\r\n[ 1961.100547]  [<ffffffff8164d924>] __video_do_ioctl+0x274/0x2f0\r\n[ 1961.100549]  [<ffffffff8165014e>] video_usercopy+0x20e/0x580\r\n[ 1961.100551]  [<ffffffff8164d6b0>] ? v4l_dqevent+0x20/0x20\r\n[ 1961.100554]  [<ffffffff810fab27>] ? __free_pages+0x27/0x30\r\n[ 1961.100556]  [<ffffffff818fb10a>] ? __slab_free+0xfc/0x2ae\r\n[ 1961.100559]  [<ffffffff8111a61d>] ? tlb_finish_mmu+0x2d/0x40\r\n[ 1961.100562]  [<ffffffff81120b1e>] ? unmap_region+0xce/0x110\r\n[ 1961.100563]  [<ffffffff816504d0>] video_ioctl2+0x10/0x20\r\n[ 1961.100564]  [<ffffffff81649c4b>] v4l2_ioctl+0x11b/0x150\r\n[ 1961.100567]  [<ffffffff81157648>] do_vfs_ioctl+0x2c8/0x4a0\r\n[ 1961.100569]  [<ffffffff81122caf>] ? do_munmap+0x29f/0x3b0\r\n[ 1961.100570]  [<ffffffff8115785c>] SyS_ioctl+0x3c/0x80\r\n[ 1961.100574]  [<ffffffff81905b12>] system_call_fastpath+0x12/0x17\r\n[ 1961.100575] ---[ end trace 50eb834316a63f8b ]---\r\n[ 2269.850563] kworker/dying (1846) used greatest stack depth: 12040 bytes left\r\n\r\nSooner 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).\r\nInterestingly, 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.\r\n"},"comment":{"url":"https://api.github.com/repos/bluecherrydvr/solo6x10/issues/comments/254117691","html_url":"https://github.com/bluecherrydvr/solo6x10/issues/79#issuecomment-254117691","issue_url":"https://api.github.com/repos/bluecherrydvr/solo6x10/issues/79","id":254117691,"user":{"login":"gerritkuehn","id":22788797,"avatar_url":"https://avatars.githubusercontent.com/u/22788797?v=3","gravatar_id":"","url":"https://api.github.com/users/gerritkuehn","html_url":"https://github.com/gerritkuehn","followers_url":"https://api.github.com/users/gerritkuehn/followers","following_url":"https://api.github.com/users/gerritkuehn/following{/other_user}","gists_url":"https://api.github.com/users/gerritkuehn/gists{/gist_id}","starred_url":"https://api.github.com/users/gerritkuehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerritkuehn/subscriptions","organizations_url":"https://api.github.com/users/gerritkuehn/orgs","repos_url":"https://api.github.com/users/gerritkuehn/repos","events_url":"https://api.github.com/users/gerritkuehn/events{/privacy}","received_events_url":"https://api.github.com/users/gerritkuehn/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T05:47:02Z","updated_at":"2016-10-17T05:47:02Z","body":"This fixes a regression that was introduced in June 2015 as far as I can see. However, my old kernel was 3.18.7, sources downloaded in March 2015, so it cannot contain the offending code under suspicion?!\r\nIn any case, the fix you mention is rather new and has not made it back into neither -stable nor mainline kernel (at least I cannot find it there).\r\n\r\nThe good news from my side is that your development kernel worked perfectly over the whole weekend here with ffmpeg running on all 8 channels.\r\nSo I'll try upgrading to the latest kernel offered by the distribution and use it with the recent driver from your (this) repo."}}
{"actor":{"display_login":"gerritkuehn"}}