ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Where to start?

To:
Subject: Re: [ts-7000] Re: Where to start?
From: Jim Jackson <>
Date: Sat, 23 Apr 2005 22:12:02 +0100 (BST)



On Sat, 23 Apr 2005, Tony Vandiver wrote:

>     I got the flash drive working with help from an old message on this
> list for the insmod commands (thanks Eddie) and your tutorial page below
> (thanks Tony).  I'll try to write a script for this and post it here for
> newbies like me.
>
>     I'm trying to get a handle on what's installed on the TS-7250 and
> what version of code those modules are based on.  I know about uname -r
> to determine the kernel version, but is there a command to list the
> installed modules and determine their versions then track that back to
> the original source?

The modules are all in subdirectories in

  /lib/modules/"linux_version"/

Where the linux_version should usually match the version returned
by uname -r

If you cd into this directory, then which modules can be seen by
doing

 ls -lR

or

 find . -name \*.o


Use "lsmod" to list which modules are loaded in the current running
kernel.

The modules are compiled from that version of the kernel - usually their
source is in the source tree of that version of the kernel.

>  I'm guessing I need to learn more about Linux and
> how to make this specific kernel build before I go tearing off into new
> development.  Ultimately, I'd like to be able to rebuild the entire
> system from the source and understand the process, but it sounds like
> that might take a while.

You might be interested in the Linux From Scratch site....

 http://www.linuxfromscratch.org/

>     I'm using Cygwin and the Technologic cross-tools for compilation
> now.  I'd rather use my Redhat 7.2 linux box but when I try to compile
> there I get :
>
>  bin]# arm-linux-gcc -Wall -o hello hello.c
> ./arm-linux-gcc: /lib/i686/libc.so.6: version 'GLIBC_2.3' not found (required 
> by ./arm-linux-gcc)
>
> I think it should have looked for this library file in 
> /usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/arm-linux/lib
> where there is a libc.so.6, but I don't know how to change the path (this is 
> a really basic question that I don't have a clue about : what's the 
> PATH=$PATH... stuff do?  how do I tell what the current path variable is?).  
> All I've done so far is tar -xf crosstool-linux-0.28rc39.tar which installed 
> everything as in the directory structure above.  Any special requirements for 
> getting the crosstools to work under Redhat?  I've got another pc with a dead 
> fan that I should have up and running next week - planning to install the 
> latest Debian.  Maybe this is the best approach?
>
> painfully ignorant,

Yes I get this on my Debian system when trying to use the latest crosstool
set. I'm using an older one till I can sus this. I'm using

 gcc-3.3.2-glibc-2.3.2

which is ok as long as you don't want to use floating point - cos it gets
it wrong.

If you want a copy of this earlier croostool set then let me know. I'll
see if I can put it up on my web site (need to check space).

Jim

>



<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