X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C75AB7.F2FA6F76@onstor-exch02.onstor.net>; Tue, 27 Feb 2007 14:40:50 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: SSC prom commands
Date: Tue, 27 Feb 2007 14:40:50 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E02951F5A@onstor-exch02.onstor.net>
In-Reply-To: <20070227133103.467ae09a@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: SSC prom commands
Thread-Index: AcdatpT8874I+OCXT6aLQ5IPUTaF6wAAJETw
From: "Warren Gale" <warren.gale@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>


PROM Seep commands:
  I do a view first so I don't lose anything important.
  Then do a "seep program"  and just hit "return" if you don't want to
change that field.

On the interface name.. Don't know. I agree with you that "fp" should be
something related to the FP processors, but ...=20
So when I use "fp0", I plug my network cable into "sc0"

Warren


SSC-PROM> seep view
PCB SEEP Info (sig=3DCB01)
        Model Number:          ONS-SYS-2220
        System Serial Number:  0451040009
        System Revision:       5.0
        Board Serial Number:   0450010500
        Board Revision:        4.0
        Deviation:             D128,D130
        Result of ICT:
        Date of ICT:
        Result of FT:          P
        IP addr:               10.1.1.109
        IP mask:               255.255.0.0
        MAC addr:              00073401aa00
        Cumulative Uptime:     0 Days 0 Hours 0 Mins
        Board Uptime:          0 Days 0 Hours 0 Mins
        No of Reboots:         182
SSC-PROM>
SSC-PROM> seep program
PCB SEEP Info (sig=3DCB01)
        Model Number:          ONS-SYS-2220
        System Serial Number:  0451040009
        System Revision:       5.0
        Board Serial Number:   0450010500
        Board Revision:        4.0
        Deviation:             D128,D130
        Result of ICT:
        Date of ICT:
        Result of FT:          P
        IP addr:               10.1.1.109
        IP mask:               255.255.0.0
        MAC addr:              00073401aa00
        Cumulative Uptime:     0 Days 0 Hours 0 Mins
        Board Uptime:          0 Days 0 Hours 0 Mins
        No of Reboots:         182

=3D=3D=3D=3D=3D=3D=3D=3D=3D Enter New Fields For PCB SEEP =
=3D=3D=3D=3D=3D=3D=3D=3D=3D
        Model Number [ONS-SYS-2220]:
        System Serial Number (NNNNNNNNNN) [0451040009]:
        System Revision Number (NN.NN or ANN) [5.0]:
        Board Serial Number (NNNNNNNNNN) [0450010500]:
        Board Revision Number (NN.NN or ANN) [4.0]:
        Deviation Number (DNNN) [D128,D130]:
        Result for ICT[]:
        Date of ICT Test[]:
        Result for Functional Test[P]:
        IP addr [10.1.1.109]:
        IP mask [255.255.0.0]:
        Mac Address (000734xxxx00) [00073401aa00]:
SSC-PROM>


-----Original Message-----
From: Andy Sharp=20
Sent: Tuesday, February 27, 2007 1:31 PM
To: Warren Gale
Cc: Larry Scheer
Subject: Re: SSC prom commands

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:
>=20
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
> 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
>=20
> 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
>=20
> 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
>=20
> lo:0:0:0(NULL)      00-00-00-00-00-00       UP      UP
> SSC-PROM>
> =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
>=20
>=20
> Not sure why the rt add failed either...
> Maybe need to delete the one I see first?
>=20
> 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
>=20
> -----Original Message-----
> From: Larry Scheer=20
> Sent: Tuesday, February 27, 2007 12:14 PM
> To: Andy Sharp; Warren Gale
> Subject: RE: SSC prom commands
>=20
> > Set multi-use boot:
> > env set load_opts mAt=20
>=20
> what is multi-use boot?
>=20
> A typo. It is multi-user boot.
>=20
> > (Set the route)
> > bsd rt add 10.0.0.0 255.255.0.0 10.2.0.1
>=20
> it doesn't want to let me do this.  i think because i should set an ip
> address first?  how does one do that?
>=20
> 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.
>=20
> > (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
>=20
> stripped?  does it have to be stripped?
>=20
> 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.
>=20
> -----Original Message-----
> From: Andy Sharp=20
> Sent: Tuesday, February 27, 2007 11:51 AM
> To: Larry Scheer; Warren Gale
> Subject: Re: SSC prom commands
>=20
> On Tue, 7 Nov 2006 13:55:40 -0800 "Larry Scheer"
> <larry.scheer@onstor.com> wrote:
>=20
> > Andy,
> >       Here is what I can remember about the ssc prom commands off
> > the top of my head:
> >=20
> > Typing ctrl E stops the autoload sequence and places you in the ssc
> > prom monitor (debug mode)
> >=20
> > To show what the current settings are:
> > env view =20
> >=20
> > To change the prom settings:
> > env set=20
> >=20
> > To set the boot device to be  flash 1:
> > env set boot /dev/wd0a =20
> >=20
> > To boot BSD:
> > autoload=20
> >=20
> > Also boots BSD:
> > reboot=20
> >=20
> > I think there are bsd commands in the prom that can be set.
> >=20
> > Here are some commands I played with when I was booting Linux
> >=20
> > Set multi-use boot:
> > env set load_opts mAt=20
>=20
> what is multi-use boot?
>=20
>=20
> > Set single user boot:
> > env set load_opts s
> >=20
> > 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:=20
> >=20
> > (Set the route)
> > bsd rt add 10.0.0.0 255.255.0.0 10.2.0.1
>=20
> it doesn't want to let me do this.  i think because i should set an ip
> address first?  how does one do that?
>=20
> > (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
>=20
> stripped?  does it have to be stripped?
>=20
> > (Start)
> > g
