Hello, I have been encountering a Kernel Oops error on an intermittent basis after an application using a third party encoder is run and successfully executed on a DM6467 EVM. The kernel panics about 30sec after the application exits.
The SDK build version is DVSDK 1.40.02.33 MontaVista Pro 4.0.1 and DaVinciLSP_01_30_00_082 I boot the EVM via TFTP using the NFS file system and the uImage is created following the directions mentioned in Section 4.5 of the getting started guide. I do not encounter the kernel error when I run the application with the EVM booted from flash with NFS. While the application completes successfully and exits cleanly, the EVM freezes about 30 sec later, printing out the following: [email protected]:/opt/Codec_h264_encode# Unable to handle kernel NULL pointer derefer8 pgd = c0004000 [00000008] *pgd=00000000 Internal error: Oops: 17 [#1] Modules linked in: dsplinkk cmemk CPU: 0 PC is at cppi_completion+0x50/0x214 LR is at 0x83b6f034 pc : [<c01cd32c>] lr : [<83b6f034>] Tainted: PF sp : c028be78 ip : c80001c0 fp : c028beac r10: c04d9c00 r9 : 00000000 r8 : 00000000 r7 : 00000003 r6 : c04d9800 r5 : 00000001 r4 : c04d9934 r3 : c8000000 r2 : 00000008 r1 : 00000000 r0 : 00000000 Flags: nzcv IRQs off FIQs on Mode SVC_32 Segment kernel Control: 5317F Table: 85DC4000 DAC: 00000017 Process swapper (pid: 0, stack limit = 0xc028a1a0) Stack: (0xc028be78 to 0xc028c000) be60: 00003821 c8000000 be80: c02e92c0 c04d9c00 c028a000 c8000000 c028bf58 40000013 c02e92c0 c028bf58 bea0: c028bed4 c028beb0 c01c96f0 c01cd2ec c068d6e0 c028a000 c05641a0 00000000 bec0: 00000000 0000000e c028befc c028bed8 c0033d70 c01c96ac c02e9608 0000000e bee0: c05641a0 c028bf58 c028a000 c028bf58 c028bf1c c028bf00 c003409c c0033d04 bf00: c028bf8c c028a000 c0034dfc 00000002 c028bf54 c028bf20 c0034250 c0033ff8 bf20: c0044c2c c0044a84 00000000 c028bf8c e1048000 c0034dfc 00000002 c028a000 bf40: 00000001 8002c970 c028bfb4 c028bf58 c00325e0 c0034210 00000000 0005317f bf60: 0005217f 60000013 c028a000 60000093 c02f3938 c030a890 8002c9a0 41069265 bf80: 8002c970 c028bfb4 c028bfa0 c028bfa0 c0034dfc c0034e0c 60000013 ffffffff bfa0: c028a000 c0034d94 c028bfcc c028bfb8 c0034e64 c0034da4 00053175 c02e8dfc bfc0: c028bffc c028bfd0 c00087d8 c0034e24 c0008304 00000000 00000000 c02ead90 bfe0: 00000000 00053175 c02ead7c c028cfd0 00000000 c028c000 8000809c c0008660 Backtrace: [<c01cd2dc>] (cppi_completion+0x0/0x214) from [<c01c96f0>] (davinci_interrupt+0) [<c01c969c>] (davinci_interrupt+0x0/0xe0) from [<c0033d70>] (__do_irq+0x7c/0xc8) r8 = 0000000E r7 = 00000000 r6 = 00000000 r5 = C05641A0 r4 = C028A000 [<c0033cf4>] (__do_irq+0x0/0xc8) from [<c003409c>] (do_edge_IRQ+0xb4/0x148) [<c0033fe8>] (do_edge_IRQ+0x0/0x148) from [<c0034250>] (asm_do_IRQ+0x50/0x138) r7 = 00000002 r6 = C0034DFC r5 = C028A000 r4 = C028BF8C [<c0034200>] (asm_do_IRQ+0x0/0x138) from [<c00325e0>] (__irq_svc+0x40/0x6c) [<c0034d94>] (default_idle+0x0/0x80) from [<c0034e64>] (cpu_idle+0x50/0x88) r5 = C0034D94 r4 = C028A000 [<c0034e14>] (cpu_idle+0x0/0x88) from [<c00087d8>] (start_kernel+0x188/0x1cc) r5 = C02E8DFC r4 = 00053175 [<c0008650>] (start_kernel+0x0/0x1cc) from [<8000809c>] (0x8000809c) Code: e594c038 e5940040 e3a09000 e59ce01c (e1d030b8) <0>Kernel panic - not syncing: Aiee, killing interrupt handler! The encode and decode demo applications from the SDK do not cause this issue to appear. Is this a known issue that has something to do with a kernel mismatch and requires some patch? Or is it something caused by the application? Any pointers would help. Thanks in advance. Regards Sriraja ________________________________ http://www.mindtree.com/email/disclaimer.html
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
