Letux Kernel

Issue 813: iio kernel oops when booting replicant

Reported by Andreas Kemnade, May 1, 2017

With this kernel and a gta04a4 or letux 3704
goldelico/work/lukas/android-4.10
I get this oops: No problem when sensor modules
are not loaded (like it is now the default case on
gta04a5.

[   46.152648] Unable to handle kernel NULL pointer dereference at 
virtual address 00000058
[   46.161193] pgd = dcdb4000
[   46.164062] [00000058] *pgd=00000000
[   46.167877] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[   46.173492] Modules linked in: at24 nvmem_core gpio_twl4030 
extcon_gpio w2sg0004 lis3lv02d_i2c lis3lv02d input_polldev 
hmc5843_i2c hmc5843_core itg3200 industrialio_triggered_buffer 
kfifo_buf wwan_on_off xt_owner ehci_omap libertas cs
[   46.248840]  sysfillrect cfbimgblt syscopyarea cfbfillrect 
fb_sys_fops drm ipv6 panel_dpi panel_tpo_td028ttec1 iptable_filter 
ip_tables x_tables omapdss usb_f_fs libcomposite configfs
[   46.266235] CPU: 0 PID: 2077 Comm: SensorService Tainted: G       
 W       4.10.5-letux+ #4
[   46.275054] Hardware name: Generic OMAP36xx (Flattened Device 
Tree)
[   46.281646] task: dcf881c0 task.stack: dcf8c000
[   46.286468] PC is at __lock_acquire+0xa4/0x1680
[   46.291259] LR is at lock_acquire+0x25c/0x290
[   46.295867] pc : [<c018547c>]    lr : [<c01871b4>]    
psr: 20030093
[   46.295867] sp : dcf8dac8  ip : 00000000  fp : 00000000
[   46.307952] r10: 60030093  r9 : 00000001  r8 : 00000000
[   46.313476] r7 : 00000058  r6 : 00000080  r5 : 00000000  r4 : 
dcf881c0
[   46.320373] r3 : 00000001  r2 : 00000000  r1 : 00000000  r0 : 
dcf8dac8
[   46.327270] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  
Segment none
[   46.334869] Control: 10c5387d  Table: 9cdb4019  DAC: 00000051
[   46.340942] Process SensorService (pid: 2077, stack limit = 
0xdcf8c218)
[   46.347900] Stack: (0xdcf8dac8 to 0xdcf8e000)
[   46.352539] dac0:                   ffffffff c12e12a4 fffeffff 
00000000 00000000 00000001
[   46.361175] dae0: 72274524 74e028d9 c1298f04 c1206c28 ff5f6fef 
ffffffff ffffffff effff7ff
[   46.369812] db00: ffffffff fffbffff ffffffff ffffffff ffffffff 
ffefff9f fffffb7f 00000000
[   46.378448] db20: 00000000 00000058 00000000 00000000 00000000 
60030093 00000001 c01871b4
[   46.387084] db40: 00000001 00000080 00000000 c017b99c 00000000 
00000000 00000001 00000048
[   46.395721] db60: 60030013 c017b99c 00000000 dcf8dbf4 00000000 
00000000 00000000 c0763018
[   46.404357] db80: 00000001 00000000 c017b99c 00000000 00000048 
dcf8dd44 dcf8dd38 c017b99c
[   46.412994] dba0: 00000000 dc9f9000 dda2a000 bf1af148 bf1af10c 
dcf8dc04 00000000 c0282134
[   46.421630] dbc0: fdffffff dda2a001 00000000 00000000 00000000 
00000000 00000000 00000000
[   46.430267] dbe0: 80252c70 dcf8dc0c ffffffff ffffffff ffffffff 
00000000 00000002 00000027
[   46.438903] dc00: 00000001 0000002e 00000001 ffffef7f ff7fffaf 
ffffffff 00000001 dcf88768
[   46.447540] dc20: 00000000 ffffffff dcf881c0 c018282c 00000000 
600f0093 54a805e8 dcf881c0
[   46.456176] dc40: 0002540c c01828b4 00000001 dcf88240 00000001 
dcf88768 00000000 ffffffff
[   46.464813] dc60: dcf881c0 c018282c 00000000 600f0093 dcf88240 
dcf8de4c c0b72f00 c01828b4
[   46.473449] dc80: 00000000 df99cf58 dcf881c0 00000000 dcf88768 
df99cf10 00000000 00000001
[   46.482086] dca0: 00000056 c01857c0 00000000 ffffffff dcf881c0 
c018282c 00004c8c 00000001
[   46.490722] dcc0: 7620bac8 a74af2d2 c12a9688 c01828b4 00000001 
df99cf00 df99cf58 c016aac0
[   46.499359] dce0: c015c178 c0186d08 00000000 00000000 becca9e3 
c02809dc 00000019 00000000
[   46.507995] dd00: dcf881c0 00000000 00000000 00000002 dc8f7c00 
00000019 00000000 dcf8dcf4
[   46.516632] dd20: c0280ac4 dcc61848 dcc61848 dcc61828 dda2a000 
00000019 00000000 dcf8dcf4
[   46.525268] dd40: c0280ac4 c01876d4 dfcb7860 00000048 00000000 
c0226680 00000000 00000001
[   46.533905] dd60: dcf881c0 00000001 dcf88788 dc941044 00000001 
00000001 00000264 c01857c0
[   46.542541] dd80: 00000000 ffffffff dcf881c0 c018282c 00002af3 
00000000 32eb8c72 cadbbb6e
[   46.551177] dda0: c12a1024 c01828b4 00000001 c0c4d4a5 00000000 
c019c0c0 00000000 c022783c
[   46.559814] ddc0: 00000000 ddebb4bc 00000000 00000000 dcf881c0 
00000000 00000000 dc941044
[   46.568450] dde0: 00000000 00000000 dc941000 60030113 00000000 
dc941044 dcf881c0 00000001
[   46.577087] de00: c024f4d4 c0186d08 00000000 00000000 c09ad127 
c09db14c c09db167 c0ca42c0
[   46.585754] de20: 0000000b 60030113 c09ad133 dc941034 dcf6df78 
dfcb7860 9634334f dcf6b000
[   46.594390] de40: 00000000 000001ee 00000070 c07636d0 dcf6b7b8 
c024f4d4 dc941000 60030113
[   46.603027] de60: 00000000 dc941088 dcf881c0 00000000 c07646d8 
c0186d08 000517ee 517ee000
[   46.611663] de80: dcdb5458 00000000 00000000 00000000 00000000 
60030113 dc941034 dc941054
[   46.620300] dea0: 517ee268 dcf881c0 00000055 00000817 dc941000 
00000000 00000000 c018168c
[   46.628936] dec0: dcf8dfb0 c07646d8 00000000 00000000 00000000 
00000001 00000000 dc941054
[   46.637573] dee0: 00000800 00000000 dca86040 00000817 517ee268 
c0c0d88c dcf8dfb0 10c5387d
[   46.646209] df00: 802568d8 400e9d5d 00000070 c010130c 516714ae 
0000000e 517f396c 00000023
[   46.654846] df20: 00000001 c0c5e1f8 dcafbdd0 0000000c 00004000 
c028b90c 00000000 00000000
[   46.663482] df40: c028b75c dcf88768 00000000 00000003 517f3940 
ffffffff 00000002 80252c70
[   46.672119] df60: 000000a8 c0107224 dcf8c000 00000000 517f1008 
c0282474 dca86040 c026d8b8
[   46.680755] df80: 00000000 517f3940 80256408 00000000 80256408 
00000000 00000010 000000a8
[   46.689392] dfa0: c0107224 c0107080 80256408 00000000 80252c70 
00000002 ffffffff 516f31e8
[   46.698028] dfc0: 80256408 00000000 00000010 000000a8 8021d530 
802568d8 400e9d5d 517f1008
[   46.706665] dfe0: 516f2f48 517ee238 516edf63 40064f38 60030010 
80252c70 bffdffff feff7fff
[   46.715332] [<c018547c>] (__lock_acquire) from 
[<c01871b4>] (lock_acquire+0x25c/0x290)
[   46.723693] [<c01871b4>] (lock_acquire) from 
[<c0763018>] (_raw_spin_lock_irqsave+0x40/0x54)
[   46.732604] [<c0763018>] (_raw_spin_lock_irqsave) from 
[<c017b99c>] (add_wait_queue+0x20/0x48)
[   46.741729] [<c017b99c>] (add_wait_queue) from 
[<bf1af148>] (iio_buffer_poll+0x3c/0x68 [industrialio])
[   46.751617] [<bf1af148>] (iio_buffer_poll [industrialio]) 
from [<c0282134>] (do_sys_poll+0x260/0x4e4)
[   46.761352] [<c0282134>] (do_sys_poll) from 
[<c0282474>] (SyS_poll+0x68/0xd0)
[   46.768890] [<c0282474>] (SyS_poll) from [<c0107080>] 
(ret_fast_syscall+0x0/0x1c)
[   46.776794] Code: e5933008 e3530000 01a09003 0a000003 (e5972000) 
[   46.783264] ---[ end trace ca0fb42fe2526253 ]---
[   46.788146] Kernel panic - not syncing: Fatal exception
[   46.793670] ---[ end Kernel panic - not syncing: Fatal exception

Created: 7 years 7 months ago by Andreas Kemnade

Status: New

Labels:
Type:Defect
Priority:Critical