AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<David.Olien@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	6C678488C5CEE74F813A4D1948FD2DC7B7C5C502@cosmail02.lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 8 Apr 2010 14:24:04 -0700
From: Andrew Sharp <andy.sharp@lsi.com>
To: "Olien, David" <David.Olien@lsi.com>
Subject: Re: what exactly are these kernels
Message-ID: <20100408142404.0815eb00@ripper.onstor.net>
In-Reply-To: <6C678488C5CEE74F813A4D1948FD2DC7B7C5C502@cosmail02.lsi.com>
References: <6C678488C5CEE74F813A4D1948FD2DC7B7C5C336@cosmail02.lsi.com>
	<20100406115808.2ac6b35a@ripper.onstor.net>
	<6C678488C5CEE74F813A4D1948FD2DC7B7C5C502@cosmail02.lsi.com>
Organization: LSI
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi David,

Did this question ever get answered to your satisfaction?  I guess my
question was, what do you want to do with the symbol table?  If your
using it as an input file for kgdb, then probably the .32 one.
The .bin (and, I'm guessing, the .tx and .cg) one(s) are the binary
versions used for loading since we don't have an ELF loading PROM.  But
they still contain the symbol table.  I don't know if gdb knows how to
read them or not.  The Symbol.map files are just the symbol table,
dumped out in ASCII.

On Tue, 6 Apr 2010 13:22:54 -0600 "Olien, David" <David.Olien@lsi.com>
wrote:

> Sorry, I guess I was tired last night.
> 
> Basic question was, which kernel file still
> Has symbol table information for the tuxrx kernel?
> 
> 
> 
> -----Original Message-----
> From: Andrew Sharp [mailto:andy.sharp@lsi.com] 
> Sent: Tuesday, April 06, 2010 11:58 AM
> To: Olien, David
> Subject: Re: what exactly are these kernels
> 
> What's the larger question?
> 
> On Mon, 5 Apr 2010 21:15:31 -0600 "Olien, David" <David.Olien@lsi.com>
> wrote:
> 
> > I could walk through the Make files (I probably should at some
> > point).
> > 
> > But until I do that.  I thought I'd just ask what all the kernel
> > versions are.
> > 
> > In the directory:
> > 
> > Builds/Build-tuxrx-1/tx/dbg/Release/boot
> > 
> > I see kernel files:
> > 
> > -rw-r--r-- 1 root root 37219909 2010-04-05 19:49 System.map
> > -rw-r--r-- 1 root root  2084748 2010-04-05 19:27 System-ssc.map
> > -rwxr-xr-x 1 root root 50427859 2010-04-05 19:49 vmlinux.32
> > -rw-r--r-- 2 root root  3112528 2010-04-05 19:27 vmlinux.bin
> > -rw-r--r-- 2 root root  3112528 2010-04-05 19:27 vmlinux.cg
> > -rwxr-xr-x 1 root root  4697493 2010-04-05 19:27 vmlinux-ssc.32
> > -rw-r--r-- 1 root root  3564232 2010-04-05 19:49 vmlinux.tx
> > 
> > vmlinux.32:     ELF 32-bit LSB executable, MIPS, MIPS64 version 1
> > (SYSV), statically linked, not stripped vmlinux.bin:    data
> > vmlinux.cg:     data
> > vmlinux-ssc.32: ELF 32-bit LSB executable, MIPS, MIPS64 version 1
> > (SYSV), statically linked, not stripped vmlinux.tx:     data
> > 
> > vmlinux.cg and vmlinux.bin are identical.
> > These are the kernels bootable by the SSC?
> > And vmlinux-ssc.32 holds the symbol table for this.
> > And System-ssc.map is the map file.
> > 
> > Vmlinux.tx is of course the kernel for tuxrx.
> > It's symbols can be found in vmlinux.32?
> > 
> > All of the kernels that have symbols are 32-bit kernels.
> > So, all the kernels are 32-bit?
> > 
> > I notice that in
> > 
> > tuxrx/linux/kernel/linux-mips-2.6
> > 
> > there is a vmlinux file with symbols there, which is
> > a 64-bit kernel.
> > 
> > Just trying to sort it all out.
> > 
> > dave
