From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,f6ef233338fcf44b X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,f6ef233338fcf44b X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2003-12-16 14:56:00 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!public1-fare2-3-cust18.cosh.broadband.ntl.COM!not-for-mail From: "John Travell" Newsgroups: comp.os.vms,comp.sys.dec Subject: Re: BOOT, HALT, RESTART, 1, 2, 3 Date: Tue, 16 Dec 2003 22:55:23 -0000 Organization: Jomatech Message-ID: References: Reply-To: "John Travell" NNTP-Posting-Host: public1-fare2-3-cust18.cosh.broadband.ntl.com (80.0.117.18) X-Trace: news.uni-berlin.de 1071615358 5758847 80.0.117.18 ([120847]) X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.os.vms:7109 comp.sys.dec:17504 wrote in message news:brc672$2nap$1@news.xenopsyche.net... > Please reply to the group AND to me via email (for the reason, see > below). > > I'm a bit confused about BOOT, HALT and RESTART (or the equivalent > numbers 1, 2 and 3---somewhere I have a note of what corresponds to > what, but if anyone has the information handy, please post it in the > reply). HALT is clear: whenever the machine gets to the console prompt, > it stays there until one tells it to boot. BOOT, in my experience, > causes it to boot after the power is switched on. > > What does RESTART do? I have scanned through the other replies to this topic, and they are all incomplete. RESTART behaviour is defined in the architecture. Irrespective of the means it is set, whether switches or console variables, RESTART tells the console firmware on a VAX or the SRM on an Alpha (or Vax7000) to search memory for a valid Restart Parameter Block (RPB) every time there is either a powerup or uncontrolled entry into console mode. If a valid RPB is found, as may well be the case after certain pathological halts, the cpu will begin execution at the PC specified in the RPB. In current versions of VMS and with most (if not all) current hardware this will be for the sole purpose of taking a restart bugcheck. Events such as KRNLSTAKNV, DBLERR, INVPTBR and INVSCBB constitute such pathological halts. OPERCRASH does not. If a valid RPB is NOT found RESTART causes the fallback action of initiating a REBOOT. Clearly this will be the case on powerup for all machines without either memory battery backup or core memory :-) The last machine that I know for certain survived a total power failure and continued as if nothing had ever happened was a PDP11 with core memory. This would have been about 1982... Undoubtedly there have been many such situations since then, but none I have personally witnessed. Rebooting after a bugcheck is controlled by SYSGEN parameter BUGREBOOT, and is nothing to do with the console. -- John Travell Independent VMS crashdump analyst. john- at - jomatech - dot - com +44-(0)23-92552229 http://www.jomatech.com/ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.551 / Virus Database: 343 - Release Date: 11/12/2003