[Letux-kernel] ov9655 madness in 4.20
Andreas Kemnade
andreas at kemnade.info
Sat Jan 5 15:49:28 CET 2019
Hi,
the general state seems still to be that runnig camera-demo works once
and not more.
After playing around with 4.20 and the camera (without my
patch) I produced this:
[ 194.327819] ov9655 1-0030: ov9655_probe
[ 194.331909] ov9655 1-0030: 1-0030 supply dvdd not found, using dummy regulator
[ 194.353973] ov9655 1-0030: Linked as a consumer to regulator.0
[ 194.367889] ov9655 1-0030: 1-0030 supply dovdd not found, using dummy regulator
[ 194.383972] ov9655 1-0030: Linked as a consumer to regulator.5
[ 194.391418] ov9655 1-0030: __ov9655_set_power on=1
[ 194.504302] ov9655 1-0030: OV9655 read register 1c : 7f
[ 194.510406] ov9655 1-0030: OV9655 read register 1d : a2
[ 194.518829] ov9655 1-0030: OV9655 read register 0a : 96
[ 194.525238] ov9655 1-0030: OV9655 read register 0b : 57
[ 194.530883] ov9655 1-0030: __ov9655_set_power on=0
[ 194.537048] ov9655 1-0030: OV9655 REV5 detected at address 0x30
[ 194.652770] ov9655 1-0030: ov9655_open
[ 216.898834] ov9655 1-0030: ov9655_open
[ 216.902801] ov9655 1-0030: ov9655_set_format 0
[ 216.908569] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 216.916229] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 220.088836] ov9655 1-0030: ov9655_set_power on=1
[ 220.100219] ov9655 1-0030: __ov9655_set_power on=1
[ 220.213958] ov9655 1-0030: ov9655_reset
[ 220.218902] ov9655 1-0030: OV9655 read register 15 : 00
[ 220.227233] ov9655 1-0030: OV9655 write register 15 : 40
[ 220.233337] ov9655 1-0030: OV9655 read register 3c : 0c
[ 220.239532] ov9655 1-0030: OV9655 write register 3c : 8c
[ 220.245849] ov9655 1-0030: ov9655_reset: output_drive 3
[ 220.252288] ov9655 1-0030: OV9655 read register 09 : 01
[ 220.259735] ov9655 1-0030: OV9655 write register 09 : 03
[ 220.265960] ov9655 1-0030: ov9655_reset: pclk_sample 0
[ 220.272186] ov9655 1-0030: OV9655 read register 15 : 40
[ 220.278472] ov9655 1-0030: OV9655 write register 15 : 50
[ 220.284606] ov9655 1-0030: ov9655_reset: vsync_active 1
[ 220.290863] ov9655 1-0030: OV9655 read register 15 : 50
[ 220.297210] ov9655 1-0030: ov9655_reset: hsync_active 0
[ 220.303466] ov9655 1-0030: OV9655 read register 15 : 50
[ 220.309753] ov9655 1-0030: ov9655_reset: pclk_delay 2
[ 220.316192] ov9655 1-0030: OV9655 read register 3a : 8c
[ 220.321868] ov9655 1-0030: ov9655_reset: data_active 1
[ 220.328704] ov9655 1-0030: OV9655 read register 3a : 8c
[ 220.334930] ov9655 1-0030: ov9655_reset: clock_noncontinuous 0
[ 220.341857] ov9655 1-0030: OV9655 read register 15 : 50
[ 220.348297] ov9655 1-0030: ov9655_reset: slave_mode 0
[ 220.354705] ov9655 1-0030: OV9655 read register 15 : 50
[ 220.360412] ov9655 1-0030: ov9655_reset: bus_width 10
[ 220.366424] ov9655 1-0030: ov9655_reset: data_shift 2
[ 220.371826] ov9655 1-0030: ov9655_s_ctrl 00980911
[ 220.377349] ov9655 1-0030: ov9655_s_ctrl: V4L2_CID_EXPOSURE 00008000
[ 220.385223] ov9655 1-0030: OV9655 read register a1 : 40
[ 220.390960] ov9655 1-0030: OV9655 write register a1 : 60
[ 220.397460] ov9655 1-0030: OV9655 write register 10 : 00
[ 220.405029] ov9655 1-0030: OV9655 read register 04 : 00
[ 220.410705] ov9655 1-0030: ov9655_s_ctrl 00980914
[ 220.416381] ov9655 1-0030: ov9655_s_ctrl: V4L2_CID_HFLIP 0
[ 220.422943] ov9655 1-0030: OV9655 read register 1e : 00
[ 220.429290] ov9655 1-0030: ov9655_s_ctrl 00980915
[ 220.434722] ov9655 1-0030: ov9655_s_ctrl: V4L2_CID_VFLIP 0
[ 220.441253] ov9655 1-0030: OV9655 read register 1e : 00
[ 220.447631] ov9655 1-0030: ov9655_s_ctrl 009f0903
[ 220.452575] ov9655 1-0030: ov9655_s_ctrl: V4L2_CID_TEST_PATTERN 0
[ 220.460144] ov9655 1-0030: OV9655 read register 0c : 00
[ 220.467041] ov9655 1-0030: OV9655 read register 8d : 00
[ 220.472747] ov9655 1-0030: ov9655_s_ctrl 00981902
[ 220.478454] ov9655 1-0030: ov9655_s_ctrl 00981903
[ 220.483398] ov9655 1-0030: ov9655_s_ctrl 00981904
[ 220.488830] ov9655 1-0030: ov9655_s_ctrl 00981905
[ 220.557159] ov9655 1-0030: ov9655_get_format
[ 220.561859] ov9655 1-0030: __ov9655_get_pad_format: pad=0 which=1 V4L2_SUBDEV_FORMAT_ACTIVE
[ 220.571655] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 220.579406] ov9655 1-0030: ov9655_get_format
[ 220.584381] ov9655 1-0030: __ov9655_get_pad_format: pad=0 which=1 V4L2_SUBDEV_FORMAT_ACTIVE
[ 220.593292] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 220.602142] ov9655 1-0030: ov9655_s_stream(1)
[ 220.607452] ov9655 1-0030: ov9655_set_params
[ 220.611938] ov9655 1-0030: OV9655 write register 0f : 40
[ 220.618377] ov9655 1-0030: OV9655 write register 3b : 05
[ 220.625183] ov9655 1-0030: OV9655 write register 40 : c0
[ 220.631622] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 220.640136] ov9655 1-0030: OV9655 read register 12 : 02
[ 220.647583] ov9655 1-0030: OV9655 read register 6b : 0a
[ 220.654418] ov9655 1-0030: OV9655 write register 6b : 4a
[ 220.660552] ov9655 1-0030: OV9655 write register 11 : 00
[ 220.667388] ov9655 1-0030: OV9655 write register 73 : 00
[ 220.675201] ov9655 1-0030: OV9655 read register 41 : 40
[ 220.681579] ov9655 1-0030: OV9655 read register c7 : 80
[ 220.688079] ov9655 1-0030: OV9655 write register 72 : 00
[ 220.694274] ov9655 1-0030: OV9655 write register 17 : 19
[ 220.701263] ov9655 1-0030: OV9655 read register 32 : a4
[ 220.707580] ov9655 1-0030: OV9655 write register 18 : b9
[ 220.714813] ov9655 1-0030: OV9655 read register 32 : a4
[ 220.720489] ov9655 1-0030: OV9655 write register 32 : 84
[ 220.727264] ov9655 1-0030: OV9655 write register 19 : 00
[ 220.735198] ov9655 1-0030: OV9655 read register 03 : 12
[ 220.740966] ov9655 1-0030: OV9655 write register 03 : 10
[ 220.747406] ov9655 1-0030: OV9655 write register 1a : 80
[ 220.755096] ov9655 1-0030: OV9655 read register 03 : 10
[ 220.760803] ov9655 1-0030: OV9655 write register 03 : 00
[ 220.767639] ov9655 1-0030: OV9655 write register 36 : f9
[ 220.774658] ov9655 1-0030: OV9655 write register 69 : 02
[ 220.781311] ov9655 1-0030: OV9655 read register 8c : 0c
[ 220.787567] ov9655 1-0030: OV9655 write register a9 : 8d
[ 220.794525] ov9655 1-0030: format->code=00002006
[ 220.800292] ov9655 1-0030: OV9655 read register 0c : 00
[ 220.807281] ov9655 1-0030: OV9655 read register 12 : 02
[ 220.814300] ov9655 1-0030: OV9655 read register 3a : 8c
[ 220.820648] ov9655 1-0030: OV9655 read register 40 : c0
[ 220.826934] ov9655 1-0030: format->field=00000001
[ 220.832794] ov9655 1-0030: OV9655 read register 10 : 5f
[ 220.839050] ov9655 1-0030: OV9655 write register 10 : 4f
[ 253.586425] ov9655 1-0030: ov9655_s_stream(0)
[ 253.591461] ov9655 1-0030: OV9655 read register 09 : 03
[ 253.599212] ov9655 1-0030: OV9655 write register 09 : 13
[ 253.612152] ov9655 1-0030: ov9655_set_power on=0
[ 253.617950] ov9655 1-0030: __ov9655_set_power on=0
[ 255.484436] ov9655 1-0030: ov9655_open
[ 255.488403] ov9655 1-0030: ov9655_set_format 0
[ 255.493255] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 255.501312] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 257.003845] ov9655 1-0030: ov9655_set_power on=1
[ 257.008819] ov9655 1-0030: __ov9655_set_power on=1
[ 257.124938] ov9655 1-0030: ov9655_reset
[ 257.130523] ov9655 1-0030: OV9655 read register 15 : 50
[ 257.139984] ov9655 1-0030: OV9655 read register 3c : 8c
[ 257.146209] ov9655 1-0030: ov9655_reset: output_drive 3
[ 257.152526] ov9655 1-0030: OV9655 read register 09 : 13
[ 257.158813] ov9655 1-0030: ov9655_reset: pclk_sample 0
[ 257.165405] ov9655 1-0030: OV9655 read register 15 : 50
[ 257.171112] ov9655 1-0030: ov9655_reset: vsync_active 1
[ 257.178009] ov9655 1-0030: OV9655 read register 15 : 50
[ 257.184387] ov9655 1-0030: ov9655_reset: hsync_active 0
[ 257.190673] ov9655 1-0030: OV9655 read register 15 : 50
[ 257.196990] ov9655 1-0030: ov9655_reset: pclk_delay 2
[ 257.203063] ov9655 1-0030: OV9655 read register 3a : 8c
[ 257.209442] ov9655 1-0030: ov9655_reset: data_active 1
[ 257.216064] ov9655 1-0030: OV9655 read register 3a : 8c
[ 257.221740] ov9655 1-0030: ov9655_reset: clock_noncontinuous 0
[ 257.229217] ov9655 1-0030: OV9655 read register 15 : 50
[ 257.235534] ov9655 1-0030: ov9655_reset: slave_mode 0
[ 257.241607] ov9655 1-0030: OV9655 read register 15 : 50
[ 257.247894] ov9655 1-0030: ov9655_reset: bus_width 10
[ 257.253295] ov9655 1-0030: ov9655_reset: data_shift 2
[ 257.259216] ov9655 1-0030: ov9655_s_ctrl 00980911
[ 257.264587] ov9655 1-0030: ov9655_s_ctrl: V4L2_CID_EXPOSURE 00008000
[ 257.273315] ov9655 1-0030: OV9655 read register a1 : 01
[ 257.279693] ov9655 1-0030: OV9655 write register a1 : 20
[ 257.285888] ov9655 1-0030: OV9655 write register 10 : 00
[ 257.292846] ov9655 1-0030: OV9655 read register 04 : 01
[ 257.299163] ov9655 1-0030: OV9655 write register 04 : 00
[ 257.305419] ov9655 1-0030: ov9655_s_ctrl 00980914
[ 257.310455] ov9655 1-0030: ov9655_s_ctrl: V4L2_CID_HFLIP 0
[ 257.317382] ov9655 1-0030: OV9655 read register 1e : 00
[ 257.323089] ov9655 1-0030: ov9655_s_ctrl 00980915
[ 257.328735] ov9655 1-0030: ov9655_s_ctrl: V4L2_CID_VFLIP 0
[ 257.335601] ov9655 1-0030: OV9655 read register 1e : 00
[ 257.341308] ov9655 1-0030: ov9655_s_ctrl 009f0903
[ 257.346954] ov9655 1-0030: ov9655_s_ctrl: V4L2_CID_TEST_PATTERN 0
[ 257.354736] ov9655 1-0030: OV9655 read register 0c : 00
[ 257.361083] ov9655 1-0030: OV9655 read register 8d : 00
[ 257.367370] ov9655 1-0030: ov9655_s_ctrl 00981902
[ 257.372314] ov9655 1-0030: ov9655_s_ctrl 00981903
[ 257.377746] ov9655 1-0030: ov9655_s_ctrl 00981904
[ 257.382812] ov9655 1-0030: ov9655_s_ctrl 00981905
[ 257.451232] ov9655 1-0030: ov9655_get_format
[ 257.456268] ov9655 1-0030: __ov9655_get_pad_format: pad=0 which=1 V4L2_SUBDEV_FORMAT_ACTIVE
[ 257.465881] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 257.473114] ov9655 1-0030: ov9655_get_format
[ 257.478179] ov9655 1-0030: __ov9655_get_pad_format: pad=0 which=1 V4L2_SUBDEV_FORMAT_ACTIVE
[ 257.487548] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 257.495117] ov9655 1-0030: ov9655_s_stream(1)
[ 257.499664] ov9655 1-0030: ov9655_set_params
[ 257.504638] ov9655 1-0030: OV9655 write register 0f : 40
[ 257.510559] ov9655 1-0030: OV9655 write register 3b : 05
[ 257.516906] ov9655 1-0030: OV9655 write register 40 : c0
[ 257.523254] ov9655 1-0030: busfmt: h=1024 w=1280 code=8198 field=1 csp=8
[ 257.531799] ov9655 1-0030: OV9655 read register 12 : 02
[ 257.538818] ov9655 1-0030: OV9655 read register 6b : 4a
[ 257.545135] ov9655 1-0030: OV9655 write register 11 : 00
[ 257.551025] ov9655 1-0030: OV9655 write register 73 : 00
[ 257.558380] ov9655 1-0030: OV9655 read register 41 : 40
[ 257.565368] ov9655 1-0030: OV9655 read register c7 : 80
[ 257.571075] ov9655 1-0030: OV9655 write register 72 : 00
[ 257.577514] ov9655 1-0030: OV9655 write register 17 : 19
[ 257.585113] ov9655 1-0030: OV9655 read register 32 : 84
[ 257.590850] ov9655 1-0030: OV9655 write register 18 : b9
[ 257.598449] ov9655 1-0030: OV9655 read register 32 : 84
[ 257.604797] ov9655 1-0030: OV9655 write register 19 : 00
[ 257.611785] ov9655 1-0030: OV9655 read register 03 : 00
[ 257.618072] ov9655 1-0030: OV9655 write register 1a : 80
[ 257.625335] ov9655 1-0030: OV9655 read register 03 : 00
[ 257.631103] ov9655 1-0030: OV9655 write register 36 : f9
[ 257.637573] ov9655 1-0030: OV9655 write register 69 : 02
[ 257.645111] ov9655 1-0030: OV9655 read register 8c : 0c
[ 257.650817] ov9655 1-0030: OV9655 write register a9 : 8d
[ 257.657318] ov9655 1-0030: format->code=00002006
[ 257.662902] ov9655 1-0030: OV9655 read register 0c : 00
[ 257.669921] ov9655 1-0030: OV9655 read register 12 : 02
[ 257.676879] ov9655 1-0030: OV9655 read register 3a : 8c
[ 257.689971] ov9655 1-0030: OV9655 read register 40 : c0
[ 257.702209] ov9655 1-0030: format->field=00000001
[ 257.712707] ov9655 1-0030: OV9655 read register 10 : 00
[ 269.444061] omap3isp 480bc000.isp: CCDC stop timeout!
[ 269.449798] omap3isp 480bc000.isp: Unable to stop OMAP3 ISP CCDC
[ 269.457672] ov9655 1-0030: ov9655_s_stream(0)
[ 269.463012] ov9655 1-0030: OV9655 read register 09 : 13
[ 269.472808] ov9655 1-0030: ov9655_set_power on=0
[ 269.478302] ov9655 1-0030: __ov9655_set_power on=0
somewhere here I did a rmmod omap3_isp
and a insmod omap3_isp.ko
[ 289.968658] omap3isp 480bc000.isp: ignoring dependency for device, assuming no driver
[ 289.978820] omap3isp 480bc000.isp: 480bc000.isp supply vdd-csiphy1 not found, using dummy regulator
[ 289.989685] omap3isp 480bc000.isp: 480bc000.isp supply vdd-csiphy2 not found, using dummy regulator
[ 290.000122] omap3isp 480bc000.isp: Revision 15.0 found
[ 290.006744] omap-iommu 480bd400.mmu: 480bd400.mmu: version 1.1
[ 290.013275] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCP2 was not initialized!
[ 290.028350] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CSI2a was not initialized!
[ 290.044677] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP CCDC was not initialized!
[ 290.064910] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP preview was not initialized!
[ 290.090057] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP resizer was not initialized!
[ 290.109313] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AEWB was not initialized!
[ 290.128784] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP AF was not initialized!
[ 290.148559] omap3isp 480bc000.isp: Entity type for entity OMAP3 ISP histogram was not initialized!
[ 290.168395] ov9655 1-0030: __ov9655_set_power on=1
[ 290.223907] ov9655 1-0030: Failed to enable clock (-6)
<-- probably the interesting root cause for further problems.
[ 290.294067] ov9655 1-0030: OV9655 read register 1c : ffffff87
[ 290.300415] ov9655 1-0030: OV9655 read register 1d : ffffff87
[ 290.307434] ov9655 1-0030: OV9655 not detected, can't read manufacturer id
oh, no camera anymore, probably because of no clock?
[ 290.316131] ov9655 1-0030: __ov9655_set_power on=0
[ 290.321289] ------------[ cut here ]------------
probably error handling needs to be cleaned up even more.
[ 290.326141] WARNING: CPU: 0 PID: 7192 at /home/andi/gta04/gta04-kernel/drivers/clk/clk.c:828 clk_core_disable_lock+0x18/0x24
[ 290.337860] cam_xclka already disabled
[ 290.341796] Modules linked in: omap3_isp(+) videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common bnep ipv6 usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs akbikepower dm_crypt dm_mod dax libertas_sdio libertas cfg80211 snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 snd_soc_gtm601 wwan_on_off generic_adc_battery bmp280_spi ov9655 v4l2_fwnode v4l2_common hci_uart bmp280_i2c bmp280 videodev itg3200 at24 hmc5843_i2c bma180 leds_tca6507 tsc2007 hmc5843_core industrialio_triggered_buffer media kfifo_buf snd_soc_omap_mcbsp snd_soc_sdma bluetooth gnss_sirf snd_soc_twl4030 ecdh_generic twl4030_vibra w2cbw003_bluetooth gnss ehci_omap [last unloaded: omap3_isp]
[ 290.406646] CPU: 0 PID: 7192 Comm: insmod Not tainted 4.20.0-ak+ #2
[ 290.413177] Hardware name: Generic OMAP36xx (Flattened Device Tree)
[ 290.419769] [<c0110ebc>] (unwind_backtrace) from [<c010bf60>] (show_stack+0x10/0x14)
[ 290.427886] [<c010bf60>] (show_stack) from [<c081a92c>] (dump_stack+0x7c/0x98)
[ 290.435455] [<c081a92c>] (dump_stack) from [<c01323ec>] (__warn+0xdc/0xfc)
[ 290.442657] [<c01323ec>] (__warn) from [<c0132450>] (warn_slowpath_fmt+0x44/0x6c)
[ 290.450500] [<c0132450>] (warn_slowpath_fmt) from [<c04a80c8>] (clk_core_disable_lock+0x18/0x24)
[ 290.459716] [<c04a80c8>] (clk_core_disable_lock) from [<bf17d28c>] (__ov9655_set_power+0x104/0x12c [ov9655])
[ 290.470062] [<bf17d28c>] (__ov9655_set_power [ov9655]) from [<bf17d324>] (ov9655_registered+0x70/0x120 [ov9655])
[ 290.480804] [<bf17d324>] (ov9655_registered [ov9655]) from [<bf119658>] (v4l2_device_register_subdev+0x134/0x158 [videodev])
[ 290.492614] [<bf119658>] (v4l2_device_register_subdev [videodev]) from [<bf12403c>] (v4l2_async_match_notify+0x1c/0xe4 [videodev])
[ 290.504974] [<bf12403c>] (v4l2_async_match_notify [videodev]) from [<bf124010>] (v4l2_async_notifier_try_all_subdevs+0x78/0x88 [videodev])
[ 290.518096] [<bf124010>] (v4l2_async_notifier_try_all_subdevs [videodev]) from [<bf124294>] (__v4l2_async_notifier_register+0x4c/0xf8 [videodev])
[ 290.531860] [<bf124294>] (__v4l2_async_notifier_register [videodev]) from [<bf12438c>] (v4l2_async_notifier_register+0x4c/0x5c [videodev])
[ 290.545074] [<bf12438c>] (v4l2_async_notifier_register [videodev]) from [<bf46e318>] (isp_probe+0xaa8/0xb9c [omap3_isp])
[ 290.556549] [<bf46e318>] (isp_probe [omap3_isp]) from [<c05657e8>] (platform_drv_probe+0x48/0x94)
[ 290.565856] [<c05657e8>] (platform_drv_probe) from [<c0563a70>] (really_probe+0x1f0/0x2c0)
[ 290.574523] [<c0563a70>] (really_probe) from [<c0563dc8>] (driver_probe_device+0x140/0x158)
[ 290.583282] [<c0563dc8>] (driver_probe_device) from [<c0563e6c>] (__driver_attach+0x8c/0xc8)
[ 290.592132] [<c0563e6c>] (__driver_attach) from [<c05620b4>] (bus_for_each_dev+0x64/0xa0)
[ 290.600738] [<c05620b4>] (bus_for_each_dev) from [<c056300c>] (bus_add_driver+0x170/0x1d8)
[ 290.609405] [<c056300c>] (bus_add_driver) from [<c0564a98>] (driver_register+0xb4/0xf8)
[ 290.617828] [<c0564a98>] (driver_register) from [<c0102e84>] (do_one_initcall+0xbc/0x264)
[ 290.626434] [<c0102e84>] (do_one_initcall) from [<c01aeabc>] (do_init_module+0x58/0x1c8)
[ 290.634887] [<c01aeabc>] (do_init_module) from [<c01ad7fc>] (load_module+0x1940/0x1fc4)
[ 290.643310] [<c01ad7fc>] (load_module) from [<c01ae084>] (sys_finit_module+0x94/0xb4)
[ 290.651519] [<c01ae084>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 290.660095] Exception stack(0xd68f1fa8 to 0xd68f1ff0)
[ 290.665405] 1fa0: 20525a00 00442cdc 00000003 00446e80 00000000 00000002
[ 290.673980] 1fc0: 20525a00 00442cdc b6fd9f10 0000017b 00000000 00442cdc 00459000 00000000
[ 290.682556] 1fe0: beb52bc0 beb52bb0 0043d6c3 b6f42b42
[ 290.687835] ---[ end trace e20f49b3c44382a9 ]---
[ 290.700622] ------------[ cut here ]------------
[ 290.710845] WARNING: CPU: 0 PID: 7192 at /home/andi/gta04/gta04-kernel/drivers/clk/clk.c:687 clk_unprepare+0x24/0x2c
[ 290.730957] cam_xclka already unprepared
[ 290.738922] Modules linked in: omap3_isp(+) videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common bnep ipv6 usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs akbikepower dm_crypt dm_mod dax libertas_sdio libertas cfg80211 snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 snd_soc_gtm601 wwan_on_off generic_adc_battery bmp280_spi ov9655 v4l2_fwnode v4l2_common hci_uart bmp280_i2c bmp280 videodev itg3200 at24 hmc5843_i2c bma180 leds_tca6507 tsc2007 hmc5843_core industrialio_triggered_buffer media kfifo_buf snd_soc_omap_mcbsp snd_soc_sdma bluetooth gnss_sirf snd_soc_twl4030 ecdh_generic twl4030_vibra w2cbw003_bluetooth gnss ehci_omap [last unloaded: omap3_isp]
[ 290.805053] CPU: 0 PID: 7192 Comm: insmod Tainted: G W 4.20.0-ak+ #2
[ 290.813079] Hardware name: Generic OMAP36xx (Flattened Device Tree)
[ 290.819671] [<c0110ebc>] (unwind_backtrace) from [<c010bf60>] (show_stack+0x10/0x14)
[ 290.827789] [<c010bf60>] (show_stack) from [<c081a92c>] (dump_stack+0x7c/0x98)
[ 290.835357] [<c081a92c>] (dump_stack) from [<c01323ec>] (__warn+0xdc/0xfc)
[ 290.842590] [<c01323ec>] (__warn) from [<c0132450>] (warn_slowpath_fmt+0x44/0x6c)
[ 290.850433] [<c0132450>] (warn_slowpath_fmt) from [<c04a82a0>] (clk_unprepare+0x24/0x2c)
[ 290.858917] [<c04a82a0>] (clk_unprepare) from [<bf17d294>] (__ov9655_set_power+0x10c/0x12c [ov9655])
[ 290.868530] [<bf17d294>] (__ov9655_set_power [ov9655]) from [<bf17d324>] (ov9655_registered+0x70/0x120 [ov9655])
[ 290.879302] [<bf17d324>] (ov9655_registered [ov9655]) from [<bf119658>] (v4l2_device_register_subdev+0x134/0x158 [videodev])
[ 290.891174] [<bf119658>] (v4l2_device_register_subdev [videodev]) from [<bf12403c>] (v4l2_async_match_notify+0x1c/0xe4 [videodev])
[ 290.903533] [<bf12403c>] (v4l2_async_match_notify [videodev]) from [<bf124010>] (v4l2_async_notifier_try_all_subdevs+0x78/0x88 [videodev])
[ 290.916656] [<bf124010>] (v4l2_async_notifier_try_all_subdevs [videodev]) from [<bf124294>] (__v4l2_async_notifier_register+0x4c/0xf8 [videodev])
[ 290.930419] [<bf124294>] (__v4l2_async_notifier_register [videodev]) from [<bf12438c>] (v4l2_async_notifier_register+0x4c/0x5c [videodev])
[ 290.943634] [<bf12438c>] (v4l2_async_notifier_register [videodev]) from [<bf46e318>] (isp_probe+0xaa8/0xb9c [omap3_isp])
[ 290.955078] [<bf46e318>] (isp_probe [omap3_isp]) from [<c05657e8>] (platform_drv_probe+0x48/0x94)
[ 290.964416] [<c05657e8>] (platform_drv_probe) from [<c0563a70>] (really_probe+0x1f0/0x2c0)
[ 290.973083] [<c0563a70>] (really_probe) from [<c0563dc8>] (driver_probe_device+0x140/0x158)
[ 290.981811] [<c0563dc8>] (driver_probe_device) from [<c0563e6c>] (__driver_attach+0x8c/0xc8)
[ 290.990661] [<c0563e6c>] (__driver_attach) from [<c05620b4>] (bus_for_each_dev+0x64/0xa0)
[ 290.999267] [<c05620b4>] (bus_for_each_dev) from [<c056300c>] (bus_add_driver+0x170/0x1d8)
[ 291.007934] [<c056300c>] (bus_add_driver) from [<c0564a98>] (driver_register+0xb4/0xf8)
[ 291.016326] [<c0564a98>] (driver_register) from [<c0102e84>] (do_one_initcall+0xbc/0x264)
[ 291.024871] [<c0102e84>] (do_one_initcall) from [<c01aeabc>] (do_init_module+0x58/0x1c8)
[ 291.033325] [<c01aeabc>] (do_init_module) from [<c01ad7fc>] (load_module+0x1940/0x1fc4)
[ 291.041717] [<c01ad7fc>] (load_module) from [<c01ae084>] (sys_finit_module+0x94/0xb4)
[ 291.049896] [<c01ae084>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 291.058471] Exception stack(0xd68f1fa8 to 0xd68f1ff0)
[ 291.063751] 1fa0: 20525a00 00442cdc 00000003 00446e80 00000000 00000002
[ 291.072326] 1fc0: 20525a00 00442cdc b6fd9f10 0000017b 00000000 00442cdc 00459000 00000000
[ 291.080902] 1fe0: beb52bc0 beb52bb0 0043d6c3 b6f42b42
[ 291.096008] ---[ end trace e20f49b3c44382aa ]---
[ 291.100891] ------------[ cut here ]------------
[ 291.106506] WARNING: CPU: 0 PID: 7192 at /home/andi/gta04/gta04-kernel/drivers/regulator/core.c:2340 _regulator_disable+0x2c/0x110
[ 291.119750] unbalanced disables for VAUX3
[ 291.124542] Modules linked in: omap3_isp(+) videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common bnep ipv6 usb_f_ecm g_ether usb_f_rndis u_ether libcomposite configfs akbikepower dm_crypt dm_mod dax libertas_sdio libertas cfg80211 snd_soc_simple_card snd_soc_simple_card_utils snd_soc_omap_twl4030 snd_soc_gtm601 wwan_on_off generic_adc_battery bmp280_spi ov9655 v4l2_fwnode v4l2_common hci_uart bmp280_i2c bmp280 videodev itg3200 at24 hmc5843_i2c bma180 leds_tca6507 tsc2007 hmc5843_core industrialio_triggered_buffer media kfifo_buf snd_soc_omap_mcbsp snd_soc_sdma bluetooth gnss_sirf snd_soc_twl4030 ecdh_generic twl4030_vibra w2cbw003_bluetooth gnss ehci_omap [last unloaded: omap3_isp]
[ 291.202789] CPU: 0 PID: 7192 Comm: insmod Tainted: G W 4.20.0-ak+ #2
[ 291.210815] Hardware name: Generic OMAP36xx (Flattened Device Tree)
[ 291.217437] [<c0110ebc>] (unwind_backtrace) from [<c010bf60>] (show_stack+0x10/0x14)
[ 291.225555] [<c010bf60>] (show_stack) from [<c081a92c>] (dump_stack+0x7c/0x98)
[ 291.233093] [<c081a92c>] (dump_stack) from [<c01323ec>] (__warn+0xdc/0xfc)
[ 291.240295] [<c01323ec>] (__warn) from [<c0132450>] (warn_slowpath_fmt+0x44/0x6c)
[ 291.248138] [<c0132450>] (warn_slowpath_fmt) from [<c04c6674>] (_regulator_disable+0x2c/0x110)
[ 291.257171] [<c04c6674>] (_regulator_disable) from [<c04c678c>] (regulator_disable+0x34/0x5c)
[ 291.266113] [<c04c678c>] (regulator_disable) from [<c04c7988>] (regulator_bulk_disable+0x38/0xa0)
[ 291.275421] [<c04c7988>] (regulator_bulk_disable) from [<bf17d2a0>] (__ov9655_set_power+0x118/0x12c [ov9655])
[ 291.285797] [<bf17d2a0>] (__ov9655_set_power [ov9655]) from [<bf17d324>] (ov9655_registered+0x70/0x120 [ov9655])
[ 291.296569] [<bf17d324>] (ov9655_registered [ov9655]) from [<bf119658>] (v4l2_device_register_subdev+0x134/0x158 [videodev])
[ 291.308380] [<bf119658>] (v4l2_device_register_subdev [videodev]) from [<bf12403c>] (v4l2_async_match_notify+0x1c/0xe4 [videodev])
[ 291.320770] [<bf12403c>] (v4l2_async_match_notify [videodev]) from [<bf124010>] (v4l2_async_notifier_try_all_subdevs+0x78/0x88 [videodev])
[ 291.333862] [<bf124010>] (v4l2_async_notifier_try_all_subdevs [videodev]) from [<bf124294>] (__v4l2_async_notifier_register+0x4c/0xf8 [videodev])
[ 291.347595] [<bf124294>] (__v4l2_async_notifier_register [videodev]) from [<bf12438c>] (v4l2_async_notifier_register+0x4c/0x5c [videodev])
[ 291.360778] [<bf12438c>] (v4l2_async_notifier_register [videodev]) from [<bf46e318>] (isp_probe+0xaa8/0xb9c [omap3_isp])
[ 291.372222] [<bf46e318>] (isp_probe [omap3_isp]) from [<c05657e8>] (platform_drv_probe+0x48/0x94)
[ 291.381500] [<c05657e8>] (platform_drv_probe) from [<c0563a70>] (really_probe+0x1f0/0x2c0)
[ 291.390136] [<c0563a70>] (really_probe) from [<c0563dc8>] (driver_probe_device+0x140/0x158)
[ 291.398895] [<c0563dc8>] (driver_probe_device) from [<c0563e6c>] (__driver_attach+0x8c/0xc8)
[ 291.407714] [<c0563e6c>] (__driver_attach) from [<c05620b4>] (bus_for_each_dev+0x64/0xa0)
[ 291.416290] [<c05620b4>] (bus_for_each_dev) from [<c056300c>] (bus_add_driver+0x170/0x1d8)
[ 291.424957] [<c056300c>] (bus_add_driver) from [<c0564a98>] (driver_register+0xb4/0xf8)
[ 291.433319] [<c0564a98>] (driver_register) from [<c0102e84>] (do_one_initcall+0xbc/0x264)
[ 291.441894] [<c0102e84>] (do_one_initcall) from [<c01aeabc>] (do_init_module+0x58/0x1c8)
[ 291.450347] [<c01aeabc>] (do_init_module) from [<c01ad7fc>] (load_module+0x1940/0x1fc4)
[ 291.458740] [<c01ad7fc>] (load_module) from [<c01ae084>] (sys_finit_module+0x94/0xb4)
[ 291.466918] [<c01ae084>] (sys_finit_module) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 291.475494] Exception stack(0xd68f1fa8 to 0xd68f1ff0)
[ 291.480804] 1fa0: 20525a00 00442cdc 00000003 00446e80 00000000 00000002
[ 291.489349] 1fc0: 20525a00 00442cdc b6fd9f10 0000017b 00000000 00442cdc 00459000 00000000
[ 291.497894] 1fe0: beb52bc0 beb52bb0 0043d6c3 b6f42b42
[ 291.573822] ---[ end trace e20f49b3c44382ab ]---
[ 291.578674] Failed to disable avdd: -5
with my patch, things are even worse. There I do it not even get
working once.
Regards,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20190105/b7c8ce23/attachment-0001.asc>
More information about the Letux-kernel
mailing list