Hello,
Kindly help me debug this crash executing the syslink-examples.
I am using EZSDK 5.04 kernel. I am using GCC 4.4.1.
These are my bootargs
console=ttyO0,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=169M notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd
I have the CONFIG_SYSLINK_NOTIFY enabled in kernel and USE_SYSLINK_NOTIFY=0.
After booting i see that the
root@ti814x:~# modprobe syslink
SysLink version : 2.10.03.20
SysLink module created on Date:Feb 15 2013 Time:10:39:41
and then i tried the messageqapp. I am finding a crash frequently. I find posts to similar crashes on the forum, but i think i have taken care of the solutions suggested there. From the kernel logs i see that vpss modules has failed to load. Could that effect the syslink behaviour?
I unloaded the other modules as suggested in the Developers' guide.
root@ti814x:~# /etc/init.d/pvr-init stopI do
root@ti814x:~# /etc/init.d/load-hd-firmware.sh stop
then i executed the example (Execution traces are below).
Kindly suggest what could be the issue.
root@ti814x:/usr/share/ti/ti-syslink-examples# ./messageqapp_debug 1 DSP dsp/messageq_ti81xx_dsp.xe674
MessageQApp sample application
Entered MessageQApp_startup
Loading and starting procId [0] with [dsp/messageq_ti81xx_dsp.xe674]
Attached to slave procId 0.
Loading procId 0.
Loaded file dsp/messageq_ti81xx_dsp.xe674 on slave procId 0.
Started slave procId 0.
SlaveLoader_startup status [111693824]
After Ipc_loadcallback:
status [0x0]
After Ipc_startcallback:
status [0x97d2000]
Leaving MessageQApp_startup 97d2000
Entered MessageQApp_execute
MessageQApp_threadHandler entered
Registering heapId 0 with MessageQ for procId: 0
MessageQ_create name MSGQ_30 status [0x0] : procId [0]
Sending synchronizaion notification to ProcId: 0
Sent synchronizaion notification to ProcId: 0
MessageQ_open Status [0x0] : procId [0]
MessageQApp_queueId [0x0] : procId [0]
Sending a message #100 to 0
Sending a message #200 to 0
Sending a message #300 to 0
Sending a message #400 to 0
Sending a message #500 to 0
Sending a message #600 to 0
Sending a message #700 to 0
Sending a message #800 to 0
Sending a message #900 to 0
Sending a message #1000 to 0
Leaving MessageQApp_threadHandler 0
Leaving MessageQApp_execute
Entered MessageQApp_shutdown()
After Ipc_stopCallback status: [0x97d2000]
Shutting down procId [0]
Stopped slave procId 0.
Unloaded slave procId 0.
Detached from slave procId 0.
SlaveLoader_shutdown status [0]
Leaving MessageQApp_shutdown() (0x0)
running the example again.
root@ti814x:/usr/share/ti/ti-syslink-examples# ./messageqapp_debug 1 DSP dsp/messageq_ti81xx_dsp.xe674
MessageQApp sample application
Entered MessageQApp_startup
Loading and starting procId [0] with [dsp/messageq_ti81xx_dsp.xe674]
Attached to slave procId 0.
Loading procId 0.
Loaded file dsp/messageq_ti81xx_dsp.xe674 on slave procId 0.
Started slave procId 0.
SlaveLoader_startup status [111693824]
After Ipc_loadcallback:
status [0x0]
After Ipc_startcallback:
status [0x97d2000]
Leaving MessageQApp_startup 97d2000
Entered MessageQApp_execute
MessageQApp_threadHandler entered
Registering heapId 0 with MessageQ for procId: 0
MessageQ_create name MSGQ_30 status [0x0] : procId [0]
Sending synchronizaion notification to ProcId: 0
Sent synchronizaion notification to ProcId: 0
MessageQ_open Status [0x0] : procId [0]
MessageQApp_queueId [0x0] : procId [0]
Sending a message #100 to 0
Sending a message #200 to 0
Sending a message #300 to 0
Sending a message #400 to 0
Sending a message #500 to 0
Sending a message #600 to 0
Sending a message #700 to 0
Sending a message #800 to 0
Sending a message #900 to 0
Sending a messagUnable to handle kernel paging request at virtual address cb2fe008
e #1000 to 0
Lepgd = c0004000
aving MessageQAp[cb2fe008] *pgd=86914011p_threadHandler , *pte=000000000
Leaving Messa, *ppte=00000000geQApp_execute
Entered MessageQApp_shutdown()
Internal error: Oops: 7 [#1] PREEMPT
last sysfs file: /sys/devices/virtual/syslinkipc/syslinkipc_RingIOShm/uevent
Modules linked in: syslink ipv6 [last unloaded: syslink]
CPU: 0 Not tainted (2.6.37.6.ps-110721-ti-jacinto5 #1)
PC is at _TransportShm_notifyFxn+0xac/0xfc [syslink]
LR is at MessageQ_put+0x40c/0x478 [syslink]
pc : [<bf257cf8>] lr : [<bf23b264>] psr: 80000013
sp : c7189e38 ip : 00000000 fp : c7189e5c
r10: c006ad64 r9 : 00000088 r8 : 00000002
r7 : 00000000 r6 : 00000000 r5 : d1002f00 r4 : cb2fe000
r3 : 00000000 r2 : bf2a78d0 r1 : 00000000 r0 : 00000000
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387d Table: 869a0019 DAC: 00000017
Process kworker/0:1 (pid: 24, stack limit = 0xc71882e8)
Stack: (0xc7189e38 to 0xc718a000)
9e20: 00000000 00000002
9e40: cb2fe000 00000000 00000002 c400d000 c7189e84 c7189e60 c03512bc bf257c58
9e60: 00000000 00000080 1c03b9f9 c3089300 00000000 ffffffff c7189ea4 c7189e88
9e80: c03537d4 c035122c c05d0284 00000002 00000000 ffffffff c7189ebc c7189ea8
9ea0: c035381c c0353750 c03537f0 00000004 c7189ee4 c7189ec0 c042e5e0 c03537fc
9ec0: ffffffff c059e828 ffffffff 00000002 00000004 c059e834 c7189f14 c7189ee8
9ee0: c00923bc c042e5ac 00000000 c72d2714 c7189f14 c72d2700 c7188000 c7189f34
9f00: 00000004 c05a27bc c7189f2c c7189f18 c00923f4 c0092374 00000000 c72d2700
9f20: c7189f54 c7189f30 c006adc8 c00923e0 c042e690 00000002 c7147cc0 c7097400
9f40: 00000000 c72d2714 c7189f8c c7189f58 c0086924 c006ad70 c7189f7c 00000000
9f60: c0085d3c c7147cc0 c7188000 c05a26b4 c7147cd0 c05a26b4 00000009 c05a26b4
9f80: c7189fbc c7189f90 c0088e20 c008671c 00000000 c7035ee8 c7147cc0 c7189fcc
9fa0: c0088c3c 00000000 00000000 00000000 c7189ff4 c7189fc0 c008c908 c0088c48
9fc0: c7035ee8 00000000 c7147cc0 00000000 c7189fd0 c7189fd0 c7035ee8 c008c87c
9fe0: c0075b90 00000013 00000000 c7189ff8 c0075b90 c008c888 938696b7 f3963d95
Backtrace:
[<bf257c4c>] (_TransportShm_notifyFxn+0x0/0xfc [syslink]) from [<c03512bc>] (notify_exec+0x9c/0xb0)
r5:c400d000 r4:00000002
[<c0351220>] (notify_exec+0x0/0xb0) from [<c03537d4>] (notify_shmdrv_isr_callback+0x90/0xac)
r6:ffffffff r5:00000000 r4:c3089300
[<c0353744>] (notify_shmdrv_isr_callback+0x0/0xac) from [<c035381c>] (notify_shmdrv_dsp_isr+0x2c/0x3c)
r6:ffffffff r5:00000000 r4:00000002 r3:c05d0284
[<c03537f0>] (notify_shmdrv_dsp_isr+0x0/0x3c) from [<c042e5e0>] (notifier_call_chain+0x40/0x70)
r4:00000004 r3:c03537f0
[<c042e5a0>] (notifier_call_chain+0x0/0x70) from [<c00923bc>] (__blocking_notifier_call_chain+0x54/0x6c)
r8:c059e834 r7:00000004 r6:00000002 r5:ffffffff r4:c059e828
r3:ffffffff
[<c0092368>] (__blocking_notifier_call_chain+0x0/0x6c) from [<c00923f4>] (blocking_notifier_call_chain+0x20/0x28)
r8:c05a27bc r7:00000004 r6:c7189f34 r5:c7188000 r4:c72d2700
[<c00923d4>] (blocking_notifier_call_chain+0x0/0x28) from [<c006adc8>] (mbox_rx_work+0x64/0x114)
[<c006ad64>] (mbox_rx_work+0x0/0x114) from [<c0086924>] (process_one_work+0x214/0x35c)
r7:c72d2714 r6:00000000 r5:c7097400 r4:c7147cc0
[<c0086710>] (process_one_work+0x0/0x35c) from [<c0088e20>] (worker_thread+0x1e4/0x2fc)
[<c0088c3c>] (worker_thread+0x0/0x2fc) from [<c008c908>] (kthread+0x8c/0x94)
[<c008c87c>] (kthread+0x0/0x94) from [<c0075b90>] (do_exit+0x0/0x6d0)
r7:00000013 r6:c0075b90 r5:c008c87c r4:c7035ee8
Code: e1d531b0 e1830800 e1a01005 ebff8c57 (e5940008)
After Ipc_stopCallback status: [0x97d2000]
Shutting down procId [0]
Stopped slave procId 0.
Unloaded slave procId 0.
Detached from slave procId 0.
SlaveLoader_shutdown status [0]
Leaving MessageQApp_shutdown() (0x0)
root@ti814x:/usr/share/ti/ti-syslink-examples# ---[ end trace 931fdd6abf6a9407 ]---
Unable to handle kernel paging request at virtual address fffffffc
pgd = c0004000
[fffffffc] *pgd=876fe021, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#2] PREEMPT
last sysfs file: /sys/devices/virtual/syslinkipc/syslinkipc_RingIOShm/uevent
Modules linked in: syslink ipv6 [last unloaded: syslink]
CPU: 0 Tainted: G D (2.6.37.6.ps-110721-ti-jacinto5 #1)
PC is at kthread_data+0x10/0x18
LR is at wq_worker_sleeping+0x14/0x94
pc : [<c008c344>] lr : [<c0088700>] psr: 00000093
sp : c7189bd0 ip : c7189be0 fp : c7189bdc
r10: c7140a60 r9 : c71409e8 r8 : c7140a64
r7 : bf257cfc r6 : c7026000 r5 : 00000000 r4 : c7140900
r3 : 00000000 r2 : 00000002 r1 : 00000000 r0 : c7140900
Flags: nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 84028019 DAC: 00000015
Process kworker/0:1 (pid: 24, stack limit = 0xc71882e8)
Stack: (0xc7189bd0 to 0xc718a000)
9bc0: c7189bfc c7189be0 c0088700 c008c340
9be0: 8420806c c7140900 c7188000 c7026000 c7189c3c c7189c00 c0429e28 c00886f8
9c00: c0074d20 c00b419c 00000001 c007622c c7189c10 c7140900 ffffffff c7026000
9c20: bf257cfc 00000001 c71409e8 c71409e8 c7189c6c c7189c40 c007622c c0429d30
9c40: bf257cfc c71408f8 00000000 c7189c4c c7189c4c c7140a30 c00723b0 bf257cfc
9c60: c7189ce4 c7189c70 c004ca20 c0075b9c c71882e8 0000000b c6914bf8 00000008
9c80: 35643165 30623133 38316520 30383033 31652030 30313061 65203530 38666662
9ca0: 20373563 39356528 30303034 00202938 c004f028 c0429bec c0551820 cb2fe008
9cc0: 00000007 00000000 c7189df0 00000000 00000113 c006ad64 c7189d0c c7189ce8
9ce0: c004f0f0 c004c75c c7189df0 c7189df0 c7140900 cb2fe008 00000000 00000007
9d00: c7189d44 c7189d10 c042e4dc c004f090 c7140900 00000015 c4164480 00000007
9d20: c058a76c cb2fe008 c7189df0 00000002 00000113 c006ad64 c7189dec c7189d48
9d40: c003e2e0 c042e29c c042e690 c042e61c c7140900 c7188000 c7189da4 c7189d68
9d60: c042a080 c006cc80 c006c034 c006d4ac 00000002 c042a300 c7189dac c7188000
9d80: cb350010 cb34d000 00000000 00000002 00000088 c006ad64 c7189dbc c7189da8
9da0: c042a300 c0429d30 00000002 cb350000 c7189dcc c7189dc0 c042aca0 c042a2cc
9dc0: c7189ddc c7189dd0 0f6d6000 0f6d6000 ffffffff c7189e24 00000000 00000000
9de0: c7189e5c c7189df0 c042c42c c003e2b0 00000000 00000000 bf2a78d0 00000000
9e00: cb2fe000 d1002f00 00000000 00000000 00000002 00000088 c006ad64 c7189e5c
9e20: 00000000 c7189e38 bf23b264 bf257cf8 80000013 ffffffff 00000000 00000002
9e40: cb2fe000 00000000 00000002 c400d000 c7189e84 c7189e60 c03512bc bf257c58
9e60: 00000000 00000080 1c03b9f9 c3089300 00000000 ffffffff c7189ea4 c7189e88
9e80: c03537d4 c035122c c05d0284 00000002 00000000 ffffffff c7189ebc c7189ea8
9ea0: c035381c c0353750 c03537f0 00000004 c7189ee4 c7189ec0 c042e5e0 c03537fc
9ec0: ffffffff c059e828 ffffffff 00000002 00000004 c059e834 c7189f14 c7189ee8
9ee0: c00923bc c042e5ac 00000000 c72d2714 c7189f14 c72d2700 c7188000 c7189f34
9f00: 00000004 c05a27bc c7189f2c c7189f18 c00923f4 c0092374 00000000 c72d2700
9f20: c7189f54 c7189f30 c006adc8 c00923e0 c042e690 00000002 c7147cc0 c7097400
9f40: 00000000 c72d2714 c7189f8c c7189f58 c0086924 c006ad70 c7189f7c 00000000
9f60: c0085d3c c7147cc0 c7188000 c05a26b4 c7147cd0 c05a26b4 00000009 c05a26b4
9f80: c7189fbc c7189f90 c0088e20 c008671c 00000000 c7035ee8 c7147cc0 c7189fcc
9fa0: c0088c3c 00000000 00000000 00000000 c7189ff4 c7189fc0 c008c908 c0088c48
9fc0: c7035ee8 00000000 c7147cc0 00000001 c7189fd0 c7189fd0 c7035ee8 c008c87c
9fe0: c0075b90 00000013 00000000 c7189ff8 c0075b90 c008c888 938696b7 f3963d95
Backtrace:
[<c008c334>] (kthread_data+0x0/0x18) from [<c0088700>] (wq_worker_sleeping+0x14/0x94)
[<c00886ec>] (wq_worker_sleeping+0x0/0x94) from [<c0429e28>] (schedule+0x104/0x3e0)
r6:c7026000 r5:c7188000 r4:c7140900 r3:8420806c
[<c0429d24>] (schedule+0x0/0x3e0) from [<c007622c>] (do_exit+0x69c/0x6d0)
[<c0075b90>] (do_exit+0x0/0x6d0) from [<c004ca20>] (die+0x2d0/0x30c)
r7:bf257cfc
[<c004c750>] (die+0x0/0x30c) from [<c004f0f0>] (__do_kernel_fault+0x6c/0x8c)
[<c004f084>] (__do_kernel_fault+0x0/0x8c) from [<c042e4dc>] (do_page_fault+0x24c/0x268)
r8:00000007 r7:00000000 r6:cb2fe008 r5:c7140900 r4:c7189df0
r3:c7189df0
[<c042e290>] (do_page_fault+0x0/0x268) from [<c003e2e0>] (do_DataAbort+0x3c/0xa0)
[<c003e2a4>] (do_DataAbort+0x0/0xa0) from [<c042c42c>] (__dabt_svc+0x4c/0x60)
Exception stack(0xc7189df0 to 0xc7189e38)
9de0: 00000000 00000000 bf2a78d0 00000000
9e00: cb2fe000 d1002f00 00000000 00000000 00000002 00000088 c006ad64 c7189e5c
9e20: 00000000 c7189e38 bf23b264 bf257cf8 80000013 ffffffff
r7:00000000 r6:00000000 r5:c7189e24 r4:ffffffff
[<bf257c4c>] (_TransportShm_notifyFxn+0x0/0xfc [syslink]) from [<c03512bc>] (notify_exec+0x9c/0xb0)
r5:c400d000 r4:00000002
[<c0351220>] (notify_exec+0x0/0xb0) from [<c03537d4>] (notify_shmdrv_isr_callback+0x90/0xac)
r6:ffffffff r5:00000000 r4:c3089300
[<c0353744>] (notify_shmdrv_isr_callback+0x0/0xac) from [<c035381c>] (notify_shmdrv_dsp_isr+0x2c/0x3c)
r6:ffffffff r5:00000000 r4:00000002 r3:c05d0284
[<c03537f0>] (notify_shmdrv_dsp_isr+0x0/0x3c) from [<c042e5e0>] (notifier_call_chain+0x40/0x70)
r4:00000004 r3:c03537f0
[<c042e5a0>] (notifier_call_chain+0x0/0x70) from [<c00923bc>] (__blocking_notifier_call_chain+0x54/0x6c)
r8:c059e834 r7:00000004 r6:00000002 r5:ffffffff r4:c059e828
r3:ffffffff
[<c0092368>] (__blocking_notifier_call_chain+0x0/0x6c) from [<c00923f4>] (blocking_notifier_call_chain+0x20/0x28)
r8:c05a27bc r7:00000004 r6:c7189f34 r5:c7188000 r4:c72d2700
[<c00923d4>] (blocking_notifier_call_chain+0x0/0x28) from [<c006adc8>] (mbox_rx_work+0x64/0x114)
[<c006ad64>] (mbox_rx_work+0x0/0x114) from [<c0086924>] (process_one_work+0x214/0x35c)
r7:c72d2714 r6:00000000 r5:c7097400 r4:c7147cc0
[<c0086710>] (process_one_work+0x0/0x35c) from [<c0088e20>] (worker_thread+0x1e4/0x2fc)
[<c0088c3c>] (worker_thread+0x0/0x2fc) from [<c008c908>] (kthread+0x8c/0x94)
[<c008c87c>] (kthread+0x0/0x94) from [<c0075b90>] (do_exit+0x0/0x6d0)
r7:00000013 r6:c0075b90 r5:c008c87c r4:c7035ee8
Code: e1a0c00d e92dd800 e24cb004 e5903138 (e5130004)
---[ end trace 931fdd6abf6a9408 ]---
Fixing recursive fault but reboot is needed!
Unable to handle kernel paging request at virtual address fffffffc
Thanks and Regards,
Sunder Singh Negi