On 4/1/2011 11:08 AM, [email protected] wrote:
Hi Rigels,

(Sorry for the top posting - using MS Outlook WebApp)

You can use "/boot/config*" (from your meego platfrom) as ".config" for compiling your new kernel. Also try "make kernelrelease" command to check the release number and make sure that it matches with the destination kernel.

also using a 2.6.35.3-10.3 to get a module for 2.6.35-14.2 is not going to work.

what you really need to do is build a MODULE (not a whole kernel!) using the headers from the shipped kernel.

trying to build a whole kernel just to get one module, that then goes into a DIFFERENT kernel.. *bad idea*


Hope this helps!

Cheers,
Ameya.

------------------------------------------------------------------------
*From:* [email protected] [[email protected]] on behalf of ext Rigels Gordani [[email protected]]
*Sent:* Friday, April 01, 2011 8:29 PM
*To:* [email protected]
*Subject:* [Meego-kernel] radio-timb driver magic version conflict after applying a patch and kernel compile

Because I had a problem with the radio-timb driver included in the 2.6.35.3-14.2-ivi MeeGo release, I had to apply a driver patch, kindly reported by the driver developer at the following link http://www.mail-archive.com/[email protected]/msg00809.html . Then I compiled the kernel ( downloaded from http://repo.meego.com/MeeGo/releases/1.1/core/repos/source/kernel-2.6.35.3-10.3.src.rpm )
under another linux distro on an intel x86 cpu.
When the compilation process ended, I copied the radio-timb.ko file in a pen drive, then I renamed the old driver and copied the new one in the Meego platform.
When I try to
# insmod radio-timb.ko
or
#insmod radio-timb

i get the following error : -1 invalid format
executing
#dmesg
gives the following error

radio_timb: version magic '2.6.35 SMP mod_unload modversions 686 ' should be '2.6.35.3-14.2-ivi SMP preempt mod_unload PENTIUMM '

So the version of the driver is different and that's the problem I guess.


What should i do in order to make the patch driver run on Meego?
How can I modify the Makefile in kernel folder in order to fix this problem ?

Any help is appreciated.



_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

_______________________________________________
MeeGo-kernel mailing list
[email protected]
http://lists.meego.com/listinfo/meego-kernel

Reply via email to