Kevin Cozens wrote:
> Eddie Dawydiuk wrote:
>> > The cross-compiler tools I'm using are based on version 4.0.1 of gcc. It
>> > tosses up various errors when trying to compile the ts11 kernel. With
>> a couple
>> > of small patches to the kernel source I was able to get to where I
>> could build
>> > the printer.o module but installing the module taints the kernel.
>>
>> Whats the output from insmod?
>
> Using printer.o
> insmod: kernel-module version mismatch
> printer.o was compiled for kernel version
> while this kernel is version 2.4.26-ts11.
>
Just to be clear;
1. You built a kernel using 4.0.1, and then booted your TS board
with that new kernel.
2. Insmod gave the error above.
That would be weird.
You can use insmod -f to force the module in. But that could
fail too :)
Usually you get the above error if you build a module against
a kernel using, as the error message says, a different compiler
than the kernel was built using.
For instance, I received a TS-7300 board last week, and the
first thing I am working on is building the tools, rebuilding
the kernel, booting the kernel I built, and then testing
kernel modules. Using that sequence, I can ensure that I
build kernel modules consistent with the running kernel,
and compiler used to build the kernel.
Cheers
Dave
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|