• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » Linux » Linux forum » DM816X Syslink ProcMgr errors when running demo
Share
Linux
  • Forum
Options
  • Subscribe via RSS

DM816X Syslink ProcMgr errors when running demo

DM816X Syslink ProcMgr errors when running demo

This question is answered
Aaron Ridinger
Posted by Aaron Ridinger
on Apr 27 2012 16:08 PM
Intellectual270 points

Hello,

We are trying to run the demo application included in the DM8168 DVR RDK.  When running the load script (./load.sh) we get the following errors:

root@dvr:/opt/dvr_rdk/ti816x# ./load.sh
Attached to slave procId 2.
Loaded file ../firmware/dvr_rdk_fw_m3vpss.xem3 on slave procId 2.
Started slave procId 2.
After Ipc_loadcallback status [0x00000000]
After Ipc_startcallback status [0x00000000]
Attached to slave procId 1.
*** _ProcMgr_map: All memEntries slots are in use!
Error [0x6a85000] at Line no: 2561 in file /home/min/DVR_RDK_BASE/DVRRDK_01_09_00_19/ti_tools/syslink/syslink_2_00_04_83/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/common/ProcMgr.c

repeats the same error (0x6a85000) ~ 20 times, then it hangs with:

Loaded file ../firmware/dvr_rdk_fw_m3video.xem3 on slave procId 1.
Started slave procId 1.
*** _ProcMgr_map: All memEntries slots are in use!
Error [0x6a85000] at Line no: 2561 in file /home/min/DVR_RDK_BASE/DVRRDK_01_09_00_19/ti_tools/syslink/syslink_2_00_04_83/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/common/ProcMgr.c
*** _ProcMgr_map: All memEntries slots are in use!
Error [0x6a85000] at Line no: 2561 in file /home/min/DVR_RDK_BASE/DVRRDK_01_09_00_19/ti_tools/syslink/syslink_2_00_04_83/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/common/ProcMgr.c
After Ipc_loadcallback status [0x00000000]

We have tried increasing the ProcMgr_MAX_MEMORY_REGIONS as described here:

http://e2e.ti.com/support/embedded/bios/f/355/t/136229.aspx

but we still get the same errors.  Any advice or direction would be appreciated.

Thanks!

Aaron

Syslink ti816X DM816x
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Robert Tivy
    Posted by Robert Tivy
    on Apr 27 2012 19:23 PM
    Verified Answer
    Verified by Aaron Ridinger
    Genius11090 points

    Aaron Ridinger

    We have tried increasing the ProcMgr_MAX_MEMORY_REGIONS as described here:

    http://e2e.ti.com/support/embedded/bios/f/355/t/136229.aspx

    but we still get the same errors.

    Did you rebuild the whole of SysLink, including the syslink.ko kernel module?

    The whole of SysLink and the application should be rebuilt after changing ProcMgr_MAX_MEMORY_REGIONS (this is true for 2.00.04.83, later SysLink releases require just the kernel module rebuild).  You don't need to rebuild the remote core executable, just the host side of things.

    Also, make sure you're actually using the newly build syslink.ko instead of some older one - the syslink.ko banner should specify when it was built.

    Regards,

    - Rob

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Aaron Ridinger
    Posted by Aaron Ridinger
    on Apr 30 2012 19:32 PM
    Intellectual270 points

    Hi Rob,

    Thanks for the advice.  When we rebuild all of SysLink and the application we now do see a change, however when increasing the ProcMgr_MAX_MEMORY_REGIONS at ~42 or above (we were using 38 before), we now get the following error:

    *** ProcMgrDrv_ioctl: Unsupported ioctl command specified
            Error [0xfffffffe] at Line no: 2129 in file /home/min/DVR_RDK_BASE/DVRRDK_01_09_00_19/ti_tools/syslink/syslink_2_00_04_83/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/hlos/knl/Linux/ProcMgrDrv.c
    *** ProcMgrDrv_ioctl: Unsupported ioctl command specified
            Error [0xfffffffe] at Line no: 2129 in file /home/min/DVR_RDK_BASE/DVRRDK_01_09_00_19/ti_tools/syslink/syslink_2_00_04_83/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/hlos/knl/Linux/ProcMgrDrv.c
    *** ProcMgrDrv_ioctl: Unsupported ioctl command specified
            Error [0xfffffffe] at Line no: 2129 in file /home/min/DVR_RDK_BASE/DVRRDK_01_09_00_19/ti_tools/syslink/syslink_2_00_04_83/packages/ti/syslink/utils/hlos/knl/Linux/../../../../../../ti/syslink/procMgr/hlos/knl/Linux/ProcMgrDrv.c
    DMA: Module install successful, device major num = 251
    DRV: Module install successful
    DRV: Module built on Apr 27 2012 17:36:00
    [c6xdsp ] Remote Debug Shared Memory @ 0xbff00000
    [m3video] Remote Debug Shared Memory @ 0xbff05020
    [m3vpss ] Remote Debug Shared Memory @ 0xbff0a040


    Any further things we can try?

    Is it advisable to use a later release of SysLink?

    Thanks,
    Aaron 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chris Ring
    Posted by Chris Ring
    on Apr 30 2012 23:30 PM
    Verified Answer
    Verified by Aaron Ridinger
    Genius16190 points

    Please sanity check that you re-linked your user-mode app with SysLink after you modify ProcMgr_MAX_MEMORY_REGIONS and rebuild.  At least in the 2.00.* releases, that #define is built into both the usermode lib and the kernel driver, so you must relink your app, too.

    Also note that the release notes for SysLink 2.00.05.85 mention a fix for a blown stack if ProcMgr_MAX_MEMORY_REGIONS is "too big".  You should be able to update to 2.00.05.85 (or 2.00.06.87) without much pain.  I'd stay away from the 2.10.* stream until the RDK updates.

    Finally, for the archives, the ugly sordid history of this ProcMgr_MAX_MEMORY_REGIONS chaos is somewhat captured here.  Unfortunately a bit nasty.

    Chris

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Aaron Ridinger
    Posted by Aaron Ridinger
    on May 01 2012 17:41 PM
    Intellectual270 points

    Thanks for that info Chris.  Today we were trying to ensure that the user-mode app was re-linked, however, since we haven't written any apps yet and are just trying to run the DVR RDK demo, I'm unsure if this is actually taking place.

    So to be safe, we rebuilt the entire DVR RDK package, but still get the same ProcMgr_MAX_MEMORY_REGIONS errors.

    We also tried using the prebuilt binaries of u-boot, kernel and jffs2 file system, included with the DVR RDK and flashed them to NAND.  When trying to run the demo applications included with the RDK, we still get the same ProcMgr_MAX_MEMORY_REGIONS error.  I expected that using the prebuilt demo files included that everything would work, but it didn't.  Maybe there is something wrong with our setup...

    I might try updating to SysLink 2.00.05.85 to see if that makes any difference.

    Any other thoughts or insight in the meantime would be appreciated.

    Thanks!

    Aaron

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Chris Ring
    Posted by Chris Ring
    on May 01 2012 18:55 PM
    Genius16190 points

    I'm going to move this post to the Linux forum as this seems more like a Linux-side discussion.  And there's a better chance of RDK knowledgeable folks (of which I'm not) seeing it.  Please keep us posted.

    Chris

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Aaron Ridinger
    Posted by Aaron Ridinger
    on May 03 2012 10:42 AM
    Intellectual270 points

    We upgraded to Syslink 2.00.06.87 and increased the ProcMgr_MAX_MEMORY_REGIONS to 64, and ensured that we rebuilt both syslink and the applications.  The result was that there were no more ProcMgr_map memory slot errors and the demo application would run.  

    Thanks for your help.

    Aaron 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use