* SRM unplugged
@ 1998-10-05 4:57 B. James Phillippe
1998-10-05 5:56 ` Craig P Prescott
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: B. James Phillippe @ 1998-10-05 4:57 UTC (permalink / raw)
To: RedHat AXP list
Hello folks,
Does anyone know where I can get more information on the SRM
console? I have the HOWTO and my AlphaStation 200 user's manual. But,
there are lots of things I'd like to learn more about. There are many
environment variables that I can't find documentation for. I'd also like
to know if there is a way to paginate the information (or scroll back) that
it prints out. Anyway, if anyone knows of a place with more information,
I'd really like to know.
thanks,
-bp
--
B. James Phillippe . bryan@terran.org
UNIX Software Engineer . http://www.terran.org/~bryan
Member since 1.1.59 . finger:bryan@earth.terran.org
MOTM: Waiting for the DSL to go in :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SRM unplugged
1998-10-05 4:57 SRM unplugged B. James Phillippe
@ 1998-10-05 5:56 ` Craig P Prescott
1998-10-05 12:51 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Craig P Prescott @ 1998-10-05 5:56 UTC (permalink / raw)
To: axp-list
>> "bp" == B James Phillippe <bryan@terran.org> writes:
> Hello folks,
> Does anyone know where I can get more information on
> the SRM console? I have the HOWTO and my AlphaStation 200
> user's manual. But, there are lots of things I'd like to
> learn more about. There are many environment variables that I
> can't find documentation for. I'd also like to know if there
> is a way to paginate the information (or scroll back) that it
> prints out. Anyway, if anyone knows of a place with more
> information, I'd really like to know.
Howdy;
Have you seen
http://ftp.digital.com/pub/Digital/info/semiconductor/literature/srmcons.pdf
I know what you mean about pagination - someone told me you can pipe
stuff into more in SRM, but that didn't work on my AS200.
Hope it helps,
Craig
---
Craig P Prescott (352) 846-3145 (Phone)
2011 New Physics Building (352) 392-8863 (Fax)
University of Florida, Gainesville, FL 32611 prescott@phys.ufl.edu
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SRM unplugged
1998-10-05 4:57 SRM unplugged B. James Phillippe
1998-10-05 5:56 ` Craig P Prescott
@ 1998-10-05 12:51 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-05 16:08 ` Jay.Estabrook
1998-10-08 13:05 ` Maciej W. Rozycki
3 siblings, 0 replies; 5+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-10-05 12:51 UTC (permalink / raw)
To: axp-list
>>>>> "BJP" == B James Phillippe <bryan@terran.org> writes:
BJP> Hello folks, Does anyone know where I can get more
BJP> information on the SRM console?
Here's some information I compiled regarding SRM. Note that I have
an old version of the firmware (the 3.7 firmware CD, SRM v6.2); more
recent versions of the monitor software have a few more features (such
as pagination).
(This is in TeXinfo format. I started writing a FAQ a while back.)
@section Using Digital's System Resources Monitor
The System Resources Monitor (SRM) is the O/S loader for OpenVMS,
Digital UNIX, NetBSD, and OpenBSD on the Alpha. Linux can also be
booted from SRM and uses the UNIX (OSF) PALcode when doing so.
@menu
* Installing SRM:: Installing or upgrading the firmware.
* SRM Commands:: Commonly used commands.
* SRM Variables:: Useful environment variables.
* The Raw Boot Loader:: Using the kernel's `raw' bootstrap program.
* Using Aboot:: Aboot is more advanced than the `raw' loader.
* Netbooting Linux:: Bootstrapping Linux across a network.
@end menu
@node Installing SRM, SRM Commands, Using SRM, Using SRM
@subsection Installing SRM
If SRM is not installed on your machine and you want to use it, or if
you need to upgrade your version of SRM (I hear version 6.3 is
especially problematic), you'll need to get a copy of the latest
firmware and install it on your machine. The easiest way to go about
doing this is to order the Alpha Systems Firmware Update CD-ROM (part
number QZ003AA-E8). You can also download firmware updates off the
@uref{http://ftp.digital.com/pub/Digital/Alpha/firmware/readme.html,Internet}.
(Be certain to read through at least the first chapter of the firmware
release notes. On certain systems, e.g. the AlphaStation 400, you
cannot install SRM from ARC; you must already have SRM installed. Your
release notes will tell you if this is the case. It may also be that
the firmware update process is different on your system.)
If you have the firmware update CD, insert it into the CD-ROM drive. If
you already have SRM and are trying to upgrade, to start the update
program enter the command @samp{BOOT @var{cdrom-drive}} at the SRM
prompt and hit @key{RET}, replacing @var{cdrom-drive} with the
appropriate device name. E.g. if your CD-ROM drive is SCSI device 5,
you would enter the command @samp{BOOT DKA5}. SRM will proceed to load
the firmware update program. To start the update program from ARC or
AlphaBIOS, restart the system. From the main boot menu select
``Supplementary menu'', then ``Install new firmware''. ARC or AlphaBIOS
will proceed to load the firmware update program.
Once the firmware update program is loaded, do the following to install
or update SRM:
@enumerate
@item Page through the README file or bypass it by typing @kbd{Ctrl-C}.
At the end you will be prompted for the name of the firmware update
image you wish to install. You can hit @key{RET} to use the default
firmware update program.
@item Within the firmware update program, type @samp{UPDATE SRM} and hit
@key{RET}.
@item Now type @samp{VERIFY SRM} and hit @key{RET} to make certain the
firmware was flashed correctly.
@item Finally, type @samp{QUIT} and hit @key{RET} to exit the update
program.
@item You @emph{MUST} power the computer down.
@end enumerate
When you bring the system back up, it should start the new version of
SRM.
If your system comes with both ARC and SRM installed (e.g. the UDB, also
known as the Multia), or if the newly updated system starts in ARC
instead of SRM, you can switch from ARC to SRM in ARC's setup menu.
From the main boot menu select ``Supplementary menu'', then ``Set up the
system'', and finally ``Switch to Digital UNIX or OpenVMS console''.
When you hardware reset (or power down) your system, SRM will come up.
To switch back to ARC from SRM, type @samp{SET OS_TYPE NT} and hit
@key{RET} at the SRM prompt. When switching between ARC and SRM, you
may have problems with your system clock. (@xref{Date Problems}.)
@node SRM Commands, SRM Variables, Installing SRM, Using SRM
@subsection SRM Commands
@table @samp
@item BOOT @var{device} [-FILE @var{filename}] [-FLAGS @var{options}]
This is the all important boot command. At the very least you must
specify the @var{device} to boot from (a list of possible boot devices
is given with the @samp{SHOW DEVICE} command). If you are using the
aboot loader, you must specify the @var{filename}, which would be of the
form @var{partition-number}/@var{image-pathname}@footnote{The
partition-number is unnecessary when booting from floppy disk or
CD-ROM.}, e.g. if the fourth partition on the 0th SCSI disk is the root
file system, you would use the command @samp{BOOT DKA0 -FILE
4/vmlinux.gz}. If you are using the raw boot loader, the @samp{-FILE}
option may safely be omitted.
Specifying kernel options is slightly more complicated. Because Linux
uses strings for boot options, you must enclose @var{options} in
double-quotes, e.g. to specify the root file system to be
@file{/dev/sda4} in the above boot command, you would use the command
@samp{BOOT DKA0 -FILE 4/vmlinux.gz -FLAGS "root=/dev/sda4"}, or to boot
this same system in single-user mode, use @samp{BOOT DKA0 -FILE
4/vmlinux.gz -FLAGS "root=/dev/sda4 single"}.
The SRM console on the Jensen will only allow 8 or 16 characters maximum
in the option string, depending on boot mode.
@file{linux/arch/alpha/kernel/setup.c} specifies the magic option
@samp{INSTALL} (case is significant), which translates to
@samp{root=/dev/fd0 load_ramdisk=1}.
@item CLEAR @var{variable}
This command erases @var{variable} from the environment. @xref{SRM
Variables}, for an incomplete list of environment variables.
@item CLEAR PASSWORD
This command clears the console password. (You will be prompted for the
console password.)
@item DATE
@itemx DATE @var{yyyymmddhhmm.ss}
Show system date and time. With optional argument, set the system
clock.
@item ICONFIG
This is the menu interface to the @samp{ISACFG} command. Use this to
show and set ISA device configuration data.
@item INIT
This restarts SRM, resetting the hardware.
@item LOGIN
If the console is secure, you must log in before you can execute any
other command. @samp{LOGIN} will prompt you for the console password
and unlock the console for you.
@item SET @var{variable} @var{value}
Set @var{variable} to @var{value} in the environment. @xref{SRM
Variables}, for an incomplete list of environment variables.
@item SET PASSWORD
This command sets the console password. The password must be a minimum
of 15 characters and a maximum of 30.
@item SHOW
@itemx SHOW @var{variable}
Without an argument, lists all the environment variables and their
values. You can pause (resume) the display by typing @kbd{Ctrl-S}
(@kbd{Ctrl-Q}).
With an argument, lists @var{variable} and its value (if any). You may
use wild cards here, e.g. @samp{SHOW boot*} will list names and the
values of all the variables whose names start with ``boot''.
@xref{SRM Variables}, for an incomplete list of environment variables.
@item SHOW CONFIG
This gives a complete listing of the system configuration, including all
PCI and configured ISA devices, firmware and PALcode revisions, the
hardware memory configuration, and connected SCSI devices.
@item SHOW DEVICE
This lists all present bootable devices.
@item SHOW MEMORY
This lists the hardware memory configuration.
@item SHOW PAL
This displays the PALcode version numbers.
@item SHOW VERSION
This displays the SRM version number.
@end table
@node SRM Variables, The Raw Boot Loader, SRM Commands, Using SRM
@subsection SRM Variables
SRM environment variables are set with the @samp{SET} command, displayed
with the @samp{SHOW} command, and erased with the @samp{CLEAR} command.
@xref{SRM Commands}, for more details.
@table @asis
@item AUTO_ACTION
This specifies what behavior to take when the system is powered on or
the operating system reboots. This may be set to one of @samp{BOOT},
@samp{HALT}, or @samp{RESET}. Setting this to @samp{BOOT} causes the
system to boot using the default settings at power-on or hardware-reset.
Setting this to @samp{HALT} causes the system to display the prompt
instead. I don't know what @samp{RESET} does. On my system, this is
set to @samp{BOOT}.
@item BOOTDEF_DEV
This specifies the default boot device. Eventually, you will want to
set this to the ID of the drive with the root file system on it. On my
system, the root file system is on the 1st SCSI disk, so I've set
BOOTDEF_DEV to @samp{DKA1}.
@item BOOT_FILE
This specifies the default boot filename. Eventually, you will want to
set this to the kernel name, which follows the conventions outlined for
the @samp{BOOT} command in @ref{SRM Commands}. On my system, I'm using
aboot, partition 4 is the root file system, the kernel is installed as
@file{/vmlinux.gz}, so I've set BOOT_FILE to @samp{4/vmlinux.gz}.
@item BOOT_OSFLAGS
This specifies the default boot flags. Setting this variable also
follows the conventions for the @samp{BOOT} command as specified in
@ref{SRM Commands}. On my system, I pass the @samp{root} option to the
kernel, so I've set this to @samp{"root=/dev/sdb4"}.
@item BOOT_RESET
I'm not really certain about what this does or how it interacts with
the AUTO_ACTION variable. It only has two values, @samp{ON} and
@samp{OFF}, and is set to @samp{ON} on my system.
@item CONSOLE
This specifies which device is the system console. @samp{GRAPHICS}
instructs SRM to use the video display and keyboard; @samp{SERIAL}
directs it to use the first serial port. If a keyboard is not connected
or a graphics display is not detected, SRM automatically temporarily
switches the console to the first serial port. This is set to
@samp{GRAPHICS} on my system.
@item EWA0_ARP_TRIES
This specifies how many times to attempt a RARP-style address lookup
before hard failing. This is set to @samp{3} on my system. SRM is
capable of booting from the network, and I imagine that Ethernet's
Address Resolution Protocol and the Reverse Address Resolution Protocol
are used to obtain the Internet address of the host and of the BOOTP (or
MOP) server.
@item EWA0_MODE
This specifies which Ethernet connector to use. Valid settings are
@samp{Twisted-Pair}, @samp{Full Duplex, Twisted-Pair}, @samp{AUI},
@samp{BNC}, @samp{Fast}, @samp{FastFD} (full duplex), and
@samp{Auto-Negotiate}. I've set this to @samp{Twisted-Pair} on my
system; the default is @samp{Auto-Negotiate}.
@item EWA0_PROTOCOLS
This specifies which protocol to use when attempting to boot from the
network. @samp{MOP} and @samp{BOOTP} are available. I describe booting
via MOP in @ref{Netbooting Linux}. This is set to @samp{MOP} on my
system, although I do not (and never have) boot my Alpha from the
network.
@item OS_TYPE
This specifies the default operating system type. If you are booting
Linux or MILO through SRM, this needs to be set to either @samp{UNIX} or
@samp{OSF} (although it probably doesn't matter, I guess). If you are
using ARC to start MILO (and then Linux), this needs to be set to
@samp{NT}. Other valid settings for this variable are @samp{VMS} and
@samp{OpenVMS}. This is set to @samp{UNIX} on my system (as I use SRM
to boot Linux).
@end table
--
Rev. Dr. Xenophon Fenderson, the Carbon(d)ated, KSC, DEATH, SubGenius, mhm21x16
Pope, Patron Saint of All Things Plastic fnord, and Salted Litter of r.g.s.b
"Abraham came not to sacrifice, but to know once and for all whether this God
was a god to be trusted and obeyed. No other test would do." (Fall of Hyperion)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SRM unplugged
1998-10-05 4:57 SRM unplugged B. James Phillippe
1998-10-05 5:56 ` Craig P Prescott
1998-10-05 12:51 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
@ 1998-10-05 16:08 ` Jay.Estabrook
1998-10-08 13:05 ` Maciej W. Rozycki
3 siblings, 0 replies; 5+ messages in thread
From: Jay.Estabrook @ 1998-10-05 16:08 UTC (permalink / raw)
To: axp-list
>>> "B. James Phillippe" said:
> I'd also like
> to know if there is a way to paginate the information (or scroll back) that
> it prints out.
Most of the recent SRM FW upgrades support things like "show | more" and
do the right thing. I don't know for sure if this is true on AS200, but on
LX and SX and such, it is...
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corporation (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SRM unplugged
1998-10-05 4:57 SRM unplugged B. James Phillippe
` (2 preceding siblings ...)
1998-10-05 16:08 ` Jay.Estabrook
@ 1998-10-08 13:05 ` Maciej W. Rozycki
3 siblings, 0 replies; 5+ messages in thread
From: Maciej W. Rozycki @ 1998-10-08 13:05 UTC (permalink / raw)
To: RedHat AXP list
On Sun, 4 Oct 1998, B. James Phillippe wrote:
> I'd also like
> to know if there is a way to paginate the information (or scroll back) that
> it prints out.
I got used to Ctrl+S and Ctrl+Q. Or a serial console.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-10-08 13:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-05 4:57 SRM unplugged B. James Phillippe
1998-10-05 5:56 ` Craig P Prescott
1998-10-05 12:51 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-10-05 16:08 ` Jay.Estabrook
1998-10-08 13:05 ` Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox