updmemcpu(8) (RM400 only) updmemcpu(8)
NAME
updmemcpu - reading and writing CPU and DIMM information
SYNOPSIS
/usr/bin/lar/updmemcpu [-w] [-R] [-p cpuno] [-c card] [-b bank]
[-d dimm] [-s state] [-h]
DESCRIPTION
updmemcpu is required to read or write LAR status information for the
CPU and storage DIMMs.
This information is stored in the NVMEM as well as in the HW_CONFIG
database. It is required so that
a) the firmware can exclude faulty components when the system starts
up (this is why the information is stored in the NVMEM).
b) the current configuration and status of the CPU and DIMM components
can be displayed when the system is running.
The two information sources, i.e. the NVMEM and HW_CONFIG, are syn-
chronized when the system boots and when serious errors occur.
If a status is modified or written (-w option), the values 0 (for
"OK") and 1 (for "defect") are permitted (-s option).
If updmemcpu is used as the read program (no -w option) for the
status, the values 0 (for "OK"), 1 (for "defect"), 2 (for "component
not available") and 3 (error indicator) are returned.
OPTIONS
No argument specified:
Updates HW_CONFIG to the latest status with the information from
the NVMEM.
-w Changes the contents of the NVMEM; the status is specified with
the -c, -p, -b, -d or -s options.
-w option not specified:
The status of the specified component is returned. Components are
specified with the -c, -p, -b or -d options.
-p cpuno
Specifies a CPU with the number cpuno. Permitted entries are in
the range 0-3.
-c card
Specifies a memory card with the number card. Permitted entries
are 1 or 2.
Page 1 Reliant UNIX 5.44 Printed 11/98
updmemcpu(8) (RM400 only) updmemcpu(8)
-b bank
Specifies a memory bank with the number bank. Permitted entries
are in the range 1-4.
-d dimm
Specifies a DIMM with the number dimm. Permitted entries are in
the range 1-8.
-s state
Specifies a status state to be set. Permitted entries are 0
("OK") or 1 ("defect").
-R Sets LAR mode to "No defects and no LAR mode".
-h Outputs the usage.
EXAMPLES
/usr/bin/lar/updmemcpu
Updates the HW_CONFIG database to the latest status with the
information from the NVMEM.
/usr/bin/lar/updmemcpu -p 3
Returns the status of the CPU with the number 3.
/usr/bin/lar/updmemcpu -w -c 1 -b 2 -d 3 -s 1
Sets the status in the NVMEM to "defect" for the DIMM with the
number 2.3 on the first memory card.
SEE ALSO
lar(7), olr(7).
Page 2 Reliant UNIX 5.44 Printed 11/98