ts-7000
[Top] [All Lists]

[ts-7000] Re: Kernel Building Revisited

To:
Subject: [ts-7000] Re: Kernel Building Revisited
From: "agrimiore" <>
Date: Fri, 22 Apr 2005 23:21:36 -0000

you're depmod: ELF file warnings are benign. What you won't end up
with in the resulting lib/modules/<kernel>/ is the set of files
modprobe would need to cleanly load in a module and it's dependancies.
You can still do 
insmod bar-module
insmod foo-module

versus the modprobe way, 
modprobe bar-module (which is dependent on foo-module, so it loads
that first before bar-module)

The Debian OS on the thumb-drives or CF do a depmod -a upon startup,
which is what the 'make modules_install' is trying to do with arm
binaries with an x86 version of depmod. 

Why do you need this step? Well, you could just pluck out of the 
kernel source tree the .o files, squirrel them away into the correct
directories, and then update the various modules.* files by hand...

Or just use the pre-existing script that does it all for you (i.e.,
make modules_install)



--- In  "vocemanago" <> wrote:
> 
> In lookin at the notes from technologic, they do not do a 
> make modules_install
> operation, so I am wondering, if it is necessary.
> I am guessing that it is handy for making a set of directorys that can
> be easily transfered over to the linux box file system, but I don't
> really know what the big use for it is (I mean in a normal system it
> moves them into the kernel directories for reboot time).
> I also don't know why I can do the "make modules" but make
> modules_install fails with 
> 
> depmod: ELF file
>
/home/arm/linux24/modules/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts6/kernel/net/bluetooth/sco.o
> not for this architecture
> depmod: ELF file
>
/home/arm/linux24/modules/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts6/kernel/net/irda/irda.o
> not for this architecture
> depmod: ELF file
>
/home/arm/linux24/modules/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts6/kernel/net/packet/af_packet.o
> not for this architecture
> make: *** [_modinst_post] Error 1
> 
> I am trying to uses the notes that Jim Jackson put forward in the
> prior message and at the same time use the notes supplied by
Technologic.
> If I follow the Technologic note, I don't do the "modules_install"
> rule for the makefile.
> I am curious in this case,where all the modules reside.
> 
> I realize this is trivial but it bothers me.
> Tony





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> 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