Loadable Sensor Driver Module

Hello,

I am trying to write a loadable driver module for an imagine sensor for the TX1. I followed the instructions to create the device tree and modified the ov5693 driver to make my own but the kernel panics each time I try to load the module (kernel prints below). Has anyone come across this issue before?

Thanks!

Apr 28 00:22:40 tegra-ubuntu kernel: [   56.517791] sensor: Unknown symbol camera_common_parse_ports (err 0)
Apr 28 00:22:46 tegra-ubuntu kernel: [   62.202116] sensor: Unknown symbol camera_common_parse_ports (err 0)
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.344905] [sensor]: probing v4l2 sensor.
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.344916] [sensor] : allocated priv
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.344952] [sensor] : parsed device tree
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.344964] [sensor] : parsed ports
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.344980] [sensor] : controls init, 1 ctrls
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.344985] [sensor] : ctrl handler initialised
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.344996] [sensor] : controls initialised
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345001] [sensor] : set_control
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345005] [sensor] : media entity
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345009] [sensor] : v4l2 async register soon
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345020] vi vi: subdev sensor 6-0010 bound
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345031] vi vi: notify complete, all subdevs registered
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345037] vi vi: creating links for entity sensor 6-0010
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345045] vi vi: processing endpoint /host1x/i2c@546c0000/sensor_a@10/ports/port@0/endpoint
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345116] vi vi: skipping channel port /host1x/i2c@546c0000/sensor_a@10:0
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345123] vi vi: creating links for channels
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345131] vi vi: processing endpoint /host1x/vi/ports/port@0/endpoint
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345160] vi vi: creating link for channel vi-output-0
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345167] vi vi: creating sensor 6-0010:0 -> vi-output-0:0 link
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.345185] Unable to handle kernel NULL pointer dereference at virtual address 00000010
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.353591] pgd = ffffffc0ea0d1000
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.357333] [00000010] *pgd=0000000000000000
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.361753] Internal error: Oops: 96000005 [#1] PREEMPT SMP
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.367323] Enter nvdumper_crash_setup_regs
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.371514] nvdumper: all registers are saved.
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.371601] nvdumper: all registers are saved.
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.371612] nvdumper: all registers are saved.
Apr 28 00:24:58 tegra-ubuntu kernel: [  194.384838] nvdumper: all registers are saved.
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.389283] Modules linked in: sensor(O+)
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.393334] CPU: 0 PID: 2621 Comm: insmod Tainted: G           O 3.10.96 #11
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.400377] task: ffffffc0f15c6380 ti: ffffffc0a0ee0000 task.ti: ffffffc0a0ee0000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.407857] PC is at handler_new_ref+0x190/0x1c0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.412472] LR is at handler_new_ref+0xd4/0x1c0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.417000] pc : [<ffffffc0006fc6b4>] lr : [<ffffffc0006fc5f8>] pstate: 60000145
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.424388] sp : ffffffc0a0ee3850
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.427702] x29: ffffffc0a0ee3850 x28: 0000000000000000 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.433042] x27: ffffffc0ccd14c00 x26: 0000000000000000 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.438381] x25: 0000000000000000 x24: 0000000000000003 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.443722] x23: ffffffc0ccd14c00 x22: 0000000000000000 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.449063] x21: 0000000000000010 x20: ffffffc0ad3cbbc0 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.454405] x19: ffffffc0f79a3498 x18: 0000007fd3ac6938 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.459745] x17: 0000007f7e448028 x16: 0000000000000020 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.465086] x15: 000000000000002c x14: 0000000000000069 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.470427] x13: 000000000000006c x12: 0000000000000020 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.475768] x11: 0000000000000075 x10: 0000000000000070 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.481107] x9 : 0000000000000074 x8 : 0000000000000006 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.486446] x7 : ffffffc0006fb5f0 x6 : ffffffc000fc2dc8 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.491786] x5 : 000000000000005f x4 : 0000000000000000 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.497124] x3 : 0000000000000000 x2 : 0000000000000000 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.502464] x1 : ffffffc0f79a34d8 x0 : 0000000000000000 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.507808] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.507808] PC: 0xffffffc0006fc634:
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.512768] c634  f9000680 f9000014 1400001a f9400c02 b9404042 6b0202bf 540000a9 f9400000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.521094] c654  eb00003f 54ffff41 14000012 6b0202bf 54000081 aa1403e0 97ea85da 14000015
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.529413] c674  f9400400 f9400001 f9000434 f9000281 f9000680 f9000014 14000006 f9400c02
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.537731] c694  b9404042 6b0202bf 54fffe29 17ffffec 1ad80aa0 1b18d415 937d7eb5 f9402e60
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.546057] c6b4  f8756800 f9000a80 f9402e60 f8356814 f9401660 9410fa8c 2a1603e0 a94153f3
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.554373] c6d4  a9425bf5 a94363f7 a8c47bfd d65f03c0 a9be7bfd 910003fd f9000bf3 aa0103f3
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.562697] c6f4  b4000200 b9407401 35000201 b50000b3 128002a1 b9007401 d2800000 1400000e
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.571020] c714  f9401261 eb00003f 54000140 aa1303e1 97ffff80 6b1f001f 9a9f0260 14000006
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.579338] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.579338] LR: 0xffffffc0006fc578:
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.584297] c578  2a0103e5 2a0103e6 97ffffb3 b5000060 b9407676 14000050 b9407676 350009d6
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.592616] c598  d0006860 f941fc00 52901a01 d2800502 97ea8207 aa0003f4 b50000c0 b9407660
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.600940] c5b8  12800176 35000880 b9007676 14000042 f9000c17 f94012e0 eb13001f 540000a1
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.609261] c5d8  91006280 f90016e0 52800020 b90032e0 f9000294 f9000694 f9401660 9410fb5c
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.617580] c5f8  91010261 f9402260 eb00003f 54000120 f9402662 f9400c42 b9404042 6b0202bf
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.625901] c618  54000088 eb00003f 54000381 14000020 f9402660 f9002674 f9000281 f9000680
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.634221] c638  f9000014 1400001a f9400c02 b9404042 6b0202bf 540000a9 f9400000 eb00003f
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.642544] c658  54ffff41 14000012 6b0202bf 54000081 aa1403e0 97ea85da 14000015 f9400400
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.650871] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.650871] SP: 0xffffffc0a0ee37d0:
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.655831] 37d0  ad3cbbc0 ffffffc0 00000010 00000000 00000000 00000000 ccd14c00 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.664148] 37f0  00000003 00000000 00000000 00000000 00000000 00000000 ccd14c00 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.672467] 3810  00000000 00000000 a0ee3850 ffffffc0 006fc5f8 ffffffc0 a0ee3850 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.680788] 3830  006fc6b4 ffffffc0 60000145 00000000 f79a3498 ffffffc0 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.689103] 3850  a0ee3890 ffffffc0 006fc22c ffffffc0 f79a3498 ffffffc0 009a0001 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.697427] 3870  00000006 00000000 0106dee8 ffffffc0 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.705747] 3890  a0ee3930 ffffffc0 006fc50c ffffffc0 f79a3498 ffffffc0 009a0001 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.714070] 38b0  00000000 00000000 f79a3498 ffffffc0 df4bf800 ffffffc0 00000003 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.722396] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.722396] X1: 0xffffffc0f79a3458:
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.727357] 3458  00000000 00000000 00000000 00000000 f79c6038 ffffffc0 f4ac0660 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.735683] 3478  00000000 00000000 00000000 00000000 00000000 00000000 f4ac0660 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.744004] 3498  00000000 00000000 f79a34a0 ffffffc0 f79a34a0 ffffffc0 f15c6380 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.752325] 34b8  00000000 00000000 f79a3498 ffffffc0 f79a34c8 ffffffc0 f79a34c8 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.760647] 34d8  ad3cbbc0 ffffffc0 ad3cbbc0 ffffffc0 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.768974] 34f8  00000000 00000000 00000000 00000000 00000003 00000000 00000500 00000320
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.777296] 3518  30314752 00000001 00000500 000fa000 00000008 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.785619] 3538  00000000 00000000 00000000 00000000 00bf95c8 ffffffc0 00000001 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.793944] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.793944] X6: 0xffffffc000fc2d48:
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.798904] 2d48  2e646165 00000063 7268746b 64646165 00000000 00000000 6d6f682f 69612f65
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.807222] 2d68  502f6567 656a6f72 732f7463 6372756f 6b2f7365 656e7265 72735f6c 656b2f63
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.815544] 2d88  6c656e72 72656b2f 2f6c656e 69736f70 70632d78 69742d75 7372656d 0000632e
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.823864] 2da8  54523601 74615720 6f646863 69542067 756f656d 25203a74 64255b73 00000a5d
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.832187] 2dc8  6d6f682f 69612f65 502f6567 656a6f72 732f7463 6372756f 6b2f7365 656e7265
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.840509] 2de8  72735f6c 656b2f63 6c656e72 72656b2f 2f6c656e 6574756d 00632e78 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.848828] 2e08  6d6f682f 69612f65 502f6567 656a6f72 732f7463 6372756f 6b2f7365 656e7265
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.857150] 2e28  72735f6c 656b2f63 6c656e72 72656b2f 2f6c656e 69747268 2e72656d 00000063
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.865473] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.865473] X7: 0xffffffc0006fb570:
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.870435] b570  14000008 b9400280 321a0000 b9000280 14000004 b9400280 321e0000 b9000280
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.878754] b590  a94153f3 a9425bf5 a94363f7 a9446bf9 a8c57bfd d65f03c0 b9405000 7100141f
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.887083] b5b0  54000060 71001c1f 54000061 52800000 14000002 52800020 d65f03c0 51000400
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.895407] b5d0  7100201f 540006a8 900027c5 9127a0a5 386048a6 10000067 8b2688e6 d61f00c0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.903731] b5f0  7100047f 540005e1 7100045f 540005ac 37f805c1 340005e3 6b02003f 540005ac
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.912055] b610  6b02009f 5400008c 52800000 6b01009f 5400066a 12800420 14000031 350004e3
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.920373] b630  350004c1 340004e2 0a220080 6b1f001f 12800421 1a810000 14000029 6b02003f
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.928703] b650  5400044c 6b01009f 5400040b 6b04005f 5400040b 52800000 34000423 52800020
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.937037] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.937037] X19: 0xffffffc0f79a3418:
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.942086] 3418  00000000 00000000 f79a3440 ffffffc0 f79a3028 ffffffc0 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.950408] 3438  00000001 00000000 00000001 00000000 f79a3448 ffffffc0 f79a3448 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.958729] 3458  00000000 00000000 00000000 00000000 f79c6038 ffffffc0 f4ac0660 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.967053] 3478  00000000 00000000 00000000 00000000 00000000 00000000 f4ac0660 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.975372] 3498  00000000 00000000 f79a34a0 ffffffc0 f79a34a0 ffffffc0 f15c6380 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.983697] 34b8  00000000 00000000 f79a3498 ffffffc0 f79a34c8 ffffffc0 f79a34c8 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  194.992019] 34d8  ad3cbbc0 ffffffc0 ad3cbbc0 ffffffc0 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.000338] 34f8  00000000 00000000 00000000 00000000 00000003 00000000 00000500 00000320
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.008669] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.008669] X20: 0xffffffc0ad3cbb40:
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.013716] bb40  67616d69 67616d65 2d6b6369 31712e36 69645f36 616c7073 6d692d79 31712e36
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.022043] bb60  6e702e36 00000067 ac04ca40 ffffffc0 ad3cbb70 ffffffc0 ad3cbb70 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.030366] bb80  fde54018 ffffffc0 004a98c8 ffffffc0 e3e9a3d8 ffffffc0 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.038695] bba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.047021] bbc0  f79a34d8 ffffffc0 f79a34d8 ffffffc0 00000000 00000000 ccd14c00 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.055340] bbe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.063663] bc00  6d6f6e67 79732d65 6d657473 6e6f6d2d 726f7469 6974755f 6974696c 732d7365
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.071986] bc20  65747379 6f6d2d6d 6f74696e 6e702e72 00000067 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.080308] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.080308] X23: 0xffffffc0ccd14b80:
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.085356] 4b80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.093672] 4ba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.101997] 4bc0  00000000 00000000 00000000 00000000 00200200 dead0000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.110323] 4be0  00000000 00000000 da39c658 ffffffc0 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.118651] 4c00  ccd14c00 ffffffc0 ccd14c00 ffffffc0 ccd14c10 ffffffc0 ccd14c10 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.126968] 4c20  f79a3498 ffffffc0 ad3cbbd8 ffffffc0 00000001 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.135292] 4c40  009a0001 00000000 0106dee8 ffffffc0 00000006 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.143609] 4c60  00000000 00000000 00000000 00000000 00000044 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.151936] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.151936] X27: 0xffffffc0ccd14b80:
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.156984] 4b80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.165304] 4ba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.173625] 4bc0  00000000 00000000 00000000 00000000 00200200 dead0000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.181948] 4be0  00000000 00000000 da39c658 ffffffc0 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.190270] 4c00  ccd14c00 ffffffc0 ccd14c00 ffffffc0 ccd14c10 ffffffc0 ccd14c10 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.198587] 4c20  f79a3498 ffffffc0 ad3cbbd8 ffffffc0 00000001 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.206911] 4c40  009a0001 00000000 0106dee8 ffffffc0 00000006 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.215236] 4c60  00000000 00000000 00000000 00000000 00000044 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.223562] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.223562] X29: 0xffffffc0a0ee37d0:
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.228610] 37d0  ad3cbbc0 ffffffc0 00000010 00000000 00000000 00000000 ccd14c00 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.236925] 37f0  00000003 00000000 00000000 00000000 00000000 00000000 ccd14c00 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.245250] 3810  00000000 00000000 a0ee3850 ffffffc0 006fc5f8 ffffffc0 a0ee3850 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.253571] 3830  006fc6b4 ffffffc0 60000145 00000000 f79a3498 ffffffc0 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.261897] 3850  a0ee3890 ffffffc0 006fc22c ffffffc0 f79a3498 ffffffc0 009a0001 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.270220] 3870  00000006 00000000 0106dee8 ffffffc0 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.278546] 3890  a0ee3930 ffffffc0 006fc50c ffffffc0 f79a3498 ffffffc0 009a0001 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.286869] 38b0  00000000 00000000 f79a3498 ffffffc0 df4bf800 ffffffc0 00000003 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.295190] 
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.296684] Process insmod (pid: 2621, stack limit = 0xffffffc0a0ee0058)
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.303379] Stack: (0xffffffc0a0ee3850 to 0xffffffc0a0ee4000)
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.309121] 3840:                                     a0ee3890 ffffffc0 006fc22c ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.317291] 3860: f79a3498 ffffffc0 009a0001 00000000 00000006 00000000 0106dee8 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.325459] 3880: 00000000 00000000 00000000 00000000 a0ee3930 ffffffc0 006fc50c ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.333628] 38a0: f79a3498 ffffffc0 009a0001 00000000 00000000 00000000 f79a3498 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.341797] 38c0: df4bf800 ffffffc0 00000003 00000000 00000000 00000000 1ff5b848 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.349968] 38e0: 01073ad0 ffffffc0 01073c10 ffffffc0 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.358138] 3900: 00000000 ffffffc0 00000044 ffffffc0 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.366309] 3920: 00000000 00000000 f79a3398 ffffffc0 a0ee3980 ffffffc0 006fc584 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.374477] 3940: f79a3498 ffffffc0 009a0001 00000000 009a200a 00000000 006fbafc ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.382646] 3960: 0106dee8 ffffffc0 00000006 00000044 00000000 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.390814] 3980: a0ee39c0 ffffffc0 006fc7e4 ffffffc0 f629b480 ffffffc0 df4bf800 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.398982] 39a0: da5a0498 ffffffc0 f79a3498 ffffffc0 00000000 00000000 da5a0458 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.407150] 39c0: a0ee3a10 ffffffc0 00719304 ffffffc0 00000001 00000000 f79a3470 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.415318] 39e0: f79a3018 ffffffc0 00000000 00000000 f79a3498 ffffffc0 01073748 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.423488] 3a00: f79a3028 ffffffc0 00003a50 ffffffc0 a0ee3a50 ffffffc0 0071b378 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.431658] 3a20: f79a3018 ffffffc0 f4ac0660 ffffffc0 da5a04e0 ffffffc0 00000001 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.439828] 3a40: 00000001 00000000 00000000 00000000 a0ee3a90 ffffffc0 0071ba60 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.447996] 3a60: 1ff5bdc8 ffffffc0 f79c6038 ffffffc0 f79a3018 ffffffc0 f4ac0660 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.456166] 3a80: da5a04e0 ffffffc0 00000000 00000000 a0ee3b20 ffffffc0 0071bae8 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.464336] 3aa0: f79c6560 ffffffc0 f79c6560 ffffffc0 f79c6038 ffffffc0 f79c6500 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.472506] 3ac0: 00000000 00000000 00000015 00000000 00000116 00000000 00000111 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.480677] 3ae0: 011dc000 ffffffc0 a0ee0000 ffffffc0 1ff5b848 ffffffc0 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.488845] 3b00: 1ff63668 ffffffc0 00000000 00000000 01073b80 ffffffc0 01073b48 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.497016] 3b20: a0ee3b50 ffffffc0 006ff9f4 ffffffc0 f79c6500 ffffffc0 f4ac0660 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.505185] 3b40: f79b9478 ffffffc0 00000000 00000000 a0ee3b80 ffffffc0 006ffc14 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.513354] 3b60: f79c6500 ffffffc0 f4ac0660 ffffffc0 01257b20 ffffffc0 f4ac0770 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.521523] 3b80: a0ee3bb0 ffffffc0 fc00ebe0 ffffffbf 00000000 00000000 f4ac0618 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.529692] 3ba0: fcb2cc28 ffffffc0 da5a0418 ffffffc0 a0ee3c00 ffffffc0 006dbd2c ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.537860] 3bc0: fcb2cc00 ffffffc0 fc00ffb0 ffffffbf fcb2cc28 ffffffc0 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.546027] 3be0: 00000004 00000000 006dbd1c ffffffc0 31307261 615f3434 fc00ff00 ffffffbf
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.554197] 3c00: a0ee3c30 ffffffc0 00510a90 ffffffc0 fcb2cc28 ffffffc0 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.562366] 3c20: fc00ffb0 ffffffbf fc00ffb0 ffffffbf a0ee3c70 ffffffc0 00510d28 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.570536] 3c40: fcb2cc28 ffffffc0 fc00ffb0 ffffffbf fcb2cc88 ffffffc0 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.578706] 3c60: 7bda9bb0 00000055 00000000 00000000 a0ee3c90 ffffffc0 00510e04 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.586874] 3c80: fcb2cc28 ffffffc0 fc00ffb0 ffffffbf a0ee3cc0 ffffffc0 0050ebd0 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.595042] 3ca0: 00000000 00000000 fc00ffb0 ffffffbf 00510da4 ffffffc0 0050ebdc ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.603210] 3cc0: a0ee3d00 ffffffc0 005105f4 ffffffc0 fc00ffb0 ffffffbf da9cfa80 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.611378] 3ce0: 0124cb00 ffffffc0 fe175ed0 ffffffc0 fe175ea8 ffffffc0 fcb37428 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.619549] 3d00: a0ee3d10 ffffffc0 0050ffd0 ffffffc0 a0ee3d40 ffffffc0 00511b80 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.627717] 3d20: fc00ffb0 ffffffbf fc013000 ffffffbf fc010420 ffffffbf 7bda9bb0 00000055
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.635887] 3d40: a0ee3d60 ffffffc0 006dd410 ffffffc0 fc00ff68 ffffffbf fc013000 ffffffbf
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.644057] 3d60: a0ee3d80 ffffffc0 fc013020 ffffffbf 00000000 00000000 000d86b4 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.652227] 3d80: a0ee3d90 ffffffc0 0008160c ffffffc0 a0ee3dc0 ffffffc0 00110524 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.660396] 3da0: fc010420 ffffffbf a0ee3e70 ffffffc0 fc010420 ffffffbf 00110518 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.668563] 3dc0: a0ee3df0 ffffffc0 00111158 ffffffc0 00000000 00000000 a0ee3e70 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.676730] 3de0: fc010420 ffffffbf 001110d8 ffffffc0 a0ee3e30 ffffffc0 00111504 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.684899] 3e00: 7bdbe500 00000055 00000000 00000000 00000000 00000000 00000003 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.693068] 3e20: 7bda9bb0 00000055 00111494 ffffffc0 d41baad0 0000007f 000853c8 ffffffc0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.701238] 3e40: 7bdbe500 00000055 00000000 00000000 ffffffff ffffffff 96367974 0000007f
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.709407] 3e60: 80000000 00000000 7bdbd090 00000055 0913e000 ffffff80 00049a7c 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.717574] 3e80: 091635e8 ffffff80 09163490 ffffff80 091871f8 ffffff80 00002630 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.725742] 3ea0: 00002d50 00000000 fc010290 ffffffbf 0000000a 00000000 00000025 00000026
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.733912] 3ec0: 00000011 00000000 00000009 00000000 00000003 00000000 7bda9bb0 00000055
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.742081] 3ee0: 00000000 00000000 00000003 00000000 00000000 00000000 00000002 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.750249] 3f00: 00000000 00000000 00000000 00000000 00000111 00000000 ffffffff 0000003f
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.758419] 3f20: 01010101 01010101 00000000 00000000 000003f3 00000000 00000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.766587] 3f40: 00000000 00000000 96436000 0000007f 96367950 0000007f 7bdbc2b0 00000055
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.774754] 3f60: 00000a03 00000000 7bdbe500 00000055 00000000 00000000 7bda9bb0 00000055
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.782923] 3f80: 7bdbe4d0 00000055 00000000 00000000 00000000 00000000 d41bab88 0000007f
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.791093] 3fa0: 00000000 00000000 00000000 00000000 00000000 00000000 d41baad0 0000007f
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.799261] 3fc0: 7bd9fb70 00000055 d41baad0 0000007f 96367974 0000007f 80000000 00000000
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.807428] 3fe0: 00000003 00000000 00000111 00000000 4430a143 00442926 30264312 44382003
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.815594] Call trace:
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.818043] [<ffffffc0006fc6b4>] handler_new_ref+0x190/0x1c0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.823700] [<ffffffc0006fc22c>] v4l2_ctrl_new+0x228/0x29c
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.829182] [<ffffffc0006fc50c>] v4l2_ctrl_new_std+0xc0/0xd8
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.834838] [<ffffffc0006fc584>] handler_new_ref+0x60/0x1c0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.840404] [<ffffffc0006fc7e4>] v4l2_ctrl_add_handler+0x90/0xe0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.846409] [<ffffffc000719304>] tegra_channel_setup_controls+0x44/0xd0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.853017] [<ffffffc00071b378>] tegra_channel_init_subdevices+0x104/0x138
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.859884] [<ffffffc00071ba60>] tegra_vi_graph_build_links+0x1f8/0x21c
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.866491] [<ffffffc00071bae8>] tegra_vi_graph_notify_complete+0x64/0xa8
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.873275] [<ffffffc0006ff9f4>] v4l2_async_test_notify+0xf4/0x114
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.879449] [<ffffffc0006ffc14>] v4l2_async_register_subdev+0x80/0xe0
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.885889] [<ffffffbffc00ebe0>] sensor_probe+0x2e8/0x348 [sensor]
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.892066] [<ffffffc0006dbd2c>] i2c_device_probe+0xb8/0xf8
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.897637] [<ffffffc000510a90>] really_probe+0x124/0x2d8
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.903033] [<ffffffc000510d28>] driver_probe_device+0x7c/0xa4
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.908861] [<ffffffc000510e04>] __driver_attach+0x60/0x8c
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.914342] [<ffffffc00050ebd0>] bus_for_each_dev+0x54/0x94
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.919909] [<ffffffc0005105f4>] driver_attach+0x20/0x28
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.925217] [<ffffffc00050ffd0>] bus_add_driver+0xe8/0x1d4
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.930700] [<ffffffc000511b80>] driver_register+0xb8/0x100
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.936268] [<ffffffc0006dd410>] i2c_register_driver+0xd4/0xe8
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.942099] [<ffffffbffc013020>] $x+0x20/0x28 [sensor]
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.947234] [<ffffffc00008160c>] do_one_initcall+0x40/0x108
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.952805] [<ffffffc000110524>] do_init_module+0x50/0x194
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.958287] [<ffffffc000111158>] load_module+0x200/0x2c8
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.963595] [<ffffffc000111504>] SyS_finit_module+0x128/0x1c8
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.969338] Code: 1ad80aa0 1b18d415 937d7eb5 f9402e60 (f8756800) 
Apr 28 00:25:00 tegra-ubuntu kernel: [  195.979761] ---[ end trace f65230d734092431 ]---

Hi ayodeji
I am sorry to inform camera driver are not support loadable module due to some module dependency.

Hello Shane!

Thanks for the quick response. Does the Soc-Camera driver architecture still work on the TX1? I should be able to use loadable camera driver modules with that right?

Thanks!

Hi ayodeji

It’s not working after r24.2 but r24.1.