X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C75AB5.B5C5006B@onstor-exch02.onstor.net>; Tue, 27 Feb 2007 14:24:48 -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:24:47 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E02951F26@onstor-exch02.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0221565C@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: SSC prom commands
Thread-Index: AcdaqJEr3l2cTvWOTkeyRFLudY0flQAAkLkQAAJdiEA=
From: "Warren Gale" <warren.gale@onstor.com>
To: "Larry Scheer" <larry.scheer@onstor.com>,
	"Andy Sharp" <andy.sharp@onstor.com>

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:

=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

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>
=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


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.

Warren

-----Original Message-----
From: Larry Scheer=20
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=20

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=20
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:
>=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

what is multi-use boot?


> 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

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
