AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20090206144756.20f910b4@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:exch1.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>,<rendell.fong@onstor.com>,<bfisher@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Fri, 6 Feb 2009 15:16:44 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: Brian Stark <brian.stark@onstor.com>
Cc: Rendell Fong <rendell.fong@onstor.com>, Bill Fisher <bfisher@onstor.com>
Subject: question about SSC mac addresses
Message-ID: <20090206151644.5aa31fcf@ripper.onstor.net>
Organization: Onstor
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 Brian,

On my cougar board, I get the following output from the prom commands:



SSC-PROM> bsd ip show
Interface Table
--------------------------------------------------------------
Name                Mac-Addr                Op-St   Adm-St
IP/Mask
--------------------------------------------------------------
fp:0:0:0(NULL)      00-07-34-10-01-00       UP      UP 10.2.10.8/16
fp:0:0:1(NULL)      08-08-00-00-01-02       UP      UP 192.168.192.17/24
lo:0:0:0(NULL)      00-00-00-00-00-00       UP      UP
SSC-PROM> seep view
SEEP Info (sig=CB01)
        Model Number:          ONS-SYS-6700
        Board Serial Number:   0801050057
        Board Revision:        3.1
        Deviation:
        Result of ICT:
        Date of ICT:           
        Result of FT:          
        IP addr:               10.2.10.8
        IP mask:               255.255.0.0
        MAC addr:              000734100100
        No of Reboots:         0
        tftp_server_ip         10.0.0.42
SSC-PROM>



My question is, what's with the 08-08-00-00-01-02 mac address for the
second ethernet port?  Is that always like that in the prom or is this
just my whacky system?  It's right in Linux, so I'm guessing it's always
like this and I just never noticed before.

The thing that brought this up is the 'boot_dev' environment variable
being "sc0" -- and not being used -- when the 'load_src' variable is set
to "network".  Until today's mods the 'boot_dev' variable was completely
unused when the 'load_src' variable was set to "network", and
incorrectly ignored the possibility of an NFS root config when the
'load_src' was set to "disk".  The "sc0" value doesn't make much sense
anyway when the load source is network, because you can only set the
mac, ip and netmask in the seep for the first interface, so tftp loads
can only be done via sc0.

Today's PROM mod is to correctly determine the "root=-----" kernel
command line argument from the 'boot_dev' environment variable instead
of from the 'load_src' environment variable.  This will allow you to
tftp load a kernel and have it use the CF as root, or load the kernel
from the flash but run NFS root.  The first case especially can be
quite useful.

