ts-7000
[Top] [All Lists]

[ts-7000] Re: Segmentation fault in update-modules and depmod

To:
Subject: [ts-7000] Re: Segmentation fault in update-modules and depmod
From: "Rekcut_Nod" <>
Date: Wed, 05 Jan 2011 18:26:05 -0000
I had this problem too and thought I would post a solution.  This is 
significant, since the "make modules_install" step fails in the kernel build 
process (see: 
ftp://oz.embeddedarm.com/ts-arm-sbc/ts-7260-linux/sources/ts-7260_kernel_compile_guide.txt),
 and you need to run depmod after copying your modules over to a new image.

Petr is right, you do need to build your own modutils, since "apt-get install 
modutils" will simply report that you have the latest version.  Here is what I 
did:

[1] Download  
ftp://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-2.4.27.tar.bz2
 and extract it.
[2] In order to build it you will need to install a few other packages: 
"apt-get install bison flex-old"  (the latest flex will cause the build of 
modutils to bomb)
[3] You also need to install diffutils, but if you try an apt-get install, it 
won't be able to find diffutils.  So, download 
ftp://ftp.gnu.org/gnu/diffutils/diffutils-3.0.tar.gz and extract it.
[4] Within the diffutils extracted directory, do "./configure" then "make" then 
"make install"
[5] Within the modutils extracted directory, do "./configure" then "make", then 
"make install"
[6] Now you can run depmod, but for me most of the modules were not owned by 
root after copying them over to partition 3 of the SD card from my PC, so from 
within /lib/modules/2.6.26-ts11 type "chown -R root:root ./"
[7] Now run "depmod -aev" to generate the dependency lists

Don



--- In  Petr Ledvina <> wrote:
>
> Maybe i had similar problem on TS7400. Compiling depmod did solve the problem.
> Also it seems that depmod from linux shipped with developmet kit is ok
> (but maybe
> there are other problems ... that version seemed to be unstable during
> my testing).
> So try another version or compile it yourself..
>
> Petr
>
> On Tue, May 19, 2009 at 18:08, bburtan65 <> wrote:
> >
> >
> > Anyone experience a segmentation fault while running update-modules or
> > depmod under 2.4.26-ts11?
> >
> >
>
>
>
> --
>        Ing. Petr Ledvina
>         ekoTIP ID s.r.o.
>  identifikaèní technologie
>  Morseova 1126/5 30100 Plzeò
>          tel:608101056
> www: ekotip.cz  
>




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

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>
  • [ts-7000] Re: Segmentation fault in update-modules and depmod, Rekcut_Nod <=
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