ts-7000
[Top] [All Lists]

[ts-7000] Re: insmod execution error

To:
Subject: [ts-7000] Re: insmod execution error
From: "pointdexter67" <>
Date: Mon, 18 Feb 2008 08:53:31 -0000
HELLO Dave,

All the instructions that you provided me made me succeed in compiling
a rtai  module for the TS7200 device , but i still have 2 questions:

i will include the context to make the problem more clear:
mkdir modutils-build
cd modutils-build
../modutils-2.4.26/configure -- prefix=/home/dwh etc,etc
--target=arm-unknown etc
export PATH=/opt/crosstool/arm-unknown-linux-gcc/gcc..etc
make
make install

I saw that the compiler that was called for compiling modutils was gcc
and not arm-gcc. Is that OK??

When i tried to execute this last command line:
make modules_install INSTALL_MOD_PATH=/home/dwh/ts7200/linux24-modules

i get the following error:

make[1]: Leaving directory `/home/eugen/test3/linux24/arch/arm/common'
cd /home/dwh/ts7200/linux24-modules/lib/modules/2.4.26-ts11; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{}
pcmcia
if [ -r System.map ]; then
/home/dwh/ts7200/modutils-install/sbin/depmod -ae -F System.map -b
/home/dwh/ts7200/linux24-modules -r 2.4.26-ts11; fi
depmod: Unexpected value (8319668457729687572) in
'/home/dwh/ts7200/linux24-modules/lib/modules/2.4.26-ts11/kernel/drivers/bluetooth/bfusb.o'
for usb_device_size
        It is likely that the kernel structure has changed, if so then
        you probably need a new version of modutils to handle this kernel.
        Check linux/Documentation/Changes.
*** glibc detected *** double free or corruption (!prev):
0x00000000005fcdb0 ***
/bin/sh: line 1: 31941 Aborted                
/home/dwh/ts7200/modutils-install/sbin/depmod -ae -F System.map -b
/home/dwh/ts7200/linux24-modules -r 2.4.26-ts11
make: *** [_modinst_post] Error 134

I HAVE to specify that i patched this kernel source with the adeos
patch. But everything went fine at compile time.

Please tell me how to resolve this problem.
I also tryed with that .pl script fut that one waas failing at some
pont too.
Maybe you can give me a link with the correct .pl script and some
other posibilities to solve this small problem.

With respect,

Eugen

--- In  David Hawkins <> wrote:
>
> Hi Eugen,
> 
> > at this moment i am using the ts9-rt kernel that is on
> > TS's web page. Do i have to recompile the kernel also?
> 
> To compile a kernel module you need the kernel it
> will be used with. So yes, you will need to recompile
> the kernel.
> 
> > This example is for TS7300 can i use it for TS7200?
> 
> The kernel source will be different, but the procedure
> will be the same if the ts9-rt kernel is 2.4 based.
> 
> 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