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>,<larry.scheer@lsi.com>,<rendell.fong@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	6C678488C5CEE74F813A4D1948FD2DC7B7BF8F41@cosmail02.lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 1 Apr 2010 11:18:23 -0700
From: Andrew Sharp <andy.sharp@lsi.com>
To: "Olien, David" <David.Olien@lsi.com>
Cc: Larry Scheer <larry.scheer@lsi.com>, Rendell Fong <rendell.fong@lsi.com>
Subject: Re: My build,  install, startup process.
Message-ID: <20100401111823.4fec8ba3@ripper.onstor.net>
In-Reply-To: <6C678488C5CEE74F813A4D1948FD2DC7B7BF8F41@cosmail02.lsi.com>
References: <6C678488C5CEE74F813A4D1948FD2DC7B7BF8F41@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

On Wed, 31 Mar 2010 20:02:45 -0600 "Olien, David" <David.Olien@lsi.com>
wrote:

> Here's how I'm building, installing, and starting my cougar.
> 
> I've upgraded my cougar's PROM to version 2.0.0  that I built from
> The source in //depot/dev/prom/...
> 
> I've got a p4 client set up with source from  //depot/tuxrx/...
> 
> I've copied a nfs root from Max onto my Linux desktop's local disk,
> At location?
> 
> /home/dolien/g12r208-tuxrx-root
> 
> I've modified the fstab in that file system tree to contain the line
> 
> 10.0.0.132:/home/dolien/g12r208-tuxrx-root / nfs defaults 0 0
> 
> My linux desktop's ip address is of course 10.0.0.132
> 
> I've modified the tuxstor-config and tuxstor-debug-config to
> Contain the line
> 
> CONFIG_CMDLINE="console=duart0,57600n8 root=/dev/nfs
> nfsroot=10.0.0.132:/home/dolien/g12r208-tuxrx-root,v3,tcp
> ip=10.3.208.240:10.0.0.132:10.3.0.1:255.255.0.0:g12r208tx:eth0:none
> -s"
> 
> I took the ip address for the client from the range of ip addresses
> for the fp in the "start" file for my cougar:
> 
> 10.3.208.240
> 
> I've created a symbolic link nfx-tree/Build which points to a
> directory in my build machine's local disk.
> 
> I then make (I think) txrx and ssc kernels, from the nfx-tree
> directory:
> 
> make release PROD=tx VARIANT=dbg
> 
> I then install the modules built by this into my nfs root directory
> mentioned earlier
> 
> make -f Makefile.tuxstor NFS_ROOT_DIR=/home/dolien/g12r208-tuxrx-root
> install
> 
> The I copy the kernels that are in
> 
> /home/dolien/Builds/Build-tuxrx-1/tx/dbg/Release/boot
> 
> total 101908
> -rw-r--r-- 1 root root 37219895 2010-03-31 17:37 System.map
> -rw-r--r-- 1 root root  2084748 2010-03-31 17:13 System-ssc.map
> -rwxr-xr-x 1 root root 50427875 2010-03-31 17:37 vmlinux.32
> -rw-r--r-- 2 root root  3112528 2010-03-31 17:13 vmlinux.bin
> -rw-r--r-- 2 root root  3112528 2010-03-31 17:13 vmlinux.cg
> -rwxr-xr-x 1 root root  4697493 2010-03-31 17:13 vmlinux-ssc.32
> -rw-r--r-- 1 root root  3564232 2010-03-31 17:37 vmlinux.tx
> To both the
> 
> home/dolien/g12r208-tuxrx-root/boot
> 
> and to my cougar's flash memory, the /boot directory:
> 
> g12r208:~# cd /boot
> g12r208:/boot# ls -l
> total 92236
> drwxr-xr-x  3 root root     4096 Mar 31 18:03 ./
> drwxr-xr-x 24 root root     4096 Mar 30 12:08 ../
> -rw-r--r--  1 root root 37219895 Mar 31 18:01 System.map
> lrwxrwxrwx  1 root root       10 Mar 30 15:22 txrx_cg.bin ->
> vmlinux.tx -rwxr-xr-x  1 root root 50427875 Mar 31 18:02 vmlinux.32*
> -rw-r--r--  1 root root  3112528 Mar 31 18:02 vmlinux.bin
> lrwxrwxrwx  1 root root       10 Mar 30 16:30 vmlinux.tuxrx.local ->
> vmlinux.tx -rw-r--r--  1 root root  3564232 Mar 31 18:02 vmlinux.tx

I would not do the txrx_cg.bin -> vmlinux.tx link.  That file should
contain a EEE kernel, or not exist, otherwise quite a bit of confusion
can happen.


> I have modified the /etc/init.d/onstor-load-embedded.  See attachment.
> 
> I removed the entry in /etc/rcS.d that starts this script.  I am
> instead Running in manually after rebooting the cougar's ssc:
> 
> /etc/init.d/onstor-load-embedded start
> 
> That's most of it.  I'm sure I missed some things.  Is this mostly
> right?

Looks OK to me.  You might be taking a couple of extra steps that aren't
necessary but I could be wrong.  You don't need the SSC kernel and .map
on the tuxstor filesystem.

> dave
