Path: utzoo!utgpu!watmath!clyde!att!ucbvax!bloom-beacon!husc6!rice!sun-spots-request
From: rusty%garnet.Berkeley.EDU@violet.berkeley.edu
Newsgroups: comp.sys.sun
Subject: Ungraceful shutdowns
Message-ID: <8811170428.AA06500@garnet.berkeley.edu>
Date: 29 Nov 88 12:35:35 GMT
Sender: usenet@rice.edu
Organization: Rice University, Houston, Texas
Lines: 17
Approved: Sun-Spots@rice.edu
Original-Date: Wed, 16 Nov 88 20:28:16 pst
X-Sun-Spots-Digest: Volume 7, Issue 28, message 10 of 13

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.