{"action":"created","issue":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/2114","repository_url":"https://api.github.com/repos/raspberrypi/linux","labels_url":"https://api.github.com/repos/raspberrypi/linux/issues/2114/labels{/name}","comments_url":"https://api.github.com/repos/raspberrypi/linux/issues/2114/comments","events_url":"https://api.github.com/repos/raspberrypi/linux/issues/2114/events","html_url":"https://github.com/raspberrypi/linux/issues/2114","id":242903655,"number":2114,"title":"PiCamera 2.1 module not working with rpi-4.12.y branch","user":{"login":"alexxy","id":100408,"avatar_url":"https://avatars3.githubusercontent.com/u/100408?v=4","gravatar_id":"","url":"https://api.github.com/users/alexxy","html_url":"https://github.com/alexxy","followers_url":"https://api.github.com/users/alexxy/followers","following_url":"https://api.github.com/users/alexxy/following{/other_user}","gists_url":"https://api.github.com/users/alexxy/gists{/gist_id}","starred_url":"https://api.github.com/users/alexxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexxy/subscriptions","organizations_url":"https://api.github.com/users/alexxy/orgs","repos_url":"https://api.github.com/users/alexxy/repos","events_url":"https://api.github.com/users/alexxy/events{/privacy}","received_events_url":"https://api.github.com/users/alexxy/received_events","type":"User","site_admin":false},"labels":[{"id":607253372,"url":"https://api.github.com/repos/raspberrypi/linux/labels/Waiting%20input%20from%20originator","name":"Waiting input from originator","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-07-14T05:50:22Z","updated_at":"2017-09-29T07:47:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi!\r\n\r\nI get picamera 2.1 module and it seems its not working via bcm2835-v4l2\r\n\r\n> [10749.357227] mmal_vchiq: received invalid message context 132!\r\n[37556.267576] bcm2835-v4l2: Clipping/aligning 800x600 format 47504A4D\r\n[37556.267593] bcm2835-v4l2: Now 800x600 format 47504A4D\r\n[37556.267608] bcm2835-v4l2: vidioc_try_fmt_vid_cap: w 800 h 600 field 1 pfmt 0x47504a4d bpl 0 sz_img 486400 colorspace 0x1 priv 0\r\n[37556.267617] bcm2835-v4l2: vid_cap - disconnect previous tunnel\r\n[37556.268334] bcm2835-v4l2: vid_cap - set up encode comp\r\n[37556.268991] bcm2835-v4l2: vid_cap - cur_buf.size set to 486400\r\n[37556.269003] bcm2835-v4l2: Set dev->capture.fmt 47504A4D, 800x600, stride 0, size 486400\r\n[37556.269044] bcm2835-v4l2: Set fps range to 24/1 to 24/1\r\n[37556.269397] bcm2835-v4l2: queue_setup: dev:baff2800\r\n[37556.272543] bcm2835-v4l2: buffer_prepare: dev:baff2800\r\n[37556.272569] bcm2835-v4l2: buffer_prepare: dev:baff2800\r\n[37556.272586] bcm2835-v4l2: buffer_prepare: dev:baff2800\r\n[37556.272600] bcm2835-v4l2: buffer_prepare: dev:baff2800\r\n[37556.272662] bcm2835-v4l2: vidioc_g_fmt_vid_cap: w 800 h 600 field 1 pfmt 0x47504a4d bpl 0 sz_img 486400 colorspace 0x1 priv 0\r\n[37556.276729] bcm2835-v4l2: buffer_queue: dev:baff2800 buf:baa00e00\r\n[37556.276747] bcm2835-v4l2: buffer_queue: dev:baff2800 buf:baa01800\r\n[37556.276756] bcm2835-v4l2: buffer_queue: dev:baff2800 buf:baa01a00\r\n[37556.276765] bcm2835-v4l2: buffer_queue: dev:baff2800 buf:baa00c00\r\n[37556.276774] bcm2835-v4l2: start_streaming: dev:baff2800\r\n[37559.355993] mmal_vchiq: error 0 waiting for sync completion\r\n[37559.356014] bcm2835-v4l2: Failed enabling camera, ret -62\r\n[37559.356021] bcm2835-v4l2: Failed to enable camera\r\n[37559.356029] ------------[ cut here ]------------\r\n[37559.356088] WARNING: CPU: 1 PID: 30338 at drivers/media/v4l2-core/videobuf2-core.c:1342 vb2_start_streaming+0xe4/0x160 [videobuf2_core]\r\n[37559.356095] Modules linked in: bcm2835_v4l2(C) videobuf2_vmalloc videobuf2_memops v4l2_common videobuf2_v4l2 videobuf2_core videodev media ipv6 8021q garp stp llc binfmt_misc uio_pdrv_genirq fixed uio\r\n[37559.356193] CPU: 1 PID: 30338 Comm: mjpg_streamer Tainted: G        WC      4.12.0-raspberrypi-rpi+ #2\r\n[37559.356199] Hardware name: BCM2835\r\n[37559.356240] [<8011073c>] (unwind_backtrace) from [<8010c56c>] (show_stack+0x20/0x24)\r\n[37559.356262] [<8010c56c>] (show_stack) from [<80586398>] (dump_stack+0xc8/0x10c)\r\n[37559.356284] [<80586398>] (dump_stack) from [<8011e77c>] (__warn+0xf8/0x110)\r\n[37559.356301] [<8011e77c>] (__warn) from [<8011e838>] (warn_slowpath_null+0x30/0x38)\r\n[37559.356339] [<8011e838>] (warn_slowpath_null) from [<7f153ca4>] (vb2_start_streaming+0xe4/0x160 [videobuf2_core])\r\n[37559.356395] [<7f153ca4>] (vb2_start_streaming [videobuf2_core]) from [<7f155a30>] (vb2_core_streamon+0x138/0x180 [videobuf2_core])\r\n[37559.356458] [<7f155a30>] (vb2_core_streamon [videobuf2_core]) from [<7f163068>] (vb2_streamon+0x40/0x60 [videobuf2_v4l2])\r\n[37559.356504] [<7f163068>] (vb2_streamon [videobuf2_v4l2]) from [<7f1630d4>] (vb2_ioctl_streamon+0x4c/0x50 [videobuf2_v4l2])\r\n[37559.356686] [<7f1630d4>] (vb2_ioctl_streamon [videobuf2_v4l2]) from [<7f118d64>] (v4l_streamon+0x2c/0x30 [videodev])\r\n[37559.356874] [<7f118d64>] (v4l_streamon [videodev]) from [<7f11e9b0>] (__video_do_ioctl+0x2b8/0x330 [videodev])\r\n[37559.357060] [<7f11e9b0>] (__video_do_ioctl [videodev]) from [<7f11ed04>] (video_usercopy+0x2dc/0x630 [videodev])\r\n[37559.357245] [<7f11ed04>] (video_usercopy [videodev]) from [<7f11f078>] (video_ioctl2+0x20/0x24 [videodev])\r\n[37559.357427] [<7f11f078>] (video_ioctl2 [videodev]) from [<7f11765c>] (v4l2_ioctl+0xb0/0xe8 [videodev])\r\n[37559.357531] [<7f11765c>] (v4l2_ioctl [videodev]) from [<802abff0>] (do_vfs_ioctl+0xc0/0x820)\r\n[37559.357549] [<802abff0>] (do_vfs_ioctl) from [<802ac794>] (SyS_ioctl+0x44/0x6c)\r\n[37559.357568] [<802ac794>] (SyS_ioctl) from [<80108360>] (ret_fast_syscall+0x0/0x1c)\r\n[37559.357577] ---[ end trace 07789c701c79b1a4 ]---\r\n[37560.281833] mmal_vchiq: received invalid message context 150!\r\n"},"comment":{"url":"https://api.github.com/repos/raspberrypi/linux/issues/comments/333056402","html_url":"https://github.com/raspberrypi/linux/issues/2114#issuecomment-333056402","issue_url":"https://api.github.com/repos/raspberrypi/linux/issues/2114","id":333056402,"user":{"login":"alexxy","id":100408,"avatar_url":"https://avatars3.githubusercontent.com/u/100408?v=4","gravatar_id":"","url":"https://api.github.com/users/alexxy","html_url":"https://github.com/alexxy","followers_url":"https://api.github.com/users/alexxy/followers","following_url":"https://api.github.com/users/alexxy/following{/other_user}","gists_url":"https://api.github.com/users/alexxy/gists{/gist_id}","starred_url":"https://api.github.com/users/alexxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexxy/subscriptions","organizations_url":"https://api.github.com/users/alexxy/orgs","repos_url":"https://api.github.com/users/alexxy/repos","events_url":"https://api.github.com/users/alexxy/events{/privacy}","received_events_url":"https://api.github.com/users/alexxy/received_events","type":"User","site_admin":false},"created_at":"2017-09-29T07:47:33Z","updated_at":"2017-09-29T07:47:33Z","author_association":"CONTRIBUTOR","body":"So firmware at least see this camera\r\n\r\nrpi ~ # vcgencmd get_camera\r\nsupported=1 detected=1\r\n\r\nrpi ~ # vcdbg reloc\r\n\r\nRelocatable heap version 4 found at 0x2c400000\r\ntotal space allocated is 296M, with 16M relocatable, 0 legacy and 280M offline\r\n0 legacy blocks of size 2359296\r\n\r\nfree list at 0x3eaef520\r\n15M free memory in 1 free block(s)\r\nlargest free block is 15M bytes\r\n\r\n0x2c400000: offline 280M\r\n0x3dc00000: free 15M\r\n[   4] 0x3eaef540: used  576 (refcount 1 lock count 0, size      512, align    4, data 0x3eaef560, d0rual) 'ILCS VC buffer pool'\r\n[   3] 0x3eaef780: used 1.0M (refcount 1 lock count 8, size  1091584, align 4096, data 0x3eaf0000, d1rual) 'ARM FB'\r\n[   2] 0x3ebfafa0: used  16K (refcount 1 lock count 0, size    16384, align   32, data 0x3ebfafc0, d0ruAl) 'audioplus_tmp_buf'\r\n[   1] 0x3ebfefe0: used 4.0K (refcount 1 lock count 0, size        0, align 4096, data 0x3ebff000, d1rual) 'camera fast alloc arena'\r\nsmall allocs not requested\r\n"}}
{"actor":{"display_login":"alexxy"}}