4-10
October, 1998
GRF 400/1600 Getting Started - 1.4 Update 2
Initial System Set-up
About GRF logs and dumps
Accessing a log file
To display the contents of a specific log file, change directory to
/var/log
and use the more
command to display the contents of a specific log file. To access output of grconsole log, use
this sequence of commands:
# cd /var/log
# more gr.console
Dumps
The GRF compresses dumps to save space, compressed files are appended with
.gz
.
Dumps provide specific information useful for monitoring and debugging GRF operations. If
you are working with Customer Support, they may ask for a system or media card dump. The
procedure to install a PCMCIA device for logging also specifies that dumps be sent to the
device.
System dump
If the GRF is reset or it panics, a dump is saved in the
/var/crash
directory under the naming
convention
bsdx.core
where
x
is the number of the dump, 1, 2, 3...and so on. A system
dump is usually too large to send by e-mail. Customer Support will tell you how to send it to
them.
The grsavecore command copies and formats information generated from a kernel panic as the
data is written to standard output. The formatted data is written to
grsavecore.out
in the
/var/crash
directory.
Media card dumps
The grdump program saves and manages media card dumps. By default, two dumps are saved
per day for each media card. Dumps are collected from media cards when they panic or when
they are reset by the system administrator using grreset -D (this command instructs the media
card to dump when it comes back up).
Media card dumps are stored in
/var/portcards
in a file named with the convention
grdump.n.x.gz
where
n
is the card slot number and
x
is the number of the saved dump, 1, 2,
3....
A media card dump is generally 4–8MB, and can sometimes be e-mailed. Customer Support
will tell you how to send it to them.
Panic dumps sent to external storage
The mountf and grdump commands enable the grdump program to work with an external
storage device to capture media card dumps.
When a media card panics and there is a formatted external flash device plugged into either
PCMCIA slot, a copy of the dump is automatically saved under the
portcards
directory of
the external flash.