Forums » Software Development »
dsplinkk.ko compatibility
Added by Krishna Vallabhaneni about 12 years ago
The MityDSP board has installed Linux kernel v 3.2.0. This was required for compatibilty with g_ether.ko driver for ethernet over usb gadget.
However the dsplinkk.ko driver from MDK_2012-08-10/sw/3rdparty/dsplink_linux_1_65_00_03/dsplink/gpp/export/BIN/Linux/OMAPL138/DEBUG/dsplinkk.ko
is no longer compatible!
insmod dsplinkk.ko
dsplinkk: disagrees about version of symbol module_layout
insmod: error inserting 'dsplinkk.ko': -1 Invalid module format
Need a compatible version of dsplinkk.ko asap
How do I generate a dsplinkk.ko compatible with kernel version 3.2.0 ?
The TI site is for kernel version 2.6.30.
Thanks
Replies (4)
RE: dsplinkk.ko compatibility - Added by Michael Williamson about 12 years ago
There should be a dsplinkk.ko file in the /lib/modules/3.2.0/ directory in the reference filesystems. See http://support.criticallink.com/redmine/boards/10/topics/2068?r=2073#message-2073
There is a blurb about rebuilding the module for a modified kernel if you need that.
-Mike
RE: dsplinkk.ko compatibility - Added by Michele Canepa almost 12 years ago
Michael Williamson wrote:
There should be a dsplinkk.ko file in the /lib/modules/3.2.0/ directory in the reference filesystems. See http://support.criticallink.com/redmine/boards/10/topics/2068?r=2073#message-2073
There is a blurb about rebuilding the module for a modified kernel if you need that.
-Mike
Hello All,
I successfully rebuilt the kernel to the version 3.2.0, then I tried to install the kernel object dsplinkk.ko .
I used the one given with the MDK of August 2012, in the directory suggested by Mike /lib/modules/3.2.0/
after giving the command:
"insmod dsplinkk.ko"
Prints out an error as:
"
dsplinkk: disagrees about version of symbol set_user_nice
dsplinkk: Unknown symbol set_user_nice (err -22)
dsplinkk: disagrees about version of symbol wake_up_process
dsplinkk: Unknown symbol wake_up_process (err -22)
insmod: error inserting 'dsplinkk.ko': -1 Invalid parameters
"
What do I need to do?
Thank you very much!
Michele
RE: dsplinkk.ko compatibility - Added by Michael Williamson almost 12 years ago
If you added or removed features from the kernel, you may need to rebuild the dsplink drivers.
To do that:
- source the toolchain setup script like you did to build the kernel.
- cd to ${MDK}/sw/3rdparty/dsplink_linux_1_65_00_03/dsplink
- edit the setenv-bash and change the ARM_BASE_BUILDOS to point to your kernel build tree
- run the build_arm.bash script
.../dsplink# . ./setenv-bash .../dsplink# . ./build_arm.bash
If it works, there should be a gpp/export/BIN/Linux/OMAPL138/dsplinkk.ko file (newly built, check the timestamps)
-Mike
RE: dsplinkk.ko compatibility - Added by Michael Williamson almost 12 years ago
I updated my instructions to clarify the commands on the last post...
-Mike