* volatile SRM variables
@ 2000-11-11 1:12 Robert Williams
2000-11-11 1:06 ` Matthew Jacob
2000-11-11 3:52 ` John Jasen
0 siblings, 2 replies; 15+ messages in thread
From: Robert Williams @ 2000-11-11 1:12 UTC (permalink / raw)
To: axp-list
The boot variables under SRM, such as boot_dev,
appear to be volatile. Once set, they are reset to
the defaults when the system is shut down.
I've been reading all of the manuals...
Is there no way to make these settings persistent
across shutdowns?
--
Bob Williams, http://bob.usuf2.usuhs.mil/
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 1:12 volatile SRM variables Robert Williams
@ 2000-11-11 1:06 ` Matthew Jacob
2000-11-11 3:52 ` John Jasen
1 sibling, 0 replies; 15+ messages in thread
From: Matthew Jacob @ 2000-11-11 1:06 UTC (permalink / raw)
To: axp-list
bootdef_dev
is whhat you want
> The boot variables under SRM, such as boot_dev,
> appear to be volatile. Once set, they are reset to
> the defaults when the system is shut down.
> I've been reading all of the manuals...
> Is there no way to make these settings persistent
> across shutdowns?
>
> --
> Bob Williams, http://bob.usuf2.usuhs.mil/
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 1:12 volatile SRM variables Robert Williams
2000-11-11 1:06 ` Matthew Jacob
@ 2000-11-11 3:52 ` John Jasen
2000-11-11 15:11 ` Robert Williams
1 sibling, 1 reply; 15+ messages in thread
From: John Jasen @ 2000-11-11 3:52 UTC (permalink / raw)
To: axp-list
On Sat, 11 Nov 2000, Robert Williams wrote:
> The boot variables under SRM, such as boot_dev,
> appear to be volatile. Once set, they are reset to
> the defaults when the system is shut down.
> I've been reading all of the manuals...
> Is there no way to make these settings persistent
> across shutdowns?
boot_dev is volatile.
bootdef_dev is not.
boot_file and boot_osflags should remain consistent.
--
-- John E. Jasen (jjasen1@umbc.edu)
-- You can have it: right; cheap; now. Pick any two.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 3:52 ` John Jasen
@ 2000-11-11 15:11 ` Robert Williams
2000-11-11 17:33 ` John Jasen
0 siblings, 1 reply; 15+ messages in thread
From: Robert Williams @ 2000-11-11 15:11 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 982 bytes --]
On my PC164 systems, using the most recent SRM,
bootdef_dev, boot_file, and boot_osflags
are reset when the system is shut down and power is turned off.
Hmmm...Why should it behave this way when older SRMs
on my DEC 3000 provide a non-volatile bootdef_dev?
The battery is good.
John Jasen wrote:
> On Sat, 11 Nov 2000, Robert Williams wrote:
>
> > The boot variables under SRM, such as boot_dev,
> > appear to be volatile. Once set, they are reset to
> > the defaults when the system is shut down.
> > I've been reading all of the manuals...
> > Is there no way to make these settings persistent
> > across shutdowns?
>
> boot_dev is volatile.
>
> bootdef_dev is not.
Is there something else besides
"set bootdef_dev dqa0<cr>"
that makes it non-volatile?
It doesn't behave like my DEC 3000
SRM.
>
> boot_file and boot_osflags should remain consistent.
Yes. They should....and they do on my Tru64 machine
using a very old SRM.
--
Bob Williams, http://bob.usuf2.usuhs.mil/
[-- Attachment #2: Type: text/html, Size: 1260 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 15:11 ` Robert Williams
@ 2000-11-11 17:33 ` John Jasen
2000-11-11 17:41 ` Rich Payne
0 siblings, 1 reply; 15+ messages in thread
From: John Jasen @ 2000-11-11 17:33 UTC (permalink / raw)
To: axp-list
On Sat, 11 Nov 2000, Robert Williams wrote:
> On my PC164 systems, using the most recent SRM,
> bootdef_dev, boot_file, and boot_osflags
> are reset when the system is shut down and power is turned off.
> Hmmm...Why should it behave this way when older SRMs
> on my DEC 3000 provide a non-volatile bootdef_dev?
> The battery is good.
That sounds like a bug. Have you contacted API about it?
(SRM bugs are somewhat common ... API had a nasty one in their UP1100 SRM
for a while that ignored auto_action).
--
-- John E. Jasen (jjasen1@umbc.edu)
-- You can have it: right; cheap; now. Pick any two.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 17:33 ` John Jasen
@ 2000-11-11 17:41 ` Rich Payne
2000-11-11 18:50 ` Maurice Hilarius
0 siblings, 1 reply; 15+ messages in thread
From: Rich Payne @ 2000-11-11 17:41 UTC (permalink / raw)
To: axp-list
On Sat, 11 Nov 2000, John Jasen wrote:
> On Sat, 11 Nov 2000, Robert Williams wrote:
>
> > On my PC164 systems, using the most recent SRM,
> > bootdef_dev, boot_file, and boot_osflags
> > are reset when the system is shut down and power is turned off.
> > Hmmm...Why should it behave this way when older SRMs
> > on my DEC 3000 provide a non-volatile bootdef_dev?
> > The battery is good.
>
> That sounds like a bug. Have you contacted API about it?
Ummmm.....PC164 was a DEC product. This really doesn't sound right anyway,
the SRM vars are stored in the NVRAM....are there any right protect
jumpers on the motherboard? That's a long shot but I can't think what else
would be controlling that, unless there's some SRM var that says to only
change for this instance.
--rdp
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 17:41 ` Rich Payne
@ 2000-11-11 18:50 ` Maurice Hilarius
2000-11-11 19:00 ` Rich Payne
0 siblings, 1 reply; 15+ messages in thread
From: Maurice Hilarius @ 2000-11-11 18:50 UTC (permalink / raw)
To: axp-list
With regards to your message at 10:41 AM 11/11/00, Rich Payne. Where you
stated:
>On Sat, 11 Nov 2000, John Jasen wrote:
>
> > On Sat, 11 Nov 2000, Robert Williams wrote:
> >
> > > On my PC164 systems, using the most recent SRM,
> > > bootdef_dev, boot_file, and boot_osflags
> > > are reset when the system is shut down and power is turned off.
> > > Hmmm...Why should it behave this way when older SRMs
> > > on my DEC 3000 provide a non-volatile bootdef_dev?
> > > The battery is good.
> >
> > That sounds like a bug. Have you contacted API about it?
>
>Ummmm.....PC164 was a DEC product. This really doesn't sound right anyway,
>the SRM vars are stored in the NVRAM....are there any right protect
>jumpers on the motherboard? That's a long shot but I can't think what else
>would be controlling that, unless there's some SRM var that says to only
>change for this instance.
>
>--rdp
Similar behaviour has been observed on the UP1100.
If turned off at the wrong time during reboot ALL set variables are lost.
It has been reported.
With our best regards,
Maurice W. Hilarius Telephone: 01-780-456-9771
Hard Data Ltd. FAX: 01-780-456-9772
11060 - 166 Avenue mailto:maurice@harddata.com
Edmonton, AB, Canada http://www.harddata.com/
T5X 1Y3
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: volatile SRM variables
2000-11-11 18:50 ` Maurice Hilarius
@ 2000-11-11 19:00 ` Rich Payne
2000-11-11 19:15 ` Maurice Hilarius
0 siblings, 1 reply; 15+ messages in thread
From: Rich Payne @ 2000-11-11 19:00 UTC (permalink / raw)
To: axp-list
On Sat, 11 Nov 2000, Maurice Hilarius wrote:
> With regards to your message at 10:41 AM 11/11/00, Rich Payne. Where you
> stated:
> >On Sat, 11 Nov 2000, John Jasen wrote:
> >
> > > On Sat, 11 Nov 2000, Robert Williams wrote:
> > >
> > > > On my PC164 systems, using the most recent SRM,
> > > > bootdef_dev, boot_file, and boot_osflags
> > > > are reset when the system is shut down and power is turned off.
> > > > Hmmm...Why should it behave this way when older SRMs
> > > > on my DEC 3000 provide a non-volatile bootdef_dev?
> > > > The battery is good.
> > >
> > > That sounds like a bug. Have you contacted API about it?
> >
> >Ummmm.....PC164 was a DEC product. This really doesn't sound right anyway,
> >the SRM vars are stored in the NVRAM....are there any right protect
> >jumpers on the motherboard? That's a long shot but I can't think what else
> >would be controlling that, unless there's some SRM var that says to only
> >change for this instance.
> >
>
> Similar behaviour has been observed on the UP1100.
> If turned off at the wrong time during reboot ALL set variables are lost.
> It has been reported.
This is somthing different. The UP1100 problem only occurs if you power of
the board at a certain time, at any other time all the vars stay as
intended. This gentleman is saying that whenever he powers the board off
it goes back to defaults.
--rdp
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 19:00 ` Rich Payne
@ 2000-11-11 19:15 ` Maurice Hilarius
2000-11-11 22:25 ` Rich Payne
2000-11-12 6:27 ` Robert Williams
0 siblings, 2 replies; 15+ messages in thread
From: Maurice Hilarius @ 2000-11-11 19:15 UTC (permalink / raw)
To: axp-list
With regards to your message at 12:00 PM 11/11/00, Rich Payne. Where you
stated:
> > Similar behaviour has been observed on the UP1100.
> > If turned off at the wrong time during reboot ALL set variables are lost.
> > It has been reported.
>
>This is somthing different. The UP1100 problem only occurs if you power of
>the board at a certain time, at any other time all the vars stay as
>intended. This gentleman is saying that whenever he powers the board off
>it goes back to defaults.
>
>--rdp
Absolutely true.
However, what is common between these is the "most recent SRM".
We have observed similar behaviours, in 5.6.x SRM on various machines.
On LX, for example, the exact way to trigger the "forgetfullness" is not
precisely determined yet, but we have seen it occur on a few occasions.
I suspect there is an underlying common element in this problem, in current
SRM code, which affects a number ( if not all) of platforms.
If it is any consolation we have not seen this problem on UP2000 platform yet!
With our best regards,
Maurice W. Hilarius Telephone: 01-780-456-9771
Hard Data Ltd. FAX: 01-780-456-9772
11060 - 166 Avenue mailto:maurice@harddata.com
Edmonton, AB, Canada http://www.harddata.com/
T5X 1Y3
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: volatile SRM variables
2000-11-11 19:15 ` Maurice Hilarius
@ 2000-11-11 22:25 ` Rich Payne
2000-11-11 23:58 ` Maurice Hilarius
2000-11-12 6:27 ` Robert Williams
1 sibling, 1 reply; 15+ messages in thread
From: Rich Payne @ 2000-11-11 22:25 UTC (permalink / raw)
To: axp-list
On Sat, 11 Nov 2000, Maurice Hilarius wrote:
> With regards to your message at 12:00 PM 11/11/00, Rich Payne. Where you
> stated:
> > > Similar behaviour has been observed on the UP1100.
> > > If turned off at the wrong time during reboot ALL set variables are lost.
> > > It has been reported.
> >
> >This is somthing different. The UP1100 problem only occurs if you power of
> >the board at a certain time, at any other time all the vars stay as
> >intended. This gentleman is saying that whenever he powers the board off
> >it goes back to defaults.
> >
> >--rdp
> Absolutely true.
> However, what is common between these is the "most recent SRM".
> We have observed similar behaviours, in 5.6.x SRM on various machines.
> On LX, for example, the exact way to trigger the "forgetfullness" is not
> precisely determined yet, but we have seen it occur on a few occasions.
> I suspect there is an underlying common element in this problem, in current
> SRM code, which affects a number ( if not all) of platforms.
> If it is any consolation we have not seen this problem on UP2000 platform yet!
Well, FWIW we could not get the 5.6-9 build of UP1100 SRM to do this,
only the 5.6-11. Which probably means it's a bug that SEC introduced
between the two (that could in some way be related to the fixing of the
auto_action problem, though that's just speculation on my part).
If it effect LX then it sounds like the problem originated at Compaq,
however I don't think that's the case.
--rdp
>
> With our best regards,
>
> Maurice W. Hilarius Telephone: 01-780-456-9771
> Hard Data Ltd. FAX: 01-780-456-9772
> 11060 - 166 Avenue mailto:maurice@harddata.com
> Edmonton, AB, Canada http://www.harddata.com/
> T5X 1Y3
>
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
>
--
Rich Payne
rpayne@alphalinux.org www.alphalinux.org
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 22:25 ` Rich Payne
@ 2000-11-11 23:58 ` Maurice Hilarius
2000-11-12 15:33 ` Jay Estabrook
0 siblings, 1 reply; 15+ messages in thread
From: Maurice Hilarius @ 2000-11-11 23:58 UTC (permalink / raw)
To: axp-list
With regards to your message at 03:25 PM 11/11/00, Rich Payne. Where you
stated:
>Well, FWIW we could not get the 5.6-9 build of UP1100 SRM to do this,
>only the 5.6-11. Which probably means it's a bug that SEC introduced
>between the two (that could in some way be related to the fixing of the
>auto_action problem, though that's just speculation on my part).
We could. However as we are now updated to .11 this is irrelevant.
>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.
With our best regards,
Maurice W. Hilarius Telephone: 01-780-456-9771
Hard Data Ltd. FAX: 01-780-456-9772
11060 - 166 Avenue mailto:maurice@harddata.com
Edmonton, AB, Canada http://www.harddata.com/
T5X 1Y3
^ permalink raw reply [flat|nested] 15+ messages in thread* Re: volatile SRM variables
2000-11-11 23:58 ` Maurice Hilarius
@ 2000-11-12 15:33 ` Jay Estabrook
0 siblings, 0 replies; 15+ messages in thread
From: Jay Estabrook @ 2000-11-12 15:33 UTC (permalink / raw)
To: axp-list
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?
Good luck.
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
2000-11-11 19:15 ` Maurice Hilarius
2000-11-11 22:25 ` Rich Payne
@ 2000-11-12 6:27 ` Robert Williams
1 sibling, 0 replies; 15+ messages in thread
From: Robert Williams @ 2000-11-12 6:27 UTC (permalink / raw)
To: axp-list
[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]
Maurice Hilarius wrote:
> With regards to your message at 12:00 PM 11/11/00, Rich Payne. Where you
> stated:
> >This gentleman is saying that whenever he powers the board off
> >it goes back to defaults.
I've performed a series of experiments and here are the results:
(The latest SRM for AlphaPC164 is 5.5-1...)
If the system is powered down after setting the boot
variables (without booting) those variables remain
set when the machine is powered up later.
However, those variables are reset to default when
the machine is allowed to boot to Linux, followed
by a "shutdown -h now" and a power down.
The variables remain set to the values I set them to
after the halt, but are reset to default following
the power down.
Put simply: The boot variables become volatile after
the machine boots to Linux. The boot variables appear
to be non-volatile as long as the machine is not booted.
BOOT_RESET..? I can't find it documented in the
"Alpha SRM Consol for Alpha Microprocessor
Evaluation Boards" manual. Anyone?
--
Bob Williams, http://bob.usuf2.usuhs.mil/
[-- Attachment #2: Type: text/html, Size: 1351 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: volatile SRM variables
@ 2000-11-12 22:38 William H. Magill
0 siblings, 0 replies; 15+ messages in thread
From: William H. Magill @ 2000-11-12 22:38 UTC (permalink / raw)
To: axp-list
> 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/
^ permalink raw reply [flat|nested] 15+ messages in thread* RE: volatile SRM variables
@ 2000-11-13 13:27 Jemiolo, John
0 siblings, 0 replies; 15+ messages in thread
From: Jemiolo, John @ 2000-11-13 13:27 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Could these problems have something to do with the fact that the memory
resident SRM code is relocated to upper memory by Linux when it starts, then
restored to lower memory when it shuts down???
JJ
-----Original Message-----
From: Robert Williams [mailto:bob@bob.usuhs.mil]
Sent: Sunday, November 12, 2000 1:27 AM
To: axp-list@redhat.com
Subject: Re: volatile SRM variables
Maurice Hilarius wrote:
With regards to your message at 12:00 PM 11/11/00, Rich Payne. Where you
stated:
>This gentleman is saying that whenever he powers the board off
>it goes back to defaults.
I've performed a series of experiments and here are the results:
(The latest SRM for AlphaPC164 is 5.5-1...)
If the system is powered down after setting the boot
variables (without booting) those variables remain
set when the machine is powered up later.
However, those variables are reset to default when
the machine is allowed to boot to Linux, followed
by a "shutdown -h now" and a power down.
The variables remain set to the values I set them to
after the halt, but are reset to default following
the power down.
Put simply: The boot variables become volatile after
the machine boots to Linux. The boot variables appear
to be non-volatile as long as the machine is not booted.
BOOT_RESET..? I can't find it documented in the
"Alpha SRM Consol for Alpha Microprocessor
Evaluation Boards" manual. Anyone?
--
Bob Williams, http://bob.usuf2.usuhs.mil/ <http://bob.usuf2.usuhs.mil/>
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2000-11-13 14:36 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-11 1:12 volatile SRM variables 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
-- strict thread matches above, loose matches on Subject: below --
2000-11-12 22:38 William H. Magill
2000-11-13 13:27 Jemiolo, John
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox