|
|
To recover from a system panic:
Boot:
prompt to reboot the system.
The following illustrates how to save the dump to tape. This example uses /dev/rct0, but using /dev/rctmini works well if you have such a device on your system.
There may be a system dump memory image in the swap device. Do you want to save it? (y/n)We strongly recommend that you use tapes rather than floppy disks to save system dump images. The typical SCO OpenServer system has many megabytes of memory, so it takes several floppy disks to save a single image. Problems can arise if you do not have enough floppy disks, or if you insert them in the wrong order. You can run crash(ADM) on the dump from the dumpdev device, or reboot the system and copy this data to disk for study. See ``Examining a memory dump with crash(ADM)''.y
Use Floppy Drive 0 (/dev/rfd0) by default Press ENTER to use default device. Enter valid Floppy Drive number to use if different. Enter "t" to use tape. >
t
Enter choice of tape drive : 1 - /dev/rct0 2 - /dev/rctmini n - no, QUIT >
1
Insert tape cartridge and press return, or enter q to quit. > <insert tape
Wait. dd if=/dev/swap of=/dev/rct0 bs=120b count=751 skip=0
Done. Use /etc/ldsysdump to copy dump from tape or diskettes Press return to continue >
When it panics,
the system writes the kernel image to the
dumpdev device,
which is usually the same as the swap device.
The data will be overwritten
as soon as any paging occurs on the system.
See
``Defining the default dump device''
for more information.
#cd /tmp
#ldsysdump 06May94
Use Floppy Drive 0 (/dev/rfd0) by default. Press ENTER to use the default. Enter valid Floppy Drive number to use if different than default. Enter "t" to use tape drive. >
t
Enter choice of tape drive: 1 - /dev/rct0 2 - /dev/rctmini n - no, QUIT >
1
Insert tape cartridge and press return, or enter q to quit. >
Wait. dd if=/dev/rct0 bs=120b count=751
System dump copied into image. Use crash(ADM) to analyze the dump.