sensor driver crash in vi when run as a module

Hi, There

I’m using imx172 module from leopard image and while compile and load sensor driver in kernel it works fine, however if I change it to load as module it crashes during vi driver setting up connections. Does anybody know why? Do we have to use sensor drive in kernel directly?

thanks

[IMX172]: probing v4l2 sensor.
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265658] imx172 7-0052: imx172_probe: name imx172_a
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265680] imx172 7-0052: imx172_ctrls_init++
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265696] vi vi: subdev imx172 7-0052 bound
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265704] imx172 7-0052: Detected IMX172 sensor
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265741] [IMX172]: probing v4l2 sensor.
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265786] imx172 9-0052: sid gpios not in DT
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265822] imx172 9-0052: imx172_probe: name imx172_e
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265827] platform c9.regulator: Driver reg-fixed-sync-voltage requests probe deferral
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265833] imx172 9-0052: imx172_ctrls_init++
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265844] vi vi: subdev imx172 9-0052 bound
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265851] vi vi: notify complete, all subdevs registered
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265855] vi vi: creating links for entity imx172 7-0052
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265860] vi vi: processing endpoint /host1x/i2c@546c0000/tca9546@70/i2c@0/imx172_a@52/ports/port@0/endpoint
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265879] vi vi: skipping channel port /host1x/i2c@546c0000/tca9546@70/i2c@0/imx172_a@52:0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265884] vi vi: creating links for entity imx172 9-0052
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265891] vi vi: processing endpoint /host1x/i2c@546c0000/tca9546@70/i2c@1/imx172_e@52/ports/port@0/endpoint
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265907] vi vi: skipping channel port /host1x/i2c@546c0000/tca9546@70/i2c@1/imx172_e@52:0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265911] vi vi: creating links for channels
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265916] vi vi: processing endpoint /host1x/vi/ports/port@0/endpoint
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265932] vi vi: creating link for channel vi-output-0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265936] vi vi: creating imx172 7-0052:0 -> vi-output-0:0 link
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.265950] Unable to handle kernel NULL pointer dereference at virtual address 00000010
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.266029] platform ca.regulator: Driver reg-fixed-sync-voltage requests probe deferral
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.266144] platform cb.regulator: Driver reg-fixed-sync-voltage requests probe deferral
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.266255] platform cc.regulator: Driver reg-fixed-sync-voltage requests probe deferral
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.266369] platform cd.regulator: Driver reg-fixed-sync-voltage requests probe deferral
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.266462] reg-fixed-sync-voltage ce.regulator: Consumer c0 does not have device name
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.274072] platform ce.regulator: Driver reg-fixed-sync-voltage requests probe deferral
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.274222] platform 7.regulator: Driver reg-fixed-sync-voltage requests probe deferral
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.280111] pgd = ffffffc0f3aee000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.287013] [00000010] *pgd=0000000000000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.298193] Internal error: Oops: 96000005 [#1] PREEMPT SMP
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.305882] Enter nvdumper_crash_setup_regs
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.312183] nvdumper: all registers are saved.
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.312185] nvdumper: all registers are saved.
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.312186] nvdumper: all registers are saved.
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.331785] nvdumper: all registers are saved.
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.339182] Modules linked in: imx172(+)
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.345164] CPU: 1 PID: 293 Comm: systemd-udevd Not tainted 3.10.96+ #10
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355346] task: ffffffc0f3838c80 ti: ffffffc0f3af4000 task.ti: ffffffc0f3af4000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355353] PC is at handler_new_ref+0x190/0x1c0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355356] LR is at handler_new_ref+0xd4/0x1c0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355358] pc : [] lr : [] pstate: 60000145
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355359] sp : ffffffc0f3af7880
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355362] x29: ffffffc0f3af7880 x28: 0000000000000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355365] x27: 0000000000000000 x26: ffffffc001045db8
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355368] x25: 0000000000000000 x24: 0000000000000003
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355370] x23: ffffffc0f798a8c0 x22: 0000000000000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355373] x21: 0000000000000002 x20: ffffffc0f346e500
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355375] x19: ffffffc0f79a2498 x18: 0000000000000007
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355377] x17: 000000000000000e x16: 0000000000000020
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355379] x15: 000000000000002c x14: 0000000000000069
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355382] x13: 000000000000006c x12: 0000000000000020
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355384] x11: 0000000000000075 x10: 0000000000000070
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355386] x9 : 00000000009a0000 x8 : 0000000000000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355388] x7 : 0000000000000000 x6 : 0000000000000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355391] x5 : ffffffc0f3af4000 x4 : 0000000000000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355393] x3 : 0000000000000000 x2 : 0000000000000140
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355395] x1 : ffffffc0f79a24d8 x0 : 0000000000000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355396]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355396] PC: 0xffffffc0006e8684:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355403] 8684 f9000680 f9000014 1400001a f9400c02 b9404042 6b0202bf 540000a9 f9400000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355409] 86a4 eb00003f 54ffff41 14000012 6b0202bf 54000081 aa1403e0 97eace66 14000015
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355415] 86c4 f9400400 f9400001 f9000434 f9000281 f9000680 f9000014 14000006 f9400c02
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355421] 86e4 b9404042 6b0202bf 54fffda8 17fffff0 1ad80aa0 1b18d415 93407eb5 f9402e60
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355426] 8704 f8757800 f9000a80 f9402e60 f8357814 f9401660 9410dd33 2a1603e0 a94153f3
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355432] 8724 a9425bf5 a94363f7 a8c47bfd d65f03c0 b4000260 b9407402 35000262 b50000a1
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355438] 8744 128002a1 b9007401 d2800000 d65f03c0 f9401022 eb02001f 540001a0 a9be7bfd
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355444] 8764 910003fd f9000bf3 aa0103f3 97ffff81 6b1f001f 9a9f0260 14000007 d2800000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355445]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355445] LR: 0xffffffc0006e85c8:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355451] 85c8 d2800001 aa1303e0 97ffffb5 b5000060 b9407676 14000050 b9407676 350009d6
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355457] 85e8 d2800502 52901a01 f0006720 f9459c00 97eaca92 aa0003f4 b50000c0 b9407660
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355463] 8608 12800176 35000880 b9007676 14000042 f9000c17 f94012e0 eb00027f 540000a1
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355469] 8628 91006280 f90016e0 52800020 b90032e0 f9000294 f9000694 f9401660 9410dd3c
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355475] 8648 91010261 f9402260 eb01001f 54000120 f9402662 f9400c42 b9404042 6b0202bf
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355481] 8668 54000088 eb00003f 54000381 14000020 f9402660 f9002674 f9000281 f9000680
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355486] 8688 f9000014 1400001a f9400c02 b9404042 6b0202bf 540000a9 f9400000 eb00003f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355492] 86a8 54ffff41 14000012 6b0202bf 54000081 aa1403e0 97eace66 14000015 f9400400
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355493]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355493] SP: 0xffffffc0f3af7800:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355499] 7800 f346e500 ffffffc0 00000002 00000000 00000000 00000000 f798a8c0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355505] 7820 00000003 00000000 00000000 00000000 01045db8 ffffffc0 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355511] 7840 00000000 00000000 f3af7880 ffffffc0 006e8648 ffffffc0 f3af7880 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355517] 7860 006e8704 ffffffc0 60000145 00000000 f79a2498 ffffffc0 01045db8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355523] 7880 f3af78c0 ffffffc0 006e8290 ffffffc0 f798a8c0 ffffffc0 f79a2498 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355528] 78a0 009a0001 00000000 00000006 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355534] 78c0 f3af7950 ffffffc0 006e8560 ffffffc0 f79a2498 ffffffc0 009a0001 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355540] 78e0 00000000 00000000 f3415898 ffffffc0 f3c76b00 ffffffc0 00000003 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355541]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355541] X1: 0xffffffc0f79a2458:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355547] 2458 00000000 00000000 00000000 00000000 f79a0038 ffffffc0 f52a6c60 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355553] 2478 00000000 00000000 00000000 00000000 00000000 00000000 f52a6c60 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355559] 2498 00000000 00000000 f79a24a0 ffffffc0 f79a24a0 ffffffc0 f3838c80 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355565] 24b8 00000000 00000000 f79a2498 ffffffc0 f79a24c8 ffffffc0 f79a24c8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355570] 24d8 f346e500 ffffffc0 f346e500 ffffffc0 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355576] 24f8 00000000 00000000 00000000 00000000 00000003 00000000 00000fa0 00000bb8
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355582] 2518 32314752 00000001 00001f40 016e3600 00000008 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355588] 2538 00000000 00000000 0000001e 00000000 00bdcae8 ffffffc0 00000001 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355590]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355590] X5: 0xffffffc0f3af3f80:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355596] 3f80 ec315038 0000007f 615be000 00000055 00000018 00000000 615c99d8 00000055
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355602] 3fa0 00000003 00000000 615c7a10 00000055 0000000e 00000000 ec314e00 0000007f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355608] 3fc0 6154dd18 00000055 ec314e00 0000007f aaae53c0 0000007f 60000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355614] 3fe0 00000004 00000000 00000016 00000000 a9425bf5 a8c47bfd d65f03c0 d503201f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355620] 4000 0000000a 00000000 ffffffff ffffffff f3838c80 ffffffc0 000bdb8c ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355625] 4020 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355631] 4040 00000000 00000000 00000002 00000001 00000100 00000000 57ac6e9d 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355637] 4060 91300021 913da000 52818c62 97ff2213 a9b97bfd 910003fd a9025bf5 f0000235
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355640]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355640] X19: 0xffffffc0f79a2418:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355646] 2418 00000000 00000000 f79a2440 ffffffc0 f79a2028 ffffffc0 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355652] 2438 00000001 00000000 00000001 00000000 f79a2448 ffffffc0 f79a2448 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355657] 2458 00000000 00000000 00000000 00000000 f79a0038 ffffffc0 f52a6c60 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355663] 2478 00000000 00000000 00000000 00000000 00000000 00000000 f52a6c60 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355669] 2498 00000000 00000000 f79a24a0 ffffffc0 f79a24a0 ffffffc0 f3838c80 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355674] 24b8 00000000 00000000 f79a2498 ffffffc0 f79a24c8 ffffffc0 f79a24c8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355680] 24d8 f346e500 ffffffc0 f346e500 ffffffc0 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355686] 24f8 00000000 00000000 00000000 00000000 00000003 00000000 00000fa0 00000bb8
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355687]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355687] X20: 0xffffffc0f346e480:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355693] e480 6632785c 6b736964 6632785c 692d7962 32785c64 636d6d66 3631302d 5f323347
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355699] e4a0 38637830 33396136 aa003037 f9401835 f9401c36 9100e3a0 a9007c1f 910123a0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355705] e4c0 2e2f2e2e 6d6d2f2e 6b6c6263 ffff0030 001d1470 ffffffc0 002141cc ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355711] e4e0 f346e4e0 ffffffc0 f346e4e0 ffffffc0 a9007c1f 9102e3a0 a9007c1f 910323a0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355717] e500 f79a24d8 ffffffc0 f79a24d8 ffffffc0 00000000 00000000 f798a8c0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355722] e520 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355728] e540 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355734] e560 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355735]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355735] X23: 0xffffffc0f798a840:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355741] a840 00000000 00000000 00000010 00000001 00000001 00000002 00000000 00000001
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355747] a860 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355752] a880 f4149800 ffffffc0 00000000 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355758] a8a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355764] a8c0 f798a8c0 ffffffc0 f798a8c0 ffffffc0 f798a8d0 ffffffc0 f798a8d0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355769] a8e0 f79a2498 ffffffc0 f346e518 ffffffc0 00000001 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355775] a900 009a0001 00000000 01045db8 ffffffc0 00000006 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355780] a920 00000000 00000000 00000000 00000000 00000044 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355782]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355782] X26: 0xffffffc001045d38:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355788] 5d38 20564256 66667542 53207265 00657a69 65646956 6544206f 65646f63 54502072
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355794] 5d58 00000053 00000000 65646956 6544206f 65646f63 72462072 20656d61 6e756f43
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355800] 5d78 00000074 00000000 74696e49 206c6169 616c6544 6f662079 42562072 6f432056
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355806] 5d98 6f72746e 0000006c 65706552 53207461 65757165 2065636e 64616548 00007265
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355812] 5db8 656d6143 43206172 72746e6f 00736c6f 6f747541 70784520 7275736f 00000065
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355817] 5dd8 6f707845 65727573 6d695420 41202c65 6c6f7362 00657475 6f707845 65727573
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355823] 5df8 7944202c 696d616e 72462063 72656d61 00657461 00000000 2c6e6150 6c655220
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355829] 5e18 76697461 00000065 746c6954 6552202c 6974616c 00006576 2c6e6150 73655220
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355831]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355831] X29: 0xffffffc0f3af7800:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355837] 7800 f346e500 ffffffc0 00000002 00000000 00000000 00000000 f798a8c0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355842] 7820 00000003 00000000 00000000 00000000 01045db8 ffffffc0 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355848] 7840 00000000 00000000 f3af7880 ffffffc0 006e8648 ffffffc0 f3af7880 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355854] 7860 006e8704 ffffffc0 60000145 00000000 f79a2498 ffffffc0 01045db8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355860] 7880 f3af78c0 ffffffc0 006e8290 ffffffc0 f798a8c0 ffffffc0 f79a2498 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355866] 78a0 009a0001 00000000 00000006 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355871] 78c0 f3af7950 ffffffc0 006e8560 ffffffc0 f79a2498 ffffffc0 009a0001 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355877] 78e0 00000000 00000000 f3415898 ffffffc0 f3c76b00 ffffffc0 00000003 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355878]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355880] Process systemd-udevd (pid: 293, stack limit = 0xffffffc0f3af4058)
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355882] Stack: (0xffffffc0f3af7880 to 0xffffffc0f3af8000)
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355886] 7880: f3af78c0 ffffffc0 006e8290 ffffffc0 f798a8c0 ffffffc0 f79a2498 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355889] 78a0: 009a0001 00000000 00000006 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355891] 78c0: f3af7950 ffffffc0 006e8560 ffffffc0 f79a2498 ffffffc0 009a0001 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355894] 78e0: 00000000 00000000 f3415898 ffffffc0 f3c76b00 ffffffc0 00000003 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355896] 7900: 0104b720 ffffffc0 1ff58550 ffffffc0 f52a6c60 ffffffc0 f3af4000 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355899] 7920: 00000000 ffffffc0 00000044 ffffffc0 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355902] 7940: 00000000 00000000 f79a2398 ffffffc0 f3af79a0 ffffffc0 006e85d4 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355904] 7960: f79a2498 ffffffc0 009a0001 00000000 009a2004 00000000 00000001 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355907] 7980: 00000000 00000000 00000000 00000000 00000044 00000006 01045db8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355909] 79a0: f3af79e0 ffffffc0 006e882c ffffffc0 f346ea40 ffffffc0 f3c76b00 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355912] 79c0: f79a2498 ffffffc0 f3415898 ffffffc0 00000000 00000000 f3415858 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355914] 79e0: f3af7a20 ffffffc0 00705040 ffffffc0 00000001 00000000 f79a2470 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355917] 7a00: f79a2018 ffffffc0 f79a2498 ffffffc0 0104b288 ffffffc0 0104b5e0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355920] 7a20: f3af7a60 ffffffc0 0070703c ffffffc0 f79a2018 ffffffc0 00000001 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355922] 7a40: 00000001 00000000 f52a6c60 ffffffc0 f3415e20 ffffffc0 003273f8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355925] 7a60: f3af7aa0 ffffffc0 00707704 ffffffc0 f79a2018 ffffffc0 f3415e20 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355927] 7a80: 1ff58b00 ffffffc0 f79a0038 ffffffc0 00000000 00000000 0104b5e0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355930] 7aa0: f3af7b20 ffffffc0 0070778c ffffffc0 f79a0560 ffffffc0 f79a0560 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355933] 7ac0: f79a0038 ffffffc0 f79a0500 ffffffc0 00000000 00000000 00000015 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355935] 7ae0: 00000116 00000000 00000111 00000000 011ac000 ffffffc0 f3af4000 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355938] 7b00: 1ff58550 ffffffc0 00000000 00000000 1ff60e08 ffffffc0 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355941] 7b20: f3af7b50 ffffffc0 006eba0c ffffffc0 f79a0500 ffffffc0 f524a660 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355943] 7b40: f7979278 ffffffc0 00000000 00000000 f3af7b80 ffffffc0 006ebc2c ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355946] 7b60: f79a0500 ffffffc0 f524a660 ffffffc0 0121e898 ffffffc0 f524a770 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355948] 7b80: f3af7bb0 ffffffc0 fc001484 ffffffbf 00000000 00000000 f3415018 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355951] 7ba0: fdcbb400 ffffffc0 fdcbb428 ffffffc0 f3af7c00 ffffffc0 006d05d0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355954] 7bc0: fdcbb400 ffffffc0 fc0022e0 ffffffbf fdcbb428 ffffffc0 0121c9f0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355956] 7be0: 00000006 00000000 006d05c0 ffffffc0 31786d69 655f3237 fc002200 ffffffbf
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355959] 7c00: f3af7c30 ffffffc0 005098bc ffffffc0 fdcbb428 ffffffc0 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355962] 7c20: fc0022e0 ffffffbf fc0022e0 ffffffbf f3af7c70 ffffffc0 00509b5c ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355964] 7c40: fdcbb428 ffffffc0 fc0022e0 ffffffbf fdcbb488 ffffffc0 0121c9f0 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355967] 7c60: aaba2108 0000007f 0121c9f0 ffffffc0 f3af7c90 ffffffc0 00509c30 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355970] 7c80: fdcbb428 ffffffc0 fc0022e0 ffffffbf f3af7cc0 ffffffc0 00507acc ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355972] 7ca0: 00000000 00000000 fc0022e0 ffffffbf 00509bd0 ffffffc0 00507ad8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355975] 7cc0: f3af7d00 ffffffc0 00509430 ffffffc0 fc0022e0 ffffffbf f5f70c80 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355978] 7ce0: 00000000 00000000 f5f70ce8 ffffffc0 fe1c1ea8 ffffffc0 fdcb67e8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355980] 7d00: f3af7d10 ffffffc0 00508e14 ffffffc0 f3af7d40 ffffffc0 0050a94c ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355983] 7d20: fc0022e0 ffffffbf fc005000 ffffffbf fc0027c8 ffffffbf aaba2108 0000007f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355985] 7d40: f3af7d60 ffffffc0 006d1c90 ffffffc0 fc002298 ffffffbf fc005000 ffffffbf
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355988] 7d60: f3af7d80 ffffffc0 fc005020 ffffffbf 00000000 00000000 000d7424 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355991] 7d80: f3af7d90 ffffffc0 000815f0 ffffffc0 f3af7dc0 ffffffc0 0010f008 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355993] 7da0: fc0027c8 ffffffbf f3af7e70 ffffffc0 fc0027c8 ffffffbf 0010effc ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355996] 7dc0: f3af7df0 ffffffc0 0010fc18 ffffffc0 00000000 00000000 f3af7e70 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.355999] 7de0: fc0027c8 ffffffbf 0010fba0 ffffffc0 f3af7e30 ffffffc0 0010ffa4 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356001] 7e00: 615d1b60 00000055 00000000 00000000 00000000 00000000 00000007 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356004] 7e20: aaba2108 0000007f 00000278 00000000 ec314450 0000007f 000853c8 ffffffc0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356006] 7e40: 615d1b60 00000055 00000000 00000000 ffffffff ffffffff aaae1af4 0000007f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356009] 7e60: 80000000 00000000 00000000 00000000 06081000 ffffff80 0004e230 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356011] 7e80: 060ce830 ffffff80 060a81a8 ffffff80 060a9498 ffffff80 000029d8 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356014] 7ea0: 00003290 00000000 fc0025c0 ffffffbf 0000000d 00000000 00000026 00000027
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356016] 7ec0: 00000011 00000000 00000009 00000000 00000007 00000000 aaba2108 0000007f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356019] 7ee0: 00000000 00000000 00000007 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356021] 7f00: 00000002 00000000 00000002 00000000 00000111 00000000 ec313390 0000007f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356024] 7f20: 01010101 01010101 00000005 00000000 00000000 00000000 00000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356026] 7f40: 00000000 00000000 aac90000 0000007f aaae1ad0 0000007f aabb41d0 0000007f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356029] 7f60: ec313bd8 0000007f 615d1b60 00000055 00000000 00000000 aaba2108 0000007f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356031] 7f80: 615fec80 00000055 00020000 00000000 00000000 00000000 615c6040 00000055
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356034] 7fa0: 00000000 00000000 00020000 00000000 ec3145e0 0000007f ec314450 0000007f
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356037] 7fc0: aab9b980 0000007f ec314450 0000007f aaae1af4 0000007f 80000000 00000000
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356039] 7fe0: 00000007 00000000 00000111 00000000 f9400262 f90037a2 d2800002 a90327a8
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356040] Call trace:
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356044] [] handler_new_ref+0x190/0x1c0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356047] [] v4l2_ctrl_new+0x240/0x2b8
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356050] [] v4l2_ctrl_new_std+0xbc/0xd0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356052] [] handler_new_ref+0x60/0x1c0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356054] [] v4l2_ctrl_add_handler+0x88/0xd8
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356058] [] tegra_channel_setup_controls+0x40/0xcc
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356061] [] tegra_channel_init_subdevices+0x100/0x12c
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356064] [] tegra_vi_graph_build_links+0x1e8/0x20c
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356067] [] tegra_vi_graph_notify_complete+0x64/0xa8
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356070] [] v4l2_async_test_notify+0xf4/0x110
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356072] [] v4l2_async_register_subdev+0x80/0xe0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356078] [] imx172_probe+0x2b4/0x31c [imx172]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356082] [] i2c_device_probe+0xb4/0xfc
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356086] [] really_probe+0x120/0x2c8
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356088] [] driver_probe_device+0x78/0xa4
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356091] [] __driver_attach+0x60/0x8c
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356093] [] bus_for_each_dev+0x54/0x98
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356096] [] driver_attach+0x20/0x28
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356098] [] bus_add_driver+0xe4/0x1d0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356100] [] driver_register+0xb8/0xfc
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356103] [] i2c_register_driver+0xcc/0xdc
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356107] [] $x+0x20/0x28 [imx172]
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356111] [] do_one_initcall+0x40/0x100
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356114] [] do_init_module+0x50/0x194
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356117] [] load_module+0x1f8/0x2c0
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356119] [] SyS_finit_module+0x11c/0x1b4
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.356122] Code: 1ad80aa0 1b18d415 93407eb5 f9402e60 (f8757800)
Jul 17 09:53:13 tegra-ubuntu kernel: [ 10.357873] —[ end trace 07904cde528b8f95 ]—
J

Hi xiaoyongtijee,

The camera driver are not support loadable module due to some module dependency.

Thanks

Thanks for confirming Kay. I’ll keep it in the kernel.
This requirement make it harder to develop new sensor drivers because I have to reboot to update the driver and also crashes in it would stop the kernel boot, which happens from time to time when I develope new sensor driver. Do you have some suggestions to work around these issues?

thanks