Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* MILO on Multia: environment corruption?
@ 1996-05-11 10:13 Dan Egnor
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Egnor @ 1996-05-11 10:13 UTC (permalink / raw)


Hello,

We've just got our new UDB (aka Multia) system in.  It came with Linux
preinstalled, but we've been trying to set up MILO etc. to our liking.

After some difficulties, we have Linux 1.3.100 booting from MILO 1.3.95
(built with Linux 1.3.100).  As per various recommendations we're using
the ARC firmware installed on our system.

However, MILO's environment variables appear to be corrupted by the ARC
firmware's settings and vice versa.  In particular, when we run the MILO
"resetenv" command, the variables are cleared but the next time ARC is
booted it complains about corrupted NVRAM and all the settings must be
reset.  After doing so, MILO once again complains about uninitialized
environment variables and (distressingly) a "printenv" in MILO spews a
bunch of corrupted text that resembles the ARC console's settings.  Adding
more environment variables in MILO once more confuses ARC...

It seems to us like MILO and ARC are both trying to use the same area of
NVRAM for settings, but incompatibly.  Yet I seem to remember that when we
first got the system it booted without any problems, so I suspect we're
doing something wrong.  What could it be?  Are there bugs in the latest
versions of MILO (or even the Linux kernel)?

We can boot the kernel successfully -- it's just the environment that's
messed up -- so we're doing _something_ right.

A similar problem seems to happen with the SRM console, though the SRM is
scary and difficult to comprehend.

Any ideas?

Dan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: MILO on Multia: environment corruption?
@ 1996-05-13  9:39 Ka'plaagh 13-May-1996 1037 +0100
  0 siblings, 0 replies; 4+ messages in thread
From: Ka'plaagh 13-May-1996 1037 +0100 @ 1996-05-13  9:39 UTC (permalink / raw)


I should add a warning somewhere about this.  The bottom line is that
Milo environment variables are not supported on the UDB right now.  So,
why are the "env" commands there?  Well, technically, there is no
difference between a UDB and a Noname - the environment commands are for
the Noname when Milo has been blown into flash.   The solution may be to
use a part of the NVRAM for Milo that is not being used by WNT, if I could
work out just where that is...

Dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: MILO on Multia: environment corruption?
       [not found] <axp-list.199605130939.LAA17331@vbormc.vbo.dec.com>
@ 1996-05-13 18:48 ` Dan Egnor
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Egnor @ 1996-05-13 18:48 UTC (permalink / raw)


In article <axp-list.199605130939.LAA17331@vbormc.vbo.dec.com>, you wrote:

>I should add a warning somewhere about this.  The bottom line is that
>Milo environment variables are not supported on the UDB right now.  So,
>why are the "env" commands there?  Well, technically, there is no
>difference between a UDB and a Noname - the environment commands are for
>the Noname when Milo has been blown into flash.   The solution may be to
>use a part of the NVRAM for Milo that is not being used by WNT, if I could
>work out just where that is...

Thanks for the info!

Is there any chance of getting MILO to load into flash on the UDB?
Playing with the SRM console, it appears that flash is divided into
three banks of 256K each; as it came, ARC was loaded into one of them,
SRM into the other two.

One can write into the flash ROM from the SRM, but ....

Both ARC and SRM appear to use the NVRAM in a similar way (I've seen the
same "marker" show up in both).  Perhaps there's some sort of standard
for allocation?

Anyway, thanks again, we'll stop trying to use the environment.  :)

Dan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MILO on Multia: environment corruption?
       [not found] <4n1p86$t3m@gap.cco.caltech.edu>
@ 1996-05-13 23:30 ` Stephen C. Tweedie
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen C. Tweedie @ 1996-05-13 23:30 UTC (permalink / raw)


Hi,

On 11 May 1996 10:13:26 GMT, egnor@ugcs.caltech.edu (Dan Egnor) said:

> Hello,
> We've just got our new UDB (aka Multia) system in.  It came with Linux
> preinstalled, but we've been trying to set up MILO etc. to our liking.

> After some difficulties, we have Linux 1.3.100 booting from MILO 1.3.95
> (built with Linux 1.3.100).  As per various recommendations we're using
> the ARC firmware installed on our system.

Good choice.

> However, MILO's environment variables appear to be corrupted by the ARC
> firmware's settings and vice versa.  In particular, when we run the MILO
> "resetenv" command, the variables are cleared but the next time ARC is
> booted it complains about corrupted NVRAM and all the settings must be
> reset.

Yes.  This is no problem on some of the other AXP platforms where
separate nvram areas are available, but on the Multia, MILO and the
ARC can't both use the same space for their environment variables
without getting each other hopelessly confused.  I think that the MILO
vars are really only useful if you burn MILO into flash and don't
bother with the ARC.

> It seems to us like MILO and ARC are both trying to use the same area of
> NVRAM for settings, but incompatibly.

Precisely. :(

> Any ideas?

Sure.  Avoid using MILO environment variables.

Fortunately, you can make it work quite well without using MILO vars.
If you set up an environment variable OSLOADOPTIONS in the ARC boot
option for MILO, then that variable's contents will be executed as a
command line by MILO when it starts up.  I've set mine to contain the
value "boot sda2:vmlinux.gz", so that the ARC autoboot will also
autolaunch MILO's boot cycle and get linux running without any
operator intervention.  Which is just as well, since the machine is
currently running headless...

Check the docs, all this is from memory -- I may have misspelled the
options, but the technique itself should work.

Cheers,
 Stephen.

--
Stephen Tweedie <sct@dcs.ed.ac.uk>
Department of Computer Science, Edinburgh University, Scotland.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-05-13 23:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <axp-list.199605130939.LAA17331@vbormc.vbo.dec.com>
1996-05-13 18:48 ` MILO on Multia: environment corruption? Dan Egnor
     [not found] <4n1p86$t3m@gap.cco.caltech.edu>
1996-05-13 23:30 ` Stephen C. Tweedie
1996-05-13  9:39 Ka'plaagh 13-May-1996 1037 +0100
  -- strict thread matches above, loose matches on Subject: below --
1996-05-11 10:13 Dan Egnor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox