Commit 7e3dd765 authored by Shrirang Bagul's avatar Shrirang Bagul
Browse files

UBUNTU: [Config] disable CONFIG_MSM_VIDC_V4L2



Disable msm_vidc driver. when built as modules, it's causes kernel to
panic:

[   21.431567] msm_vidc_v4l2 aa00000.qcom,vidc:venus_bus_ddr: devfreq_add_device: Unable to find governor for the device
[   21.442850] list_del corruption, ffffffefa4ff9000->next is LIST_POISON1 (dead000000000100)
[   21.604387] Modules linked in: crct10dif_ce msm_vidc qcom_gvm_ipc_mailbox uio_pdrv_genirq sch_fq_codel algif_skcipher af_alg hid_generic usbhid autofs4
[   21.619049] Process v4l_id (pid: 1153, stack limit = 0xffffff8020180000)
[   21.625966] CPU: 2 PID: 1153 Comm: v4l_id Tainted: G S              4.14.0-1013-qcomm #13-Ubuntu
[   21.635016] Hardware name: Qualcomm Technologies, Inc. SA8155P V2 ADP AIR (DT)
[   21.642456] task: ffffffef8d98a800 task.stack: ffffff8020180000
[   21.648576] pc : __list_del_entry_valid+0x68/0xac
[   21.653434] lr : __list_del_entry_valid+0x68/0xac
[   21.658291] sp : ffffff8020183660 pstate : 60400145
[   21.663320] x29: ffffff8020183660 x28: ffffff85ef1b858c
[   21.668803] x27: ffffff85ef1b7530 x26: ffffffbefe8a50bc
[   21.674302] x25: ffffffefa42b18a8 x24: ffffffffffffffed
[   21.674309] x23: ffffffefa4ff9578 x22: ffffff918a5cc558
[   21.685284] x21: ffffffefa4ff9120 x20: ffffffefa4ff9110
[   21.685291] x19: ffffffefa4ff9000 x18: 00000000000000f9
[   21.696265] x17: 00000000000003e7 x16: 00000000006a659f
[   21.696272] x15: 0000000000004e20 x14: 0000800000000000
[   21.707244] x13: 0000000000000004 x12: 00000000188c6bfc
[   21.707251] x11: 0000000000000015 x10: 000000000682aaab
[   21.707260] x9 : f3a3eb21a69fc600 x8 : f3a3eb21a69fc600
[   21.723690] x7 : ffffff91888877e4 x6 : 0000000000000000
[   21.729421] x5 : 0000000000000080 x4 : 0000000000000001
[   21.729428] x3 : 00000000004c0428 x2 : ffffff91892d6220
[   21.740378] x1 : ffffff91892db3d0 x0 : 000000000000004e
[   21.745864]
[   21.745864] PC: 0xffffff918877d3a4:
[   21.750985] d3a4  eb02013f 54000220 f9400122 eb01005f 54000261 f9400502 eb01005f 540002a1
[   21.759433] d3c4  52800020 a8c17bfd d65f03c0 f0008480 d2802002 91220c00 f2fbd5a2 97efb032
[   21.767877] d3e4  d4210000 14000000 f0008480 9122e400 97efb02d d4210000 14000000 f0008480
[   21.776320] d404  9123bc00 97efb028 d4210000 14000000 f0008480 9124ac00 97efb023 d4210000
[   21.784766]
[   21.784766] LR: 0xffffff918877d3a4:
[   21.789887] d3a4  eb02013f 54000220 f9400122 eb01005f 54000261 f9400502 eb01005f 540002a1
[   21.798330] d3c4  52800020 a8c17bfd d65f03c0 f0008480 d2802002 91220c00 f2fbd5a2 97efb032
[   21.806774] d3e4  d4210000 14000000 f0008480 9122e400 97efb02d d4210000 14000000 f0008480
[   21.815217] d404  9123bc00 97efb028 d4210000 14000000 f0008480 9124ac00 97efb023 d4210000
[   21.823662]
[   21.823662] SP: 0xffffff8020183620:
[   21.828781] 3620  8877d3e4 ffffff91 60400145 00000000 ffffffc8 ffffff80 a69fc600 f3a3eb21
[   21.837225] 3640  ffffffff 0000007f 8877d3e4 ffffff91 20183660 ffffff80 8877d3e4 ffffff91
[   21.845679] 3660  20183670 ffffff80 88f44618 ffffff91 20183690 ffffff80 88a64ce8 ffffff91
[   21.854122] 3680  99c01b00 ffffffef 99c01b00 ffffffef 201836c0 ffffff80 892c7a64 ffffff91
[   21.862566]
[   21.864116] Call trace:
[   21.866658]  __list_del_entry_valid+0x68/0xac
[   21.871165]  devfreq_dev_release+0x30/0xb0
[   21.875396]  device_release+0x38/0x90
[   21.879190]  kobject_cleanup+0x150/0x190
[   21.883246]  kobject_put+0x4c/0x58
[   21.886761]  device_unregister+0x5c/0x68
[   21.890816]  devfreq_add_device+0x45c/0x4c4
[   21.895172]  __load_fw+0x478/0x11d0 [msm_vidc]
[   21.899775]  venus_hfi_core_init+0xf0/0x10e4 [msm_vidc]
[   21.905182]  msm_comm_try_state+0x338/0x1964 [msm_vidc]
[   21.910589]  msm_vidc_open+0x7d8/0xb04 [msm_vidc]
[   21.915465]  msm_v4l2_open+0x230/0x4d0 [msm_vidc]
[   21.920329]  v4l2_open+0xa4/0xec
[   21.923678]  chrdev_open+0xbc/0x1b8
[   21.927289]  do_dentry_open+0x244/0x32c
[   21.931253]  vfs_open+0x50/0x7c
[   21.934504]  path_openat+0xa08/0x12f4
[   21.938293]  do_filp_open+0x80/0xfc
[   21.941901]  do_sys_open+0x13c/0x24c
[   21.945601]  SyS_openat+0x38/0x48
[   21.949028]  __sys_trace_return+0x0/0x4
[   21.952996] Code: d2802002 91220c00 f2fbd5a2 97efb032 (d4210000)
[   21.959282] ---[ end trace 39826d5b99368c32 ]---
[   21.964054] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:23
[   21.972659] in_atomic(): 0, irqs_disabled(): 128, pid: 1153, name: v4l_id
[   21.979656] INFO: lockdep is turned off.
[   21.983713] irq event stamp: 0
[   21.986874] hardirqs last  enabled at (0): [<          (null)>]           (null)
[   21.994506] hardirqs last disabled at (0): [<ffffff91882bda94>] copy_process+0x708/0x1d24
[   22.002928] softirqs last  enabled at (0): [<ffffff91882bdaac>] copy_process+0x720/0x1d24
[   22.011349] softirqs last disabled at (0): [<          (null)>]           (null)
[   22.018981] ------------[ cut here ]------------
[   22.023750] kernel BUG at kernel/sched/core.c:6639!
[   22.028781] Internal error: Oops - BUG: 0 [#2] PREEMPT SMP
[   22.034441] Modules linked in: crct10dif_ce msm_vidc qcom_gvm_ipc_mailbox uio_pdrv_genirq sch_fq_codel algif_skcipher af_alg hid_generic usbhid autofs4
[   22.048426] Process v4l_id (pid: 1153, stack limit = 0xffffff8020180000)
[   22.055339] CPU: 2 PID: 1153 Comm: v4l_id Tainted: G S    D         4.14.0-1013-qcomm #13-Ubuntu
[   22.064387] Hardware name: Qualcomm Technologies, Inc. SA8155P V2 ADP AIR (DT)
[   22.071827] task: ffffffef8d98a800 task.stack: ffffff8020180000
[   22.077931] pc : ___might_sleep+0x1f4/0x1fc
[   22.082249] lr : ___might_sleep+0x1b4/0x1fc
[   22.086565] sp : ffffff8020183200 pstate : 604003c5
[   22.091594] x29: ffffff8020183200 x28: ffffffef8d98a800
[   22.097077] x27: ffffff85ef1b7530 x26: ffffffbefe8a50bc
[   22.102560] x25: ffffffefa42b18a8 x24: ffffff918a45d360
[   22.108043] x23: ffffff918828ed7c x22: ffffffef8d98a800
[   22.113526] x21: ffffff91897c6a1c x20: 0000000000000017
[   22.119008] x19: 0000000000000000 x18: ffffffefbf7d2208
[   22.124490] x17: 000000000000003c x16: ffffff91892cfb3c
[   22.129973] x15: 0000000000000006 x14: 0720072007200720
[   22.135455] x13: 0000000000000004 x12: 000000001932a8b7
[   22.140937] x11: 0000000000000015 x10: 000000000682aaab
[   22.146419] x9 : 0000000000000000 x8 : 0000000000000000
[   22.151901] x7 : ffffff918836a8d8 x6 : 0000000000000000
[   22.157382] x5 : 0000000000000080 x4 : 0000000000000001
[   22.162864] x3 : 0000000000000000 x2 : ffffff918836a8e8
[   22.168346] x1 : ffffff918997e485 x0 : 0000000000000044
[   22.173828]
[   22.173828] PC: 0xffffff918830c51c:
[   22.178949] c51c  b94052c8 b94512c9 0b080128 6b13011f 54000180 d000a5a0 91252c00 940173dc
[   22.187393] c53c  9000a6c0 913b0800 aa1703e1 aa1703e2 940173d7 d000a540 91344000 940173d4
[   22.195836] c55c  d4210000 14000000 d101c3ff a9047bfd f9002bf5 a9064ff4 910103fd d00108a8
[   22.204279] c57c  f9400508 f81f83a8 d503201f d00107c0 91020000 a902ffff a901ffff a900ffff
[   22.212725]
[   22.212725] LR: 0xffffff918830c4dc:
[   22.217846] c4dc  940173f3 f94032c8 528dd3a9 72aaf589 f9400108 eb09011f 54000080 d000a5a0
[   22.226290] c4fc  91247c00 940173ea aa1603e0 94011fce d53b4228 36380068 aa1603e0 94011350
[   22.234733] c51c  b94052c8 b94512c9 0b080128 6b13011f 54000180 d000a5a0 91252c00 940173dc
[   22.243176] c53c  9000a6c0 913b0800 aa1703e1 aa1703e2 940173d7 d000a540 91344000 940173d4
[   22.251621]
[   22.251621] SP: 0xffffff80201831c0:
[   22.256741] 31c0  8830c55c ffffff91 604003c5 00000000 8d98a800 ffffffef 8d98a800 ffffffef
[   22.265184] 31e0  ffffffff 0000007f 8830c51c ffffff91 20183200 ffffff80 8830c55c ffffff91
[   22.273628] 3200  20183240 ffffff80 8830c334 ffffff91 00000000 00000000 88369524 ffffff91
[   22.282071] 3220  8d98a800 ffffffef 897c6a1c ffffff91 00000017 00000000 00000000 00000000
[   22.290515]
[   22.292065] Call trace:
[   22.294603]  ___might_sleep+0x1f4/0x1fc
[   22.298566]  __might_sleep+0x50/0x84
[   22.302266]  down_read+0x2c/0x94
[   22.305612]  __blocking_notifier_call_chain+0x40/0x84
[   22.310826]  blocking_notifier_call_chain+0x38/0x48
[   22.315859]  profile_task_exit+0x28/0x34
[   22.319916]  do_exit+0x34/0xb1c
[   22.323167]  arm64_notify_die+0x0/0x70
[   22.327035]  bug_handler+0x50/0x88
[   22.330550]  call_break_hook+0x104/0x11c
[   22.334605]  brk_handler+0x40/0x7c
[   22.338120]  do_debug_exception+0x7c/0x114
[   22.342346]  el1_dbg+0x18/0xa4
[   22.345504]  __list_del_entry_valid+0x68/0xac
[   22.350005]  devfreq_dev_release+0x30/0xb0
[   22.354231]  device_release+0x38/0x90
[   22.358021]  kobject_cleanup+0x150/0x190
[   22.362076]  kobject_put+0x4c/0x58
[   22.365590]  device_unregister+0x5c/0x68
[   22.369645]  devfreq_add_device+0x45c/0x4c4
[   22.373983]  __load_fw+0x478/0x11d0 [msm_vidc]
[   22.378586]  venus_hfi_core_init+0xf0/0x10e4 [msm_vidc]
[   22.383990]  msm_comm_try_state+0x338/0x1964 [msm_vidc]
[   22.389395]  msm_vidc_open+0x7d8/0xb04 [msm_vidc]
[   22.394270]  msm_v4l2_open+0x230/0x4d0 [msm_vidc]
[   22.399129]  v4l2_open+0xa4/0xec
[   22.402472]  chrdev_open+0xbc/0x1b8
[   22.406078]  do_dentry_open+0x244/0x32c
[   22.410041]  vfs_open+0x50/0x7c
[   22.413290]  path_openat+0xa08/0x12f4
[   22.417078]  do_filp_open+0x80/0xfc
[   22.420685]  do_sys_open+0x13c/0x24c
[   22.424383]  SyS_openat+0x38/0x48
[   22.427806]  __sys_trace_return+0x0/0x4
[   22.431770] Code: 940173d7 d000a540 91344000 940173d4 (d4210000)
[   22.438053] ---[ end trace 39826d5b99368c33 ]---

Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent 9ad60b88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment