Re: Specifying tftp server in openprom

2001-08-17 Thread Chaskiel M Grundman
Excerpts from internet.computing.debian.sparc: 17-Aug-101 Specifying
tftp server in o.. by Jason [EMAIL PROTECTED] 
> I remember reading that there is a method to specify an IP address and
> tftp server in the "boot net" command at the openprom prompt, but I

Patrick is correct that help boot will give you the syntax, but not all
machines support it. 
Blades and other machines that have Openboot 4.x support it.
Classics (but not LX's or anything else that old) support it.
Most ultra systems can be made to support it if you upgrade their PROM's
to at least OpenBoot 3.26. Ultra 80's that my employers bought this
summer shipped with 3.23, but the E22O's came with 3.29) 



Re: Specifying tftp server in openprom

2001-08-17 Thread Patrick Morris
If you do a "help boot" at the OBP prompt, it'll give you the syntax.

Jason Smith wrote:

> I remember reading that there is a method to specify an IP address and
> tftp server in the "boot net" command at the openprom prompt, but I
> can't find it now.  It seems that there is a jumpstart server on my
> subnet which is overriding my underground Debian net boot scheme :)
>
> Anybody remember this syntax?
>
> Regards
>
> --
> Jason Smith
> Linux, BSD, and lesser Unix
> University of Texas ECE-LRC
> Austin
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


smime.p7s
Description: S/MIME Cryptographic Signature


Specifying tftp server in openprom

2001-08-17 Thread Jason Smith
I remember reading that there is a method to specify an IP address and
tftp server in the "boot net" command at the openprom prompt, but I
can't find it now.  It seems that there is a jumpstart server on my
subnet which is overriding my underground Debian net boot scheme :)

Anybody remember this syntax?

Regards

-- 
Jason Smith
Linux, BSD, and lesser Unix
University of Texas ECE-LRC
Austin



Re: openprom modified, then lockup. ;(

2000-12-15 Thread Marco Gaiarin
Mandi! Marco Gaiarin
In chel di` si favelave...

> The problem now are that... everytime i try to access some file in
> /proc/openprom, system LOCKUP, only thing i can do is Stop-B.

Problem solved. I've restored the factory default (with set-default), and
instead of modifing the disk alias, i've set the boot-device to be disk1.

Now /proc/openprom in linux works and the machine boot.


I've not understood why i cannot modifiy disk alias (was a system alias?),
but now works! :)))

-- 
dott. ing. Marco Gaiarin[EMAIL PROTECTED]
La Nostra Famiglia - Polo FVG   root @ CED



openprom modified, then lockup. ;(

2000-12-14 Thread Marco Gaiarin

At work there's an unused Sparc 10, but that was upgraded with two disks,
SUN1.05 and SUN2.0S. An unused sparc with 3GB of disk space was a
true temptation... ;)))

I've installed potato, and wont boot (from HD) saying ``Invalid
Instruction''.


After some fiddling and testing with openprom, i've seen that default boot
device was disk, that was an alias for:

/iommu/sbus/[EMAIL PROTECTED],40/[EMAIL PROTECTED],80/[EMAIL 
PROTECTED],0

so i've tryed some other, finding that:

/iommu/sbus/[EMAIL PROTECTED],40/[EMAIL PROTECTED],80/[EMAIL 
PROTECTED],0

was the right choice. Now SILO boot! ;)


After i've set disk to be an alias to this last, with:

echo "/iommu/sbus/[EMAIL PROTECTED],40/[EMAIL 
PROTECTED],80/[EMAIL PROTECTED],0" > \
/proc/openprom/aliases/disk

and system print "disk isn't unique", message that are also printed every 
time the system boot up.


The problem now are that... everytime i try to access some file in
/proc/openprom, system LOCKUP, only thing i can do is Stop-B.


Some clue? Thanks.

-- 
dott. ing. Marco Gaiarin[EMAIL PROTECTED]
La Nostra Famiglia - Polo FVG   root @ CED



Re: openprom> whereis silo\n

2000-10-19 Thread Steve Bowman
On Tue, Oct 10, 2000 at 03:29:27PM -0400, Ben Collins wrote:
> What is the SCSI ID of the Linux disk? Sounds like you are trying to boot
> one that isn't SCSI ID 3 (the default that SPARC tries to boot). You'll
> need to specify something like "boot disk2" or something. Then in linux,
> edit /etc/silo.conf to put the boot block on the correct disk. The reason
> it is done this way is to prevent from breaking installs where
> Solaris/SunOS is on one disk, and Linux is on another (common setup).

Or, if you don't have to worry about Solaris, etc. or can't put the boot
block on the "right disk", you can change the default by:

cd /proc/openprom/aliases
cat disk2 > disk

or put the right alias for whatever you want to be the default disk in
'disk'.

Steve

-- 
Steve Bowman  <[EMAIL PROTECTED]> (preferred)
Buckeye, AZ   <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
  <http://www.goodnet.com/~sbowman/>

Powered by Debian GNU/Linux and GNU/Hurd <http://www.debian.org>



Re: openprom> whereis silo\n

2000-10-11 Thread Jakub Jelinek
On Wed, Oct 11, 2000 at 11:51:09AM +0200, Thomas 'Mike' Michlmayr wrote:
> On Tue, Oct 10, 2000 at 15:29:27 -0400,
> Ben Collins <[EMAIL PROTECTED]> wrote:
> [...]
> > What is the SCSI ID of the Linux disk? Sounds like you are trying to boot
> > one that isn't SCSI ID 3 (the default that SPARC tries to boot).
> 
> just to clarify things, this is only valid for the sun4[cdm] architechture
> (and probably related to the openboot revision). all sun4u machines by
> default boot from SCSI ID 0.
> 
> the best way to handle booting from multiple disks is to find the correct
> disk with show-disks-all, and then devaliasing those entries. you can then
> use the aliases with the boot command, and even use them for default booting.

Have a look at RH 6.2 installer which creates a linux devalias for you if
you choose so (and points it to the right device).

Jakub



Re: openprom> whereis silo\n

2000-10-11 Thread Thomas 'Mike' Michlmayr
On Tue, Oct 10, 2000 at 15:29:27 -0400,
Ben Collins <[EMAIL PROTECTED]> wrote:
[...]
> What is the SCSI ID of the Linux disk? Sounds like you are trying to boot
> one that isn't SCSI ID 3 (the default that SPARC tries to boot).

just to clarify things, this is only valid for the sun4[cdm] architechture
(and probably related to the openboot revision). all sun4u machines by
default boot from SCSI ID 0.

the best way to handle booting from multiple disks is to find the correct
disk with show-disks-all, and then devaliasing those entries. you can then
use the aliases with the boot command, and even use them for default booting.

-- 
Thomas 'Mike' Michlmayr  | ignorami: n: The BOFH art of folding problem 
<[EMAIL PROTECTED]> |   lusers into representational shapes.



pgpklqKHBF0hO.pgp
Description: PGP signature


Re: openprom> whereis silo\n

2000-10-10 Thread Chad Miller
Whee!  Tad's message put me on the right path.  One 'help system' and
one 'devalias' later, I figured out that the hardware aliases are screwy,
and I 'setenv boot-device /[EMAIL PROTECTED],2000/[EMAIL PROTECTED]/[EMAIL 
PROTECTED],0' and 'boot'ed into
Linux.  

Beautiful.  Ugly, bug beautiful.  

Thanks, guys and gals.

- chad

--
Chad Miller <[EMAIL PROTECTED]>   URL: http://web.chad.org/   (GPG)
"Any technology distinguishable from magic is insufficiently advanced".
First corollary to Clarke's Third Law (Jargon File, v4.2.0, 'magic')



Re: openprom> whereis silo\n

2000-10-10 Thread Chad Miller

On Tue, Oct 10, 2000 at 06:07:27PM -0400, Tad Bilby wrote:
> E450 default boot is target 0 on the 4U arch-
> try `probe-scsi-all` at the `ok` prompt
> and `printenv boot-device`  and
> `printenv boot-file`


>From my message in another branch:
> bus 0: #0=sda, #2=sdb, #3=sdc 
> bus 1: #0=sdd
> bus 2: #0=st0, #6=sr0
> bus 3: #0=sde, #1=sdf

...and in openprom (the order 'probe-scsi-all' printed them), 
/[EMAIL PROTECTED],2000/[EMAIL PROTECTED],1 == bus1   (snipped disk 
descriptions)
/[EMAIL PROTECTED],2000/[EMAIL PROTECTED]   == bus0
/[EMAIL PROTECTED],4000/[EMAIL PROTECTED]  == bus2
/[EMAIL PROTECTED],4000/[EMAIL PROTECTED]  == bus2

...and variables:

boot-device = disk
boot-file = 

Thanks. 
- chad

-- 
Chad Miller <[EMAIL PROTECTED]>   URL: http://web.chad.org/   (GPG)
"Any technology distinguishable from magic is insufficiently advanced".
First corollary to Clarke's Third Law (Jargon File, v4.2.0, 'magic')



Re: openprom> whereis silo\n

2000-10-10 Thread Tad Bilby


E450 default boot is target 0 on the 4U arch-
try `probe-scsi-all` at the `ok` prompt
and `printenv boot-device`  and
`printenv boot-file`
Chad Miller wrote:
Hi all.
I got a spiffy E450 recently and am trying to use Potato on it. 
I can
install without problem (at openprom, 'boot cdrom').  It has several
disks, and on the first I delete all partitions (including the ``Whole
disk'') and remake them (Whole disk, root, swap).  I run the install
gauntlet, and I follow the step that runs 'silo' at the end.
Upon rebooting (my openprom 'boot-device' variable is set to 'disk'),
the
previous SunOS installation begins to boot!  I've deleted all
other
disks' partitions and ``Whole disk'' partitions (and created bare disks
with one type-83 partition), and even 'dd if=/dev/zero of=/dev/hda'
(from
SunOS -- grrr).  I just tried at openprom 'boot disk0' and it
boots SunOS.
I don't want SunOS.  SunOS is ugly.  SunOS makes me itch.
What must one do to boot SILO?  Ideas?
   
- chad
--
Chad Miller <[EMAIL PROTECTED]>   URL: http://web.chad.org/  
(GPG)
"Any technology distinguishable from magic is insufficiently advanced".
First corollary to Clarke's Third Law (Jargon File, v4.2.0, 'magic')
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Tad Bilby
Rave Computer Assoc.
800-966-7283
 


Re: openprom> whereis silo\n

2000-10-10 Thread Chad Miller
> On Tue, Oct 10, 2000 at 03:07:36PM -0400, Chad Miller wrote:
> > What must one do to boot SILO?  Ideas?

On Tue, Oct 10, 2000 at 03:29:27PM -0400, Ben Collins wrote:
> What is the SCSI ID of the Linux disk? Sounds like you are trying to boot
> one that isn't SCSI ID 3 (the default that SPARC tries to boot). You'll
> need to specify something like "boot disk2" or something. Then in linux,
> edit /etc/silo.conf to put the boot block on the correct disk. The reason
> it is done this way is to prevent from breaking installs where
> Solaris/SunOS is on one disk, and Linux is on another (common setup).


Golly.  I'm new to Sun hardware, so pardon if I'm oververbose.

I have disks at 
bus 0: #0=sda, #2=sdb, #3=sdc
bus 1: #0=sdd
bus 2: #0=st0, #6=sr0
bus 3: #0=sde, #1=sdf

It's on sda1 that I have my root, and on sdb1 that I have /var .  The
other disks are as yet unused.

I have tried...
  'boot disk0' ( == boots SunOS (or tries to!))
  'boot disk1' ( => The file just loaded does not appear to be executable.)
  'boot disk2' ( => Drive not ready.\nCannot read disk label.)

The man page of 'silo.conf' didn't help me much in figuring out how to put 
the magic code in any particular place.  What's the tag?

For all its eccentricities, I understand and like the Mac openfirmware
more.  :P  :(

I'd appreciate any further ideas.

- chad

--
Chad Miller <[EMAIL PROTECTED]>   URL: http://web.chad.org/   (GPG)
"Any technology distinguishable from magic is insufficiently advanced".
First corollary to Clarke's Third Law (Jargon File, v4.2.0, 'magic')



Re: openprom> whereis silo\n

2000-10-10 Thread Ben Collins
On Tue, Oct 10, 2000 at 03:07:36PM -0400, Chad Miller wrote:
> Hi all.
> 
> I got a spiffy E450 recently and am trying to use Potato on it.  I can
> install without problem (at openprom, 'boot cdrom').  It has several
> disks, and on the first I delete all partitions (including the ``Whole
> disk'') and remake them (Whole disk, root, swap).  I run the install
> gauntlet, and I follow the step that runs 'silo' at the end.
> 
> Upon rebooting (my openprom 'boot-device' variable is set to 'disk'), the
> previous SunOS installation begins to boot!  I've deleted all other
> disks' partitions and ``Whole disk'' partitions (and created bare disks
> with one type-83 partition), and even 'dd if=/dev/zero of=/dev/hda' (from
> SunOS -- grrr).  I just tried at openprom 'boot disk0' and it boots SunOS.
> 
> I don't want SunOS.  SunOS is ugly.  SunOS makes me itch.
> 
> What must one do to boot SILO?  Ideas?

What is the SCSI ID of the Linux disk? Sounds like you are trying to boot
one that isn't SCSI ID 3 (the default that SPARC tries to boot). You'll
need to specify something like "boot disk2" or something. Then in linux,
edit /etc/silo.conf to put the boot block on the correct disk. The reason
it is done this way is to prevent from breaking installs where
Solaris/SunOS is on one disk, and Linux is on another (common setup).

Ben

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



openprom> whereis silo\n

2000-10-10 Thread Chad Miller
Hi all.

I got a spiffy E450 recently and am trying to use Potato on it.  I can
install without problem (at openprom, 'boot cdrom').  It has several
disks, and on the first I delete all partitions (including the ``Whole
disk'') and remake them (Whole disk, root, swap).  I run the install
gauntlet, and I follow the step that runs 'silo' at the end.

Upon rebooting (my openprom 'boot-device' variable is set to 'disk'), the
previous SunOS installation begins to boot!  I've deleted all other
disks' partitions and ``Whole disk'' partitions (and created bare disks
with one type-83 partition), and even 'dd if=/dev/zero of=/dev/hda' (from
SunOS -- grrr).  I just tried at openprom 'boot disk0' and it boots SunOS.

I don't want SunOS.  SunOS is ugly.  SunOS makes me itch.

What must one do to boot SILO?  Ideas?

- chad

--
Chad Miller <[EMAIL PROTECTED]>   URL: http://web.chad.org/   (GPG)
"Any technology distinguishable from magic is insufficiently advanced".
First corollary to Clarke's Third Law (Jargon File, v4.2.0, 'magic')



Re: openprom

1998-06-24 Thread Anders Hammarquist
>anyone au fait with how to access the OPENPROM under debian/linux (for
>example, to change boot device, to put a pengiun in the boot graphic,
>etc..). do i need a package for it?  is it just echo and the like?  is it
>documented *anywhere*?

Don't know if it's documented anywhere, but if you load the module
openpromfs (I think) you'll get the entire openprom tree under /proc/openprom

/Anders

-- 
 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist   |   Mud at Kingdoms| [EMAIL PROTECTED]
NetGuide Scandinavia |   telnet kingdoms.se 1812| Fax: +46 31 50 79 39
http://www.netg.se   |  | Tel: +46 31 50 79 40


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


openprom

1998-06-19 Thread Duncan THOMSON

anyone au fait with how to access the OPENPROM under debian/linux (for
example, to change boot device, to put a pengiun in the boot graphic,
etc..). do i need a package for it?  is it just echo and the like?  is it
documented *anywhere*?

-duncan



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]