This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Internal error Oops

Hi All,

 I don't modify the display driver (davinci_display.c) of BSP. I just write my program to run on the target.

The program catpures and displays the video, and it also performs some functions (SD card plug-in detection by netlink).

I sometimes got the following message from kernel. I think that I don't do any special system call at that time.

 Avg Time (msecs) for Capture: 16.7, Demux:  2.3, DMA:  2.2 (600 frames)
 Avg Time (msecs) for Capture: 16.7, Demux:  2.4, DMA:  2.3 (600 frames)
Unable to handle kernel NULL pointer dereference at virtual address 000004fc
pgd = c0004000
[000004fc] *pgd=00000000
Internal error: Oops: 0 [#1]
Modules linked in: irqk edmak cmemk drv csl ipv6
CPU: 0
PC is at 0x4fc
LR is at __wake_up_common+0x3c/0x78
pc : [<000004fc>]    lr : [<c004a038>]    Not tainted
sp : c0393e18  ip : c08227ff  fp : c0393e44
r10: 00000002  r9 : 00000000  r8 : 00000001
r7 : c082274c  r6 : 05460000  r5 : 00000200  r4 : 00000001
r3 : 00000000  r2 : 00000001  r1 : 00000002  r0 : c08227f3
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  Segment kernel
Control: 5317F
Table: 82140000  DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc0392258)
Stack: (0xc0393e18 to 0xc0394000)
3e00:                                                       00000001 80000013
3e20: c0435294 00000002 c0393e68 c03adb40 00000002 00000000 c0393e64 c0393e48
3e40: c004b8f8 c004a00c 00000000 c0435294 00000002 c060c400 c0393e9c c0393e68
3e60: c0237690 c004b8c8 028f5b71 0003d090 c004ba40 00000002 c04352e0 c04d6ce0
3e80: c04d6ce0 00000000 00000008 c0393f38 c0393eb4 c0393ea0 c023131c c0237510
3ea0: 00010002 c0392000 c0393eec c0393eb8 c0074d84 c0231228 c00769e4 00000000
3ec0: 0000000a c0394200 c0392000 00000008 c04d6ce0 c0393f38 c0392000 c041d764
3ee0: c0393f14 c0393ef0 c00769c4 c0074cbc 00000008 c0394200 c0393f38 00000002
3f00: 00000001 80030c68 c0393f34 c0393f18 c003aba0 c00768bc ffff0fff ffffffff
3f20: fbc48000 c0398944 c0393f8c c0393f38 c00399e4 c003ab70 00000000 0005317f
3f40: 0005217f 60000013 c0392000 c003b634 c0398944 c003b634 c04147a4 41069265
3f60: 80030c68 c0393f8c c0393f90 c0393f80 c003b684 c003b690 60000013 ffffffff
3f80: c0393fb4 c0393f90 c003b3bc c003b644 c0393fb4 c0392000 c0414360 c03987a4
3fa0: c04432e8 80030c9c c0393fcc c0393fb8 c00392ec c003b37c c03987a4 c041d984
3fc0: c0393ff4 c0393fd0 c00088d0 c00392a4 c00083b4 00000000 00000000 c0414884
3fe0: 00053175 c0414880 00000000 c0393ff8 80008030 c00086c8 00000000 00000000
Backtrace:
[<c0049ffc>] (__wake_up_common+0x0/0x78) from [<c004b8f8>] (__wake_up+0x40/0x80)
[<c004b8b8>] (__wake_up+0x0/0x80) from [<c0237690>] (davinci_display_isr+0x190/0x238)
 r4 = C060C400
[<c0237500>] (davinci_display_isr+0x0/0x238) from [<c023131c>] (davinci_disp_isr+0x104/0x138)
[<c0231218>] (davinci_disp_isr+0x0/0x138) from [<c0074d84>] (handle_IRQ_event+0xd8/0x1bc)
 r5 = C0392000  r4 = 00010002
[<c0074cac>] (handle_IRQ_event+0x0/0x1bc) from [<c00769c4>] (handle_edge_irq+0x118/0x1cc)
[<c00768ac>] (handle_edge_irq+0x0/0x1cc) from [<c003aba0>] (asm_do_IRQ+0x40/0x50)
[<c003ab60>] (asm_do_IRQ+0x0/0x50) from [<c00399e4>] (__irq_svc+0x44/0x70)
 r6 = C0398944  r5 = FBC48000  r4 = FFFFFFFF
[<c003b634>] (default_idle+0x0/0x64) from [<c003b3bc>] (cpu_idle+0x50/0xb8)
[<c003b36c>] (cpu_idle+0x0/0xb8) from [<c00392ec>] (rest_init+0x58/0x64)
 r8 = 80030C9C  r7 = C04432E8  r6 = C03987A4  r5 = C0414360
 r4 = C0392000
[<c0039294>] (rest_init+0x0/0x64) from [<c00088d0>] (start_kernel+0x218/0x26c)
 r4 = C041D984
[<c00086b8>] (start_kernel+0x0/0x26c) from [<80008030>] (0x80008030)
Code: bad PC value.