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.

Unable to load cmemk.ko

Hi,

m unable to load cmemk.ko module into the kernel, I get following when i try to run video_copy example.

./loadmodules.sh
cmemk: disagrees about version of symbol struct_module
dsplinkk: no version for "struct_module" found: kernel tainted.
insmod: error inserting 'cmemk.ko': -1 Invalid module format
DSPLINK Module (1.61.03) created on Date: Apr 16 2009 Time: 18:37:45
root@10.110.6.102:/opt/codec_engine/video_copy# ./app.out
App-> Application started.
CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
@0x000d77d9:[T:0x4001df50] OM - Memory_init> ERROR: Failed to initialize CMEM
@0x000d9d66:[T:0x40969490] OP - Processor_create_d> Loading and starting DSP server 'video_copy.x674' FAILED, status=[0x80008008] (look for error code 'DSP_EBASE + 0x8' in dsp
@0x000d9eb5:[T:0x40969490] OP - Processor_delete_d> Closing remote transport FAILED, status=0x80008002.
@0x000d9f8a:[T:0x40969490] OP - Processor_delete_d> Stopping DSP FAILED, status=0x80008002
@0x000da04d:[T:0x40969490] OP - Processor_delete_d> Closing pool FAILED, status=0x80008000
@0x000da0e1:[T:0x40969490] OP - Processor_delete_d> Detaching from DSP FAILED, status=0x80008000
@0x000da167:[T:0x40969490] OP - Processor_delete_d> Destroying DSP FAILED, status=0x80008000
@0x000da251:[T:0x4001df50] CE - rserverOpen: can't start 'video_copy.x674'; Processor_create failed
CEapp-> ERROR: can't open engine video_copy
App-> Application FAILED.

any suggestion will be appreciated

With best regards,

Ravi

  • Hi Ravi,

    ./loadmodules.sh
    cmemk: disagrees about version of symbol struct_module
    dsplinkk: no version for "struct_module" found: kernel tainted.
    insmod: error inserting 'cmemk.ko': -1 Invalid module format
    DSPLINK Module (1.61.03) created on Date: Apr 16 2009 Time: 18:37:45
    root@10.110.6.102:/opt/codec_engine/video_copy# ./app.out
    App-> Application started.
    CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'

    The log seems to be, the "cmem" driver module compiled with some kernel version (say 2.6.37) and tried to insert the module in different kernel version (say 3.2)

    We need to build the cmem module with current booted kernel version.

    What is your processor ?

    What is your kernel version ?