Hi Robert,

Thanks for the response, is there anything that I can do to then to stop getting this error, I am not doing a lot of memory allocation?

Is there a way to make more space?

Tivy, Robert wrote:
Your insmod command looks fine. With it, you've got 3 buffers available from pools that have large enough buffers (the first 2 entries in your 'pools' setting). The 3rd entry configures 7 buffers of size 829440, which is a little bit too small for satisfying requests for 8884736. So, it comes down to how many allocations from the first 2 pools have already happened prior to this error. I'd guess that you're simply running out of large enough buffers. - Rob

    ------------------------------------------------------------------------
    *From:*
    davinci-linux-open-source-bounces+rtivy=ti....@linux.davincidsp.com
    [mailto:davinci-linux-open-source-bounces+rtivy=ti....@linux.davincidsp.com]
    *On Behalf Of *Neerav Patel
    *Sent:* Wednesday, December 17, 2008 11:15 AM
    *To:* [email protected]
    *Subject:* Error with CMem

    Hi

    I have managed to get jpeg compression working on the DM355 Board,
    but everytime I run the code, I am getting a error like:

    CMem Error: getPool: Failed to get a pool fitting a size 884736

                CMEMK Error: Failed to find a pool which fits 884736

    I have tried to change the insmod command but I don’t think I am
    doing it right since, no matter what I do it pops this error out,
    can someone show me how this is done.  This is the following
    insmod command I am using

    Insmod cmemk.ko phys_start=0x87400000 phys_end=0x88000000
    pools=1x2097152,2x1529856,7x829440,1x524288,1x108680,1x81920,2x8192,6x4096

    Thanks in advance



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to