Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "William H. Magill" <magill@mcgillsociety.org>
To: axp-list@redhat.com
Cc: damiendye@tiscali.co.uk
Subject: Re: Problems since moving to SRM
Date: Wed, 1 Jan 2003 14:58:40 -0500	[thread overview]
Message-ID: <6C6EC045-1DC3-11D7-8071-000393768D2C@mcgillsociety.org> (raw)
In-Reply-To: <000d01c2b1bb$ba4aa510$9c73063e@wiremaster>

[-- Attachment #1: Type: text/plain, Size: 834 bytes --]

On Wednesday, January 1, 2003, at 12:32 PM, Damien Dye wrote:
> I have taken the Christmas period to update my LX machines firmware to 
> SRM
> console instead of alpha bios, I have now got a few problems.
>
> 1) how do I make SRM autoboot from dqa0?

See: http://www.alphalinux.org/faq/srm.html

"Using the SRM console

The SRM console works very much like a Unix or OpenVMS shell. It views 
your NVRAM and devices as a pseudo-filesystem. You can see this if you 
use the ls command. Also, it contains a fairly large set of diagnostic, 
setup, and debugging utilities, the details of which are beyond the 
scope of this document. As in the Unix shell, you can pipe the output 
of one command to the input of another, and there is a more command 
that works not unlike the Unix one. To get a full listing of available 
commands, run:

[-- Attachment #2: Table.pdf --]
[-- Type: application/pdf, Size: 11106 bytes --]

[-- Attachment #3: Type: text/plain, Size: 872 bytes --]



As well, SRM has environment variables, a number of which are 
pre-defined and correspond to locations in NVRAM. You can view the 
entire list of environment variables and their values with the show 
command (there are quite a few of them, so you will probably want to 
pipe its output to more). You can also show variables matching a "glob" 
pattern - for example, show boot* will show all the variables starting 
in "boot".

Environment variables are categorized as either read-only, warm 
non-volatile, or cold non-volatile. The full listing of pre-defined 
variables is detailed in the Alpha Architecture Reference Manual. The 
most useful pre-defined environment variables for the purposes of 
booting Linux are bootdef_dev, boot_file, boot_flags, and auto_action, 
all of which are cold non-volatile.

To set environment variables, use the set command, like this:

[-- Attachment #4: Table.pdf --]
[-- Type: application/pdf, Size: 11982 bytes --]

[-- Attachment #5: Type: text/plain, Size: 1189 bytes --]



If you set an undefined variable, it will be created for you, however 
it will not persist across reboots.

The bootdef_dev variable specifies the device (using VMS naming 
conventions - see the section called Device Naming for an explanation 
of these) which will be booted from if no device is specified on the 
boot command line, or in an automatic boot. The boot_file variable 
contains the filename to be loaded by the secondary bootloader, while 
boot_flags contains any extra flags. auto_action specifies the action 
which the console should take on power-up. By default, it is set to 
HALT, meaning that the machine will start up in the SRM console. Once 
you have configured your bootloader and the boot-related variables, you 
can set it to BOOT in order to boot automatically on power-up.

Finally, two helpful console keystrokes you should know are Control-C, 
which, as in the shell, halts a command in progress (such as an 
automatic boot), and Control-P, which if issued from the aboot prompt 
(or other secondary bootloader) will halt the bootloader and return you 
to the SRM console."


T.T.F.N.
William H. Magill
magill@mcgillsociety.org
magill@acm.org
magill@mac.com

  parent reply	other threads:[~2003-01-01 19:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-01 17:32 Problems since moving to SRM Damien Dye
2003-01-01 18:27 ` Maurice Hilarius
2003-01-01 18:52 ` Peter Petrakis
     [not found] ` <20030101113850.A4977@ellpspace.math.ualberta.ca>
2003-01-01 19:08   ` Damien Dye
2003-01-01 20:34     ` Alan Young
2003-01-01 19:58 ` Michael A. Foley
2003-01-01 19:58 ` William H. Magill [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-01 18:39 Robert M. Riches Jr.
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