I'm using the latest DSPLINK package (1.65.0.3) as part of the c6run package. I am compiling the packages against the Linux kernel 2.2.37 from the SDK version 3.21.0.4. Building works, however, when I try to load the kernel modules cmem.ko and dsplinkk.ko I must create the cmem device node manually (using mknod) or my application will not run.
If I do not create the device node manually, the application will not run. Tracing through the cmem driver code, it looks to me that the device node should be automatically created in the same way as the dsplink device node.
This investigation came about from the fact that I can not unload the dsplink and cmem modules, then reinsert them. cmem fails with the message unable to allocate the major device number (242 in our case).
q1 : Should I be able to load/unload cmem and dsplink as needed ?
q2: Should cmem create the device node automatically ?