AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070227133049.6f1a2c1e@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<warren.gale@onstor.com>,<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E02951F26@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 27 Feb 2007 13:31:03 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Warren Gale" <warren.gale@onstor.com>
Cc: "Larry Scheer" <larry.scheer@onstor.com>
Subject: Re: SSC prom commands
Message-ID: <20070227133103.467ae09a@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E02951F26@onstor-exch02.onstor.net>
References: <BB375AF679D4A34E9CA8DFA650E2B04E0221565C@onstor-exch02.onstor.net>
	<BB375AF679D4A34E9CA8DFA650E2B04E02951F26@onstor-exch02.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

On Tue, 27 Feb 2007 13:24:47 -0800 "Warren Gale"
<warren.gale@onstor.com> wrote:

> The PROM commands I use:
> My bobcats IP -- 10.1.1.109
> For IP setup : bsd ip add fp0 10.1.1.109 255.255.0.0
> I did a bsd rt show:
> 
> =====================================================
> SSC-PROM> bsd rt show
> Route Table
> ------------------------------------------------------------------------
> ----------
> Dest                 Gateway               Flags    Intf
> refc(id)
> ------------------------------------------------------------------------
> ----------
> 10.1.0.0       /16   00-00-00-00-00-00     0x101     fp:0:0:0(NULL)
> 0(8115ec10)
> 192.168.192.0  /24   00-00-00-00-00-00     0x101     fp:0:0:2(NULL)
> 0(8115f010)
> SSC-PROM> bsd rt add 10.0.0.0 255.255.0.0 10.2.0.1
> File: bsdroute-api.c, Line: 170
> route dst a mask ffff gateway 100020a fail to be added/deleted
> 
> bsd rt add <ip> <mask> <gateway>: add static rt
> bsd rt del <ip> <mask> <gateway>: del static rt
> bsd rt show:                      show static rt
> SSC-PROM> bsd ip show
> Interface Table
> --------------------------------------------------------------
> Name                Mac-Addr                Op-St   Adm-St
> IP/Mask --------------------------------------------------------------
> fp:0:0:0(NULL)      00-07-34-01-6D-00       UP      UP
> 10.1.1.109/16
> 
> fp:0:0:1(NULL)      00-07-34-01-6D-01       UP      UP
> fp:0:0:2(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>
> =====================================================
> 
> 
> Not sure why the rt add failed either...
> Maybe need to delete the one I see first?
> 
> If you have an IP that is in seep there would be no need to
> do the "bsd ip add" command.

I'll bite: how do you set an IP in seep?

and what are the fp:0:0:0 interface names?  Which corresponds to sc0
and sc1 (nat semi based) interfaces?

I'm aware of the various bsd commands, but the interface names don't
mean anything to me.  fp-whatever would seem to be something related to
the FP processor(s)...

I'm waiting on this info before I can start booting Linux on the
bobcat, so any help you can give me is appreciated.

Thanks,

a


> Warren
> 
> -----Original Message-----
> From: Larry Scheer 
> Sent: Tuesday, February 27, 2007 12:14 PM
> To: Andy Sharp; Warren Gale
> Subject: RE: SSC prom commands
> 
> > Set multi-use boot:
> > env set load_opts mAt 
> 
> what is multi-use boot?
> 
> A typo. It is multi-user boot.
> 
> > (Set the route)
> > bsd rt add 10.0.0.0 255.255.0.0 10.2.0.1
> 
> it doesn't want to let me do this.  i think because i should set an ip
> address first?  how does one do that?
> 
> Maybe Warren knows the answer to this. There might be a bsd int
> command. I don't know how the prom finds the IP address. The systems
> I worked with seem to use the IP address that was configured when the
> installation was done.
> 
> > (Tell the prom where to load and where to fetch the kernel from the
> > ftp server)
> > load -a 83000000 10.0.0.49 vmlinus.stripped
> 
> stripped?  does it have to be stripped?
> 
> The reason it was stripped is because the unstripped version that Dan
> created was  20+ Mbytes and took too long to load so he stripped it to
> get faster boot times.
> 
> -----Original Message-----
> From: Andy Sharp 
> Sent: Tuesday, February 27, 2007 11:51 AM
> To: Larry Scheer; Warren Gale
> Subject: Re: SSC prom commands
> 
> On Tue, 7 Nov 2006 13:55:40 -0800 "Larry Scheer"
> <larry.scheer@onstor.com> wrote:
> 
> > Andy,
> >       Here is what I can remember about the ssc prom commands off
> > the top of my head:
> > 
> > Typing ctrl E stops the autoload sequence and places you in the ssc
> > prom monitor (debug mode)
> > 
> > To show what the current settings are:
> > env view  
> > 
> > To change the prom settings:
> > env set 
> > 
> > To set the boot device to be  flash 1:
> > env set boot /dev/wd0a  
> > 
> > To boot BSD:
> > autoload 
> > 
> > Also boots BSD:
> > reboot 
> > 
> > I think there are bsd commands in the prom that can be set.
> > 
> > Here are some commands I played with when I was booting Linux
> > 
> > Set multi-use boot:
> > env set load_opts mAt 
> 
> what is multi-use boot?
> 
> 
> > Set single user boot:
> > env set load_opts s
> > 
> > I don't think this works with BSD and Dan may have had special proms
> > to do this but here is how we booted the Linux kernel via NFS: 
> > 
> > (Set the route)
> > bsd rt add 10.0.0.0 255.255.0.0 10.2.0.1
> 
> it doesn't want to let me do this.  i think because i should set an ip
> address first?  how does one do that?
> 
> > (Tell the prom where to load and where to fetch the kernel from the
> > ftp server)
> > load -a 83000000 10.0.0.49 vmlinus.stripped
> 
> stripped?  does it have to be stripped?
> 
> > (Start)
> > g
