From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 1164f8,4342b58d0d342d9f X-Google-Attributes: gid1164f8,public From: Derek Konigsberg Subject: Re: Booting the VAX 8530 Date: 2000/04/26 Message-ID: <39073D71.771C31C3@rpi.edu> X-Deja-AN: 616061340 Content-Transfer-Encoding: 8bit References: <3905DD02.84461351@rpi.edu> <8e4s9e$5gl$1@mailint03.im.hou.compaq.com> <39060608.90A145E@rpi.edu> <8e77i7$pev$1@mailint03.im.hou.compaq.com> X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: Rensselaer Polytechnic Institute, Troy NY, USA Mime-Version: 1.0 Newsgroups: comp.sys.dec Hoff, Thanks for the info. I'll use it as a guide when I go hacking around the console later today. What I really meant by "dummy files" in the [8700], [8800], etc. directories is that all of those dirs ONLY contain 1 file, it is called DUMMY, and has a size of 0. A fresh console distribution would probably be a very nice thing to have, actually. Any idea where we can get one? -Derek Hoff Hoffman wrote: > In article <39060608.90A145E@rpi.edu>, Derek Konigsberg writes: > : The console's drive does have all those machine-specific directories you > :mentioned, but they don't appear to contain anything of value (just "dummy" > :files) unfortunately. > > Define "dummy". There's not really much included in any of the bootstrap > files -- just set up a few registers, load the VMB image, and transfer > control to it. Or -- in the case of DEFBOO.COM -- maybe just a BOOT > command. (I've also seen a copy of one of the other files used as the > contents of the DEFBOO.COM, too, though the use of the BOOT command is > hopefully somewhat more obvious and somewhat less duplication...) > > Also, I already did a "DIR *BOO.COM" and looked at all the files it > :returned. The files are only setup for booting from "the HSC over the CI", > :"booting" the secondary CPU, and booting from the console's disk. I havn't > :seen anything there of value for booting from a hard drive plugged into the > :machine as I described. > > Interesting. I hope somebody didn't clean off the other files... > (If they did, take a quick look over in [8700] and [8800], and > see if they might have left any *BOO.COM files over there...) > > :Where else should I look for examples? > > The default console kit includes explicit files for a variety of > platforms... You may end up wanting/needing a new console > distribution... (Your console is probably pretty old, anyway.) > > :Might you know of a source of documentation/listings on these things? > > For the contents of register R5, see section VAX7 in the FAQ. > Check the hardware website pointers in the FAQ -- I have no > idea what might be available of interest at any of the various > websites referenced... See below for more than you probably care > to know about the Nautilus-class VAX console... The following > is compiled from various sources, and all errors and omissions > -- and there may well be some of these -- are likely mine... > > --------------------------- pure personal opinion --------------------------- > Hoff (Stephen) Hoffman OpenVMS Engineering hoffman#xdelta.zko.dec.com > > BOOT > > Boots the system. During the installation procedure use the abbreviation, > B, for the BOOT command. The following example uses the boot command > procedure DEFBOO.COM to boot the system: > > >>> B > > ENABLE AUTO BOOT > DISABLE AUTO BOOT > > In combination with AUTO RESTART, determines how the system reacts > after one of the following events: > > � The system is initialized. > > � A power failure occurs. > > � An error halt after a restart attempt fails. > > For example, the following commands cause the system to automatically > reboot after any of the events listed above: > > >>> DISABLE AUTO RESTART > >>> ENABLE AUTO BOOT > > The following command prevents the system from automatically rebooting > after any of the events listed above: > > >>> DISABLE AUTO BOOT > > ENABLE AUTO POWERON > DISABLE AUTO POWERON > > Determines what happens when power is restored after a power failure. For > example, the following command automatically applies power to the CPU > when power is restored after a power failure. > > >>> ENABLE AUTO POWERON > > The following command prevents the automatic application of power to the > CPU when power is restored after a power failure: > > >>> DISABLE AUTO POWERON > > CONTINUE > > Resumes execution of macro instructions and switches the console back to > program mode. > > DEPOSIT > > Puts a value in the specified register or memory location. > > EXAMINE > > Displays the contents of a specified address. > > INITIALIZE > > Sets selected and available CPUs or memory to a defined initial state. > > HALT > > You guessed it... > > EXIT > > Exits the VAX console, gets to the Pro prompt... (Use RUN CONTROL > to get from the Pro prompt back to the VAX console prompt.) > > -- Basic Bootstrap Processing -- > > DEFBOO.COM is used by default, unless another file is used based on an > explicit BOOT command such as (to bootstrap off BDA unit 14, root (SYS5]): > > BOOT BDA14 /R5:50000000 > > This example triggers BDABOO.COM, and passes in a value via R5... > > By default, DEFBOO.COM contains a BOOT command that triggers activation > of another bootstrap file, such as BDABOO.COM (default bootstrap), > BDAGEN.COM (conversational bootstrap), and BDAXDT.COM (XDELTA bootstrap). > Each of these really only differs by the contents of R5 -- the rest of > these sets of three files is usually the same... > > You get to modify the files for whichever disk -- probably either BDA > or UDA, depending on your disk controller, since you indicate this is > not a CI system, and that you have a DSA-series disk controller. (The > KDB50 on the BI, or the UDA50 on the Unibus -- the former is a rather > better and preferable configuration than the latter, this for various > reasons...) > > -- Basic contents of the console bootstrap file --- > > R1 > <31:06> Must be zero No meaning. > > <05:04> 0-3 (hex) The VAXBI that has the adapter (CIBCI or > CIBCA, etc) that accesses the system disk. > > <03:00> 0-F (hex) The VAXBI node number of the adapter. > > R2 > CI: > <31:16> Must be zero No meaning. > > <15:08> 0-F (hex) Node number of the second HSC if the boot > device is dual-ported. If one of the HSCs > is node 0, that node must be specified as > the lowest byte. For example, 0100 means > boot from either HSC 0 or 1, while 0001 > means boot from HSC 1 only. > > <07:00> 0-F (hex) Node number of the first HSC. > > UDA: > <17:00> 3F468 (hex) UNIBUS address of the device's Control and > Status Register (CSR). (The value 3F468 is > valid if you are booting off the first or > only UDA on this UNIBUS.) If you need to > boot off another UDA, you'll need to use > the CSR for the target UDA. > > BDA: > <31:06> Must be zero No meaning. > > R3 > <31:00> Unit number of the drive that holds the system > disk (expressed in decimal). (Default case... > R3 is also involved when volume shadowing is > configuration, and can have differing values.) > > R4 > <31:00> Secondary boot block, in hexadecimal. Used only > if Bit 3 is set in R5, and only needed if the > primary boot block is unavailable. > > R5 > <31:00> See OpenVMS FAQ > > -- > > The usual sequence of bootstrap commands looks something like this: > > >>> POWER ON > >>> @SYSINIT > > The usual sequence of setup commands (needed once) looks something like this: > > >>> ENABLE AUTO POWERON > >>> ENABLE AUTO BOOT > >>> ENABLE AUTO RESTART > > Once the settings and the commands and DEFBOO (and the corresponding BDABOO > or UDABOO) are all in place, powering up the box will directly bootstrap > the target disk...