Ungraceful shutdowns

rusty%garnet.Berkeley.EDU at violet.berkeley.edu rusty%garnet.Berkeley.EDU at violet.berkeley.edu
Tue Nov 29 22:35:35 AEST 1988


On a Sun 3 I find that the safest way to do an ungraceful shutdown is to
do an L1-A to get to the prom monitor and then give it the command g0.
This causes the system to

(1) panic ("panic: 0"),

(2) sync the disks,

(3) dump all of ram out to the disk for savecore to retrieve when the
system reboots,

(4) reboot.

Step 3 takes long enough that at that point you can do another L1-A to
prevent it from rebooting, and shut off the power.

I don't know what a g0 does on a Sun 4 or a Sun 2.



More information about the Comp.sys.sun mailing list