From: "William H. Magill" <magill@isc.upenn.edu>
To: axp-list@redhat.com
Subject: Re: volatile SRM variables
Date: Sun, 12 Nov 2000 17:38:14 -0500 (EST) [thread overview]
Message-ID: <200011122238.eACMcE915317@falstaff.isc-net.upenn.edu> (raw)
> On Sat, Nov 11, 2000 at 04:58:37PM -0700, Maurice Hilarius wrote:
> >
> > >If it effect LX then it sounds like the problem originated at Compaq,
> > >however I don't think that's the case.
> > We have fielded 6 customer support calls on this topic in the last 60 days
> > on LX hardware.
>
> Please provide details:
>
> 1. what revs of the SRM console were being used
> 2. does updating to 5.8 firmware solve the problem
> 3. any particular circumstances
>
> Any rev prior to 5.8 will not be considered in bug reports.
>
> If there is a problem with 5.8, NOW is the time to fix it (5.9 is close).
>
> Note that PC164 firmware is no longer being updated, only LX and SX, of
> the EV56-based Digital Semi motherboards.
>
> If the problem appeared with the 5.6 PC164 SRM, perhaps backing off to
> the 5.5 would solve the problem?
I don't recall when it changed, but I know that with Tru64 5.1/SRM 5.8,
and 4.0d with 5.6 one can use the "consvar" command to manipulate many of
the SRM console variables. I say many, because it only claims to know
about a few when asked to list the variables.
That is to say, the SRM variables CAN be manipulated by the running
operating system.
In Tru64 that is done by the get/setsysinfo calls.
And the implication from the man page is that there is a copy of these
maintained in memory, which gets written out at sometime (other than when
consvar is issued) -- possibly when an orderly shutdown is invoked.
One might assume that Alpha Linux does/can do something similar.
[And there are some interesting comments in machine/prom.h about calls
which are broken! And if one believes the Modification history, the code
is unchanged since 1991 - but it does have a 2000 Compaq copyright notice,
in addition to the old Digital one.
And this interesting comment:
* synopsis: sets the in memory environment variable specified by
* varname to the value specified by the value parameter.
* The environment variable type is validated as one
* that Digital UNIX recognizes. Then an attempt is made
* to set the in memory copy of the console environment
* variable via SRM console callback. According to the
* SRM, the environment variable is not saved in NVR after
* this call.
implying that it is pretty easy to set the variable and then forget
to write it out.]
From the setsysinfo man page:
3. In the following example the setsysinfo operation SSI_PROM_ENV sets
the value of a named console environment variable:
#include <machine/prom.h>;
char evname[]="boot_dev";
char evval[]="/dev/rz0a"; /* or something like "tu0" */
int status;
status = setsysinfo(SSI_PROM_ENV,evval, strlen(evval)+1,
evname, PROM_CONVERT_TYPE;
--
www.tru64unix.compaq.com
www.tru64.org
comp.unix.tru64
T.T.F.N.
William H. Magill Senior Systems Administrator
Information Services and Computing (ISC) University of Pennsylvania
Internet: magill@isc.upenn.edu magill@acm.org
http://www.isc-net.upenn.edu/~magill/
next reply other threads:[~2000-11-12 22:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-12 22:38 William H. Magill [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-11-13 13:27 volatile SRM variables Jemiolo, John
2000-11-11 1:12 Robert Williams
2000-11-11 1:06 ` Matthew Jacob
2000-11-11 3:52 ` John Jasen
2000-11-11 15:11 ` Robert Williams
2000-11-11 17:33 ` John Jasen
2000-11-11 17:41 ` Rich Payne
2000-11-11 18:50 ` Maurice Hilarius
2000-11-11 19:00 ` Rich Payne
2000-11-11 19:15 ` Maurice Hilarius
2000-11-11 22:25 ` Rich Payne
2000-11-11 23:58 ` Maurice Hilarius
2000-11-12 15:33 ` Jay Estabrook
2000-11-12 6:27 ` Robert Williams
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox