Hi,
I'm trying to run an application on DaVinci, which uses codec
engine 'dvevm_1_00_00_32', the application takes an mpeg2 TS from
network, demuxe's it to Audio/Video ES and gives it to the codec
engine through API VIDDEC_process and AUDDEC_process.
After displaying approximately 100-150 frames the kernel oop's
happen and the application crashes. The log of the oop's is given below.
1. Can anybody tell me what scenario may cause the oops?
2. How can it be overcome?
Regards
P.Chezhyan
----
LOG
----
Unable to handle kernel paging request at virtual address c50bd010
pgd = c29ac000
[c50bd010] *pgd=829ab011, *pte=00000000, *ppte=00000000
Internal error: Oops: 7 [#1]
Modules linked in: dsplinkk cmemk
CPU: 0
PC is at __compat_down_interruptible+0xb0/0x1e8
LR is at 0x0
pc : [<c02249c8>] lr : [<00000000>] Tainted: PF
sp : c0667e50 ip : 60000013 fp : c0667e88
r10: 00000000 r9 : 00000000 r8 : c3360ae0
r7 : c50bd014 r6 : 60000013 r5 : c0666000 r4 : c50bd00c
r3 : 00000000 r2 : 60000013 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment user
Control: 5317F Table: 829AC000 DAC: 00000015
Process IPSTB_App.elf (pid: 1078, stack limit = 0xc0666198)
Stack: (0xc0667e50 to 0xc0668000)
7e40: 00000001 c3360ae0 c0037244
c50bd014
7e60: c50bd014 c50bd000 00000000 00008000 00000000 ffffffff 00000000
c0667ee8
7e80: c0667e8c c022474c c0224928 60000013 ffffffff c0666000 c50bd00c
bf007c40
7ea0: bf0083b8 bf008634 bf0140b8 c0667edc c0667ebc bf00b4dc bf00833c
c0667ec2
7ec0: 20000013 00008000 468be4f8 c50b9000 ffffffff c0666000 00161538
c0667f0c
7ee0: c0667eec bf009380 bf007ae0 468be460 00008000 00006f0b 468be460
00000009
7f00: c0667f1c c0667f10 bf004650 bf00931c c0667f34 c0667f20 bf0041ec
bf004650
7f20: c2a31820 ffffffe7 c0667f54 c0667f38 c008a088 bf004080 c2a31820
468be460
7f40: 00000000 468be460 c0667f80 c0667f58 c008a3a0 c008a01c c0667f78
c0667f68
7f60: fffffff7 468be460 00006f0b c2a31820 c0027b24 c0667fa4 c0667f84
c008a404
7f80: c008a0ac 00000001 468be4f8 00010001 ffffffff 00000036 00000000
c0667fa8
7fa0: c00279a0 c008a3d0 468be4f8 c0028bf4 00000009 00006f0b 468be460
02b5dd00
7fc0: 468be4f8 00010001 ffffffff 004b4d5c 004b4d68 004b4ca4 00161538
468be45c
7fe0: 00161610 468be408 0013ba04 401af344 60000010 00000009 295b80ff
2e5c7dff
Backtrace:
[<c0224918>] (__compat_down_interruptible+0x0/0x1e8) from [<c022474c>]
(__compat_down_interruptible_failed+0xc/0x20)
[<bf007ad0>] (SYNC_WaitSEM+0x0/0x268 [dsplinkk]) from [<bf009380>]
(LDRV_MSGQ_Get+0x74/0xb4 [dsplinkk])
[<bf00930c>] (LDRV_MSGQ_Get+0x0/0xb4 [dsplinkk]) from [<bf004650>]
(PMGR_MSGQ_Get+0x10/0x14 [dsplinkk])
r8 = 00000009 r7 = 468BE460 r6 = 00006F0B r5 = 00008000
r4 = 468BE460
[<bf004640>] (PMGR_MSGQ_Get+0x0/0x14 [dsplinkk]) from [<bf0041ec>]
(DRV_Ioctl+0x17c/0x354 [dsplinkk])
[<bf004070>] (DRV_Ioctl+0x0/0x354 [dsplinkk]) from [<c008a088>]
(do_ioctl+0x7c/0x90)
r5 = FFFFFFE7 r4 = C2A31820
[<c008a00c>] (do_ioctl+0x0/0x90) from [<c008a3a0>] (vfs_ioctl+0x304/0x324)
r7 = 468BE460 r6 = 00000000 r5 = 468BE460 r4 = C2A31820
[<c008a09c>] (vfs_ioctl+0x0/0x324) from [<c008a404>] (sys_ioctl+0x44/0x64)
r8 = C0027B24 r7 = C2A31820 r6 = 00006F0B r5 = 468BE460
r4 = FFFFFFF7
[<c008a3c0>] (sys_ioctl+0x0/0x64) from [<c00279a0>]
(ret_fast_syscall+0x0/0x2c)
r7 = 00000036 r6 = FFFFFFFF r5 = 00010001 r4 = 468BE4F8
Code: e5933000 e3130002 03a01000 13a01001 (e5940004)
<6>note: IPSTB_App.elf[1078] exited with preempt_count 1
BUG: scheduling while atomic: IPSTB_App.elf/0x00000001/1078
caller is do_exit+0xd5c/0xdc0
prev->state: 2 != TASK_RUNNING??
IPSTB_App.elf/107: BUG in __schedule at kernel/sched.c:2902
Unable to handle kernel paging request at virtual address c50bd010
pgd = c29ac000
[c50bd010] *pgd=829ab011, *pte=00000000, *ppte=00000000
Internal error: Oops: 7 [#1]
Modules linked in: dsplinkk cmemk
CPU: 0
PC is at __compat_down_interruptible+0xb0/0x1e8
LR is at 0x0
pc : [<c02249c8>] lr : [<00000000>] Tainted: PF
sp : c0667e50 ip : 60000013 fp : c0667e88
r10: 00000000 r9 : 00000000 r8 : c3360ae0
r7 : c50bd014 r6 : 60000013 r5 : c0666000 r4 : c50bd00c
r3 : 00000000 r2 : 60000013 r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs off FIQs on Mode SVC_32 Segment user
Control: 5317F Table: 829AC000 DAC: 00000015
Process IPSTB_App.elf (pid: 1078, stack limit = 0xc0666198)
Stack: (0xc0667e50 to 0xc0668000)
7e40: 00000001 c3360ae0 c0037244 c50bd014
7e60: c50bd014 c50bd000 00000000 00008000 00000000 ffffffff 00000000 c0667ee8
7e80: c0667e8c c022474c c0224928 60000013 ffffffff c0666000 c50bd00c bf007c40
7ea0: bf0083b8 bf008634 bf0140b8 c0667edc c0667ebc bf00b4dc bf00833c c0667ec2
7ec0: 20000013 00008000 468be4f8 c50b9000 ffffffff c0666000 00161538 c0667f0c
7ee0: c0667eec bf009380 bf007ae0 468be460 00008000 00006f0b 468be460 00000009
7f00: c0667f1c c0667f10 bf004650 bf00931c c0667f34 c0667f20 bf0041ec bf004650
7f20: c2a31820 ffffffe7 c0667f54 c0667f38 c008a088 bf004080 c2a31820 468be460
7f40: 00000000 468be460 c0667f80 c0667f58 c008a3a0 c008a01c c0667f78 c0667f68
7f60: fffffff7 468be460 00006f0b c2a31820 c0027b24 c0667fa4 c0667f84 c008a404
7f80: c008a0ac 00000001 468be4f8 00010001 ffffffff 00000036 00000000 c0667fa8
7fa0: c00279a0 c008a3d0 468be4f8 c0028bf4 00000009 00006f0b 468be460 02b5dd00
7fc0: 468be4f8 00010001 ffffffff 004b4d5c 004b4d68 004b4ca4 00161538 468be45c
7fe0: 00161610 468be408 0013ba04 401af344 60000010 00000009 295b80ff 2e5c7dff
Backtrace:
[<c0224918>] (__compat_down_interruptible+0x0/0x1e8) from [<c022474c>]
(__compat_down_interruptible_failed+0xc/0x20)
[<bf007ad0>] (SYNC_WaitSEM+0x0/0x268 [dsplinkk]) from [<bf009380>]
(LDRV_MSGQ_Get+0x74/0xb4 [dsplinkk])
[<bf00930c>] (LDRV_MSGQ_Get+0x0/0xb4 [dsplinkk]) from [<bf004650>]
(PMGR_MSGQ_Get+0x10/0x14 [dsplinkk])
r8 = 00000009 r7 = 468BE460 r6 = 00006F0B r5 = 00008000
r4 = 468BE460
[<bf004640>] (PMGR_MSGQ_Get+0x0/0x14 [dsplinkk]) from [<bf0041ec>]
(DRV_Ioctl+0x17c/0x354 [dsplinkk])
[<bf004070>] (DRV_Ioctl+0x0/0x354 [dsplinkk]) from [<c008a088>]
(do_ioctl+0x7c/0x90)
r5 = FFFFFFE7 r4 = C2A31820
[<c008a00c>] (do_ioctl+0x0/0x90) from [<c008a3a0>] (vfs_ioctl+0x304/0x324)
r7 = 468BE460 r6 = 00000000 r5 = 468BE460 r4 = C2A31820
[<c008a09c>] (vfs_ioctl+0x0/0x324) from [<c008a404>] (sys_ioctl+0x44/0x64)
r8 = C0027B24 r7 = C2A31820 r6 = 00006F0B r5 = 468BE460
r4 = FFFFFFF7
[<c008a3c0>] (sys_ioctl+0x0/0x64) from [<c00279a0>] (ret_fast_syscall+0x0/0x2c)
r7 = 00000036 r6 = FFFFFFFF r5 = 00010001 r4 = 468BE4F8
Code: e5933000 e3130002 03a01000 13a01001 (e5940004)
<6>note: IPSTB_App.elf[1078] exited with preempt_count 1
BUG: scheduling while atomic: IPSTB_App.elf/0x00000001/1078
caller is do_exit+0xd5c/0xdc0
prev->state: 2 != TASK_RUNNING??
IPSTB_App.elf/107: BUG in __schedule at kernel/sched.c:2902
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source