From: "William J. Earl" <wje@fir.engr.sgi.com>
To: "Francis M. J. Hsieh" <mjhsieh@helix.life.nthu.edu.tw>
Cc: Linux <linux%cthulhu.engr.sgi.com@ms21.hinet.net>
Subject: Re: [Q] How to reboot automatically?
Date: Mon, 20 Jul 1998 09:10:34 -0700 [thread overview]
Message-ID: <199807201610.JAA28042@fir.engr.sgi.com> (raw)
In-Reply-To: <19980720202548.A526@helix.life.nthu.edu.tw>
Francis M. J. Hsieh writes:
> On Sun, Jul 19, 1998 at 11:20:54PM +0200, ralf@uni-koblenz.de wrote:
> > On Mon, Jul 20, 1998 at 04:18:15AM +0800, Francis M. J. Hsieh wrote:
> > > Well, OSLoadOptions saves only 12 character. Maybe I was at the wrong way,
> > > there is few document about firmware. neither the manpages nor the online
> > > books contain helpful information.
> >
> > 12 Characters?
> >
> > !@#%%$!##,
>
> any idea? the sash would not read root variable...... so setenv root won't
> work...
To boot IRIX from an alternate partition, we usually
set
OSLoadPartition=scsi(0)disk(4)rdisk(0)partition(0)
OSLoader=sash
OSLoadFilename=/unix
root=dks0d4s0
sash is fetched from
SystemPartition=scsi(0)disk(4)rdisk(0)partition(8)
These can be set in the NVRAM using
setenv -p SymbolName SymbolValue
IRIX looks at the environment when booting. That is, it finds
argc, argv, and envp in $a0, $a1, and $a2. It copies them to
private storage before starting up, since they are in memory
which will be overlaid by dynamic memory allocation. All of the
NVRAM and temporary environment variables are passed via envp.
IRIX looks for root= on the command line (in argv) first, and then
in the environment, before falling back on a default. linux could
do the same.
next prev parent reply other threads:[~1998-07-20 16:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-18 8:47 [Q] How to reboot automatically? Francis M. J. Hsieh
[not found] ` <19980719041810.G489@uni-koblenz.de>
1998-07-19 20:18 ` Francis M. J. Hsieh
1998-07-19 21:20 ` ralf
1998-07-20 12:25 ` Francis M. J. Hsieh
1998-07-20 16:10 ` William J. Earl [this message]
1998-07-20 18:32 ` ralf
1998-07-20 18:43 ` William J. Earl
1998-07-20 19:11 ` ralf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199807201610.JAA28042@fir.engr.sgi.com \
--to=wje@fir.engr.sgi.com \
--cc=linux%cthulhu.engr.sgi.com@ms21.hinet.net \
--cc=mjhsieh@helix.life.nthu.edu.tw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox