AnsweredAssumed Answered

Random kernel Oops from fget_light on 3.10.17 kernel

Question asked by S M on Feb 3, 2015
Latest reply on Mar 2, 2015 by S M

Hi,

We are making a custom board based on imx6 sabresd. Initial revision was running on 3.0.35 kernel.

After upgrading to Freescale 3.10.17 kernel we are getting random kernel panic from system calls(PC is at fget_light on all crash)

(Some of our applications calls select and ioctls to driver)

 

Is this issue related to any kernel configuration changes or is it a general issue? Any clue on the reason behind this issue??

 

Below is the log of kernel Oops caused by a watchdog keep alive application which just calls an ioctl to keep the watchdog alive

 

Unable to handle kernel NULL pointer dereference at virtual address 00000000

pgd = ac53c000

[00000000] *pgd=3c4fa831, *pte=00000000, *ppte=00000000

Internal error: Oops: 17 [#1] SMP ARM

CPU: 0 PID: 889 Comm: wdog_keep_alive Tainted: P           O 3.10.17-1.0.0_ga+g232293e #1

task: ac9bcf00 ti: ac492000 task.ti: ac492000

PC is at fget_light+0x30/0xf0

LR is at SyS_ioctl+0x1c/0x64

pc : [<800da970>]    lr : [<800d1a5c>]    psr: 80030013

sp : ac493f80  ip : 00000000  fp : 7efd3cac

r10: 00000000  r9 : ac492000  r8 : 8000e044

r7 : 00000000  r6 : 000083b8  r5 : 00000003  r4 : 80045705

r3 : 00000000  r2 : 00000000  r1 : ac493f8c  r0 : 00000003

Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user

Control: 10c53c7d  Table: 3c53c04a  DAC: 00000015

Process wdog_keep_alive (pid: 889, stack limit = 0xac492238)

Stack: (0xac493f80 to 0xac494000)

3f80: 80045705 00000003 8000e044 00000000 00000000 00000000 000083b8 00000036

3fa0: 8000e044 8000dec0 00000000 00000000 00000003 80045705 00000000 00000000

3fc0: 00000000 00000000 000083b8 00000036 00000000 00000000 76fe8000 7efd3cac

3fe0: 00010734 7efd3c94 0000853c 76f51ccc 60030010 00000003 00000000 00000000

[<800da970>] (fget_light+0x30/0xf0) from [<8000e044>] (sys_call_table+0x0/0x5f0)

Code: e593c000 e35c0001 0a00001f e5933004 (e5932000)

---[ end trace 91fceda01df377fa ]---

 

 

Thanks

SM

Outcomes