Hello,
I have a Linux application that uses the Desktop Linux SDK to work with a DSPC-8681 card. I am using the cmem module to allocate some shared memory. I haven't had any issues with the application on the few servers I've tested with so far, but I recently moved the application to a server that is showing problems.
After I call cmem_drv_alloc(), I try to read back the first 4 bytes from cmem_host_buf_desc_t.userAddr. On the other servers I have used, this always comes up as 0 initially. I can then set it to a different value and read it back as the new value. On the server in question that is exhibiting problems when I read back this value it comes up as 0x FFFF FFFF. If I set it to a different value and read it back right away, I can usually see it as the new value, but a second read or a read after some other line of code has the value being read as 0x FFFF FFFF again.
The server in question is running CentOS 7.1.1503 and Linux kernel 3.15.6.
I have been using Desktop Linux 01.00.00.07, but after seeing this error, I tested on the problem server with version 01.00.03.00 and still see the same issue.
Has anyone else encountered a similar issue?
Is there anything I need to configure to get this to work?
Is there anything else I can look at to get more information on what could be causing the problem?
Regards,
Chris Johnson