ts-7000
[Top] [All Lists]

Re: [ts-7000] TS-7250: kernel-module version mismatch

To:
Subject: Re: [ts-7000] TS-7250: kernel-module version mismatch
From: chris dewbery <>
Date: Thu, 18 May 2006 13:20:04 +1200
> *I downloaded the Cygwin crosstool from web site
> (http://www.embeddedarm.com/linux/ARM.htm) and compiled the driver I am
> developing. It gives the following error message.*
> 
>  
> 
> *insmod: kernel-module version mismatch*
> 
> *        controller was compiled for kernel version 2.4.24*
> 
> *        while this kernel is version 2.4.26-vrs1-cirrus-1-2-1-ts8.*
> 

I have never used the Cygwin crosstool so I don't know if this is relevant
but generally the error message you are receiving is due to the module being
compiled against a different kernel than the kernel which is currently running.

you may be able to force the module to load by passing the "-f" parameter
to the "insmod" command.  However I would recommend building against the 
correct kernel.

You can build your module against the ts kernel header files by setting the 
"-isystem"
parameter to point to the directory containing the ts kernel.

for example.

"arm-linux-gcc -D__KERNEL__ -DMODULE  -isystem /path/to/tskernel/include/ -O2 
-c  module.c"
        







------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU