ts-7000
[Top] [All Lists]

[ts-7000] Re: Error running insmod: "Uknown symbol add_preempt_count" (T

To:
Subject: [ts-7000] Re: Error running insmod: "Uknown symbol add_preempt_count" (TS-7260, 2.6.21-ts)
From: "ksudeadeye81" <>
Date: Tue, 01 Mar 2011 22:17:38 -0000
Fixed.

Here's the config file for the 2.6.21-ts kernel that's included in the SD card 
image:

ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/binaries/ts-images/ts-7260_config-2.6.21

I'm not sure how long that's been posted on the FTP site, but I don't think it 
was available when I started working on this (3 weeks ago maybe).

As a side note, the ohci and sdcard drivers failed to compile during "make 
modules". Not sure why.


--- In  "ksudeadeye81" <> wrote:
>
> Hey All:
> 
> I'm officially punting on this one. I've got a TS-7260 booting from this SD 
> card image:
> 
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/binaries/ts-images/ts7260-linux2.6-etch.dd.bz2
> 
> I need to re-compile a kernel module (the cdc-acm USB driver) with custom 
> changes and install it on the board. I started with the source for the 
> 2.6.21-ts kernel located here:
> 
> ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/tskernel-2.6.21-ts-src.tar.gz
> 
> I made my changes, recompiled with the EABI toolchain (tried the OABI 
> toolchain as well), copied the new module over to the board, and got these 
> errors when I ran insmod:
> 
> cdc_acm: Unknown symbol add_preempt_count
> cdc_acm: Unknown symbol sub_preempt_count
> 
> Here's the thing...this error has NOTHING to do with the kernel's preemption 
> configuration at compile time. Both the original cdc-acm driver and my 
> modified driver have EXACTLY the same vermagic string:
> 
> depends:        usbcore
> vermagic:       2.6.21-ts preempt mod_unload ARMv4 
> 
> I've asked Technologic for the .config file associated with the kernel in the 
> SD card image because I couldn't find it in /boot, but I haven't heard back.
> 
> Any help would be much appreciated.
> 
> Thanks.
>




------------------------------------

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