ts-7000
[Top] [All Lists]

Re: [ts-7000] Using crosstools-0.48 to build gcc-3.3.4 glibc-2.3.2?

To:
Subject: Re: [ts-7000] Using crosstools-0.48 to build gcc-3.3.4 glibc-2.3.2?
From: David Hawkins <>
Date: Fri, 04 May 2007 11:32:06 -0700
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/
 

<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