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.

Messageqapp problems

Guru 10685 points

I am following the "Software Developer's Guide" document and trying to run the SysLink examples but am failing to get them to run properly. As per the document I run

/etc/init.d/pvr-init stop

/etc/init.d/matrix-gui-e stop

/etc/init.d/load-firmware.sh stop

cd /usr/share/ti/ti-syslink-examples

./messageqapp.exe 0 whole_program_debug/messageq_ti81xx_dsp.xe674

but I get this output which indicates that numerous device nodes cannot be found:

MessageQApp sample application
OsalDrv driver open: /dev/syslinkipc/Osal: No such file or directory
OsalDrv driver close: /dev/syslinkipc/Osal: Bad file descriptor
/dev/syslinkipc/MultiProc: No such file or directory
MultiProc driver close: : Bad file descriptor
SharedRegion driver open: : No such file or directory
SharedRegion driver close: : Bad file descriptor
/dev/syslinkipc/GateMP: No such file or directory
/dev/syslinkipc/MessageQ: No such file or directory
MessageQ driver close: : Bad file descriptor
Notify driver open: /dev/syslinkipc/Notify: No such file or directory
Notify driver close: /dev/syslinkipc/Notify: Bad file descriptor
ProcMgr driver open: /dev/syslinkipc/ProcMgr: No such file or directory
ProcMgr driver close: /dev/syslinkipc/ProcMgr: Bad file descriptor
/dev/syslinkipc/HeapBufMP: No such file or directory
/dev/syslinkipc/HeapMemMP: No such file or directory
/dev/syslinkipc/ListMP: No such file or directory
/dev/syslinkipc/RingIO: No such file or directory
RingIO driver close: : Bad file descriptor
/dev/syslinkipc/ClientNotifyMgr: No such file or directory
ClientNotifyMgr driver close: : Bad file descriptor
/dev/syslinkipc/FrameQBufMgr: No such file or directory
FrameQBufMgr driver close: : Bad file descriptor
/dev/syslinkipc/FrameQ: No such file or directory
FrameQ driver close: : Bad file descriptor
/dev/syslinkipc/Ipc: No such file or directory
MessageQApp_startup entered
Loading and starting procId [0] with [whole_program_debug/messageq_ti81xx_dsp.xe674]
Entered ProcMgrApp_startup
ProcMgr driver open: /dev/syslinkipc/ProcMgr: No such file or directory
ProcMgr driver close: /dev/syslinkipc/ProcMgr: Bad file descriptor
Leaving ProcMgrApp_startup
ProcMgrApp_startup status [0]
Leaving MessageQApp_startup 0
Entered MessageQApp_execute
Assertion at Line no: 350 in /Arago/netra/arago-tmp/work/c6a816x-evm-none-linux-gnueabi/ti-syslink-02_00_00_56-r1i/syslink_02_00_00_56_alpha2/ti/syslink/utils/hlos/usr/Multd
MessageQApp_threadHandler entered
Assertion at Line no: 217 in /Arago/netra/arago-tmp/work/c6a816x-evm-none-linux-gnueabi/ti-syslink-02_00_00_56-r1i/syslink_02_00_00_56_alpha2/ti/syslink/ipc/hlos/usr/Linux/d
Leaving MessageQApp_threadHandler fffffff8
Leaving MessageQApp_execute
Entered MessageQApp_shutdown()
Shutting down procId [0]
Entered ProcMgrApp_shutdown
Leaving ProcMgrApp_shutdown
ProcMgrApp_shutdown status [0]
Leaving MessageQApp_shutdown()

Please could someone tell me if I'm doing something wrong? The same problem occurs when running the C6accel benchmarking app. It looks like the code was written with a different system in mind given the missing device nodes issue.

Thanks,

Ralph

 

P.S.

Maybe I should add that the first command for pvr-init doesn't seem to work too smoothly given that the output is:

Stopping PVR
------------[ cut here ]------------
WARNING: at fs/proc/generic.c:825 remove_proc_entry+0x1a0/0x1c0()
name 'mmap'
Modules linked in: pvrsrvkm(-) TI81xx_hdmi(P) ti81xxfb vpss syslink ipv6 [last unloaded: omaplfb]
Backtrace:
[<c0035390>] (dump_backtrace+0x0/0x110) from [<c02d8fe4>] (dump_stack+0x18/0x1c)
 r7:c666be88 r6:c00dec24 r5:c0379f20 r4:00000339
[<c02d8fcc>] (dump_stack+0x0/0x1c) from [<c0052ef8>] (warn_slowpath_common+0x50/0x68)
[<c0052ea8>] (warn_slowpath_common+0x0/0x68) from [<c0052f5c>] (warn_slowpath_fmt+0x30/0x38)
 r7:00000004 r6:bf1bf32c r5:c642ba48 r4:00000000
[<c0052f2c>] (warn_slowpath_fmt+0x0/0x38) from [<c00dec24>] (remove_proc_entry+0x1a0/0x1c0)
 r3:bf1bf32c r2:c037aaef
[<c00dea84>] (remove_proc_entry+0x0/0x1c0) from [<bf1b3d38>] (RemoveProcEntry+0x20/0x28 [pvrsrvkm])
 r8:c0031b08 r7:00000880 r6:c666bf3c r5:bf1c0aa0 r4:bf1c0e08
[<bf1b3d18>] (RemoveProcEntry+0x0/0x28 [pvrsrvkm]) from [<bf1b349c>] (PVRMMapCleanup+0x5c/0x88 [pvrsrvkm])
[<bf1b3440>] (PVRMMapCleanup+0x0/0x88 [pvrsrvkm]) from [<bf1beee0>] (PVRCore_Cleanup+0x50/0x6c [pvrsrvkm])
 r5:bf1c0aa0 r4:bf1c0e18
[<bf1bee90>] (PVRCore_Cleanup+0x0/0x6c [pvrsrvkm]) from [<c0077420>] (sys_delete_module+0x1d4/0x240)
 r5:bf1c0cd0 r4:00000000
[<c007724c>] (sys_delete_module+0x0/0x240) from [<c0031960>] (ret_fast_syscall+0x0/0x30)
 r7:00000081 r6:00000880 r5:bec8ac60 r4:bec8aef5
---[ end trace 16ddf7550d1f0d9e ]---