Camera stopped working, WARNING: at /home/abuild/rpmbuild/BUILD/kernel/drivers/clk/qcom/clock-local2.c:158 rcg_clk_prepare+0x3c/0x50()

asked 2018-02-14 11:25:48 +0200

onion gravatar image

updated 2018-02-14 17:33:26 +0200

olf gravatar image

Camera stopped working, found this in dmesg, seems to be related (Jolla C, Linux Sailfish 3.10.49+0.0.79 #1 SMP PREEMPT Thu Oct 5 10:06:01 UTC 2017 ):

[26786.874189] msm_csid_init: CSID_VERSION = 0x30010000
[26786.856084] msm_pm_qos_update_request: update request 100
[26786.874781]  msm_csid_init: Failed in getting TOP gdscr regulator handle
[26786.875821] ------------[ cut here ]------------
[26786.875876] WARNING: at /home/abuild/rpmbuild/BUILD/kernel/drivers/clk/qcom/clock-local2.c:158 rcg_clk_prepare+0x3c/0x50()
[26786.875921] Attempting to prepare csi1_clk_src before setting its rate. Set the rate first!
[26786.875928] Modules linked in: wlan(O) radio_iris_transport [last unloaded: wlan]
[26786.875960] CPU: 0 PID: 24892 Comm: mct_pipe_start Tainted: G        W  O 3.10.49+0.0.79 #1
[26786.875985] [<c010d758>] (unwind_backtrace+0x0/0x128) from [<c010abe8>] (show_stack+0x20/0x24)
[26786.876004] [<c010abe8>] (show_stack+0x20/0x24) from [<c0a47b5c>] (dump_stack+0x20/0x28)
[26786.876024] [<c0a47b5c>] (dump_stack+0x20/0x28) from [<c011cf88>] (warn_slowpath_common+0x5c/0x7c)
[26786.876043] [<c011cf88>] (warn_slowpath_common+0x5c/0x7c) from [<c011cfe8>] (warn_slowpath_fmt+0x40/0x48)
[26786.876061] [<c011cfe8>] (warn_slowpath_fmt+0x40/0x48) from [<c079ab9c>] (rcg_clk_prepare+0x3c/0x50)
[26786.876078] [<c079ab9c>] (rcg_clk_prepare+0x3c/0x50) from [<c079720c>] (clk_enable+0x154/0x198)
[26786.876094] [<c079720c>] (clk_enable+0x154/0x198) from [<c079714c>] (clk_enable+0x94/0x198)
[26786.876113] [<c079714c>] (clk_enable+0x94/0x198) from [<c0658a34>] (msm_cam_clk_enable+0x134/0x284)
[26786.876133] [<c0658a34>] (msm_cam_clk_enable+0x134/0x284) from [<c065fe0c>] (msm_csiphy_subdev_ioctl+0x300/0xab0)
[26786.876153] [<c065fe0c>] (msm_csiphy_subdev_ioctl+0x300/0xab0) from [<c060b434>] (subdev_do_ioctl+0x6d8/0x73c)
[26786.876171] [<c060b434>] (subdev_do_ioctl+0x6d8/0x73c) from [<c0603fd4>] (video_usercopy+0x2cc/0x424)
[26786.876194] [<c0603fd4>] (video_usercopy+0x2cc/0x424) from [<c060ad54>] (subdev_ioctl+0x1c/0x24)
[26786.876220] [<c060ad54>] (subdev_ioctl+0x1c/0x24) from [<c05ff308>] (v4l2_ioctl+0x70/0x134)
[26786.876240] [<c05ff308>] (v4l2_ioctl+0x70/0x134) from [<c021e640>] (vfs_ioctl+0x38/0x4c)
[26786.876257] [<c021e640>] (vfs_ioctl+0x38/0x4c) from [<c021f14c>] (do_vfs_ioctl+0x4d8/0x584)
[26786.876274] [<c021f14c>] (do_vfs_ioctl+0x4d8/0x584) from [<c021f258>] (SyS_ioctl+0x60/0x8c)
[26786.876292] [<c021f258>] (SyS_ioctl+0x60/0x8c) from [<c0106b00>] (ret_fast_syscall+0x0/0x48)
[26786.876302] ---[ end trace da227214a8249326 ]---
[26786.906180] msm_camera_config_single_vreg : can't find sub reg name
[26786.925662] msm_sensor_config:1245 sensor state 1
[26787.422670] msm_isp_send_hw_cmd:948 hi 8 lo 8
[26787.422757] msm_isp_send_hw_cmd:948 hi 8 lo 8
[26787.422829] msm_isp_send_hw_cmd:948 hi 8 lo 8
[26787.436553] csi2_src_clk get failed
[26787.450467] ispif_process_irq: PIX0 frame id: 0
[26787.452205] msm_isp_sof_notify: PIX0 frame id: 0
[26787.504890] ispif_process_irq: PIX0 frame id: 1
[26787.506569] msm_isp_sof_notify: PIX0 frame id: 1
[26787.554891] ispif_process_irq: PIX0 frame id: 2
[26787.556720] msm_isp_sof_notify: PIX0 frame id: 2
[26787.604933] ispif_process_irq: PIX0 frame id: 3
[26787.607080] msm_isp_sof_notify: PIX0 frame id: 3
[26787.654884] ispif_process_irq: PIX0 frame id: 4
[26787.657059] msm_isp_sof_notify: PIX0 frame id: 4
[26797.843026] wcd-spmi-core msm8x16_wcd_codec-f4bcca00: Failed to get mbhc impedance -22
[26799.695891] msm_isp_process_irq:VFE0 irq_status0 & 1 are both 0
[26799.785176] msm_isp_close_node: halt timeout rc=0
[26787.008832] msm_pm_qos_update_request: update request -1
[26799.793881] msm_camera_config_single_vreg : can't find sub reg name
[26799.797424] msm_sensor_config:1272 sensor state 0
[26802.179974] wcd_imped_config, invalid imped, greater than 48 Ohm
                = 48
[26803.296028] msm_csid_init: CSID_VERSION = 0x30010000
[26803.289483] msm_pm_qos_update_request: update request 100
[26803.297598]  msm_csid_init: Failed in getting TOP gdscr regulator handle
[26803.311607] msm_camera_config_single_vreg : can't find sub reg name
[26803.324474] msm_sensor_config:1245 sensor state 1
[26803.638321] msm_isp_send_hw_cmd:948 hi 8 lo 8
[26803.638409] msm_isp_send_hw_cmd:948 hi 8 lo 8
[26803.638482] msm_isp_send_hw_cmd:948 hi 8 lo 8
[26803.643509] csi2_src_clk get failed
[26803.655171] msm_isp_sof_notify: PIX0 frame id: 0
[26803.709592] msm_isp_sof_notify: PIX0 frame id: 1
[26803.759354] msm_isp_sof_notify: PIX0 frame id: 2
[26803.809863] msm_isp_sof_notify: PIX0 frame id: 3
[26803.859961] msm_isp_sof_notify: PIX0 frame id: 4
[26812.021650] wcd-spmi-core msm8x16_wcd_codec-f4bcca00: Failed to get mbhc impedance -22
[26824.606093] msm_isp_close_node: halt timeout rc=0
[26803.429079] msm_pm_qos_update_request: update request -1
[26824.626702] msm_camera_config_single_vreg : can't find sub reg name
[26824.630970] msm_sensor_config:1272 sensor state 0
edit retag flag offensive close delete

Comments

Seems that camera hardware failed. Reboot didn't fix it. Shutdown didn't fix it. Battery out didn't fix it.

Front facing camera works.

onion ( 2018-02-14 12:46:10 +0200 )edit
1

It is a HW problem, I have faced with the same recently. Unfortunately it could be only solved by replacing the camera module. More info can be found here: https://together.jolla.com/question/176746/looking-for-jolla-c-intex-aqua-fish-camera-module/

martonmiklos ( 2018-02-14 20:38:30 +0200 )edit