From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id BEC802F065 for ; Sun, 12 Nov 2000 17:38:19 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eACMcJ930260 for axp-list@listman.redhat.com; Sun, 12 Nov 2000 17:38:19 -0500 Received: from falstaff.isc-net.upenn.edu (FALSTAFF.ISC-NET.UPENN.EDU [130.91.72.121]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eACMcJD30256 for ; Sun, 12 Nov 2000 17:38:19 -0500 Received: (from magill@localhost) by falstaff.isc-net.upenn.edu (8.11.1/8.10.1) id eACMcE915317; Sun, 12 Nov 2000 17:38:14 -0500 (EST) Date: Sun, 12 Nov 2000 17:38:14 -0500 (EST) From: "William H. Magill" Message-Id: <200011122238.eACMcE915317@falstaff.isc-net.upenn.edu> To: axp-list@redhat.com Subject: Re: volatile SRM variables X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors > 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 ; 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/