Hi, This is a matter of kernel versions. The former is the 2.6.10 kernel compiled with the MVL 5.0 toolchain (the one you've compiled) and the latter has been compiled with the MVL 4.0 toolchain. Check the value of KERNELDIR in your module makefile. It should point to the MV5.0 compiled kernel. Hope this help. Regards, Eric.
Le Monday 01 March 2010 10:24:38 Kapil Pendse, vous avez écrit : > Hello, > > I have compiled the MVL4.0.1 kernel (2.6.10) with the tool chain of MVL5.0 > (gcc version 4.2.0). I am trying to add a driver for RaLink USB WiFi module > RT2070 to this kernel. The driver is compiled as a kernel module rt2070.ko. > I used the same MVL5.0 toolchain to compile this driver rt2070.ko. > > Now the problem is when I try to load the module using insmod, I get the > following error: > > [email protected]:/opt# insmod rt2070sta.ko > rt2070sta: no version for "struct_module" found: kernel tainted. > rt2070sta: version magic '2.6.10_mvl401 preempt ARMv5 gcc-4.2' should be > '2.6.10_mvl401 preempt ARMv5 gcc-3.4' > insmod: error inserting 'rt2070sta.ko': -1 Invalid module format > > I don't understand why this error even though I have used same toolchain to > compile the kernel as well as the driver. Can someone kindly help me? > > Warm regards, > Kapil _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
