digital equipment corporation maynard, massachusetts DEC 7000 AXP System VAX 7000 Console Reference Manual Order Number EK70C0BTM.002 This manual is intended for the system manager or system operator and covers the console commands for the DEC 7000 and VAX 7000 systems. First Printing, November 1992 The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. The software, if any, described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No re­ sponsibility is assumed for the use or reliability of software or equipment that is not supplied by Digital Equipment Corporation or its affiliated companies. Copyright © 1992 by Digital Equipment Corporation. All Rights Reserved. Printed in U.S.A. The following are trademarks of Digital Equipment Corporation: Alpha AXP DECUS VAXBI AXP DWMVA VAXELN DEC OpenVMS VMScluster DECchip ULTRIX XMI DEC LANcontroller UNIBUS The AXP logo DECnet VAX OSF/1 is a registered trademark of the Open Software Foundation, Inc. FCC NOTICE: The equipment described in this manual generates, uses, and may emit radio frequency energy. The equipment has been type tested and found to comply with the limits for a Class A computing device pursuant to Subpart J of Part 15 of FCC Rules, which are designed to provide reasonable protection against such radio frequency interference when operated in a commercial environment. Operation of this equipment in a residential area may cause interference, in which case the user at his own expense may be required to take measures to correct the interference. iii Contents Preface ........................................................................................ Chapter 1 Console Hardware 1.1 Processor Console Hardware ..................................... 1.2 System Controls and Connections .......................... 1.3 Primary and Secondary Processors ......................... Chapter 2 Console User Interface 2.1 Command Syntax ..................................................... 2.2 Console Special Characters ..................................... 2.3 Console Environment Variables .............................. 2.4 Device Naming Conventions ................................... Chapter 3 Console Commands 3.1 Boot ........................................................................... 3.2 Build EEPROM ........................................................ 3.3 Cdp ............................................................................ 3.4 Clear EEPROM ........................................................ 3.5 Clear ........................................................... 3.6 Clear Screen ............................................................. 3.7 Continue ................................................................... 3.8 Crash ......................................................................... 3.9 Create ....................................................................... 3.10 Deposit ...................................................................... 3.11 Examine .................................................................... 3.12 Help ........................................................................... 3.13 Initialize ................................................................... 3.14 Mchk ......................................................................... iv 3.15 Repeat ....................................................................... 3.16 Set Configuration ..................................................... 3.17 Set EEPROM ............................................................ 3.18 Set .............................................................. 3.19 Set Host .................................................................... 3.20 Set Power .................................................................. 3.21 Show Configuration ................................................. 3.22 Show Device ............................................................. 3.23 Show EEPROM ........................................................ 3.24 Show ........................................................... 3.25 Show Memory ........................................................... 3.26 Show Network .......................................................... 3.27 Show Power .............................................................. 3.28 Start .......................................................................... 3.29 Stop ........................................................................... 3.30 Test ........................................................................... 3.31 Update ...................................................................... 3.32 Comment (#, !) .......................................................... Appendix A Deposit/Examine Symbols Examples Example 2­1 Device Names .......................................................... Example 3­1 Boot Command ........................................................ Example 3­2 Build EEPROM Command ..................................... Example 3­3 Cdp Command ......................................................... Example 3­4 Clear EEPROM Command ..................................... Example 3­5 Clear .......................................................... Example 3­6 Clear Screen Command .......................................... Example 3­7 Continue Command ................................................ Example 3­8 Crash Command ...................................................... Example 3­9 Create Command .................................................... Example 3­10 Deposit Command ................................................. Example 3­11 Examine Command ............................................... Example 3­12 Help Command ...................................................... Example 3­13 Initialize Command ............................................... Example 3­14 Mchk command ..................................................... Example 3­15 Repeat Command .................................................. Example 3­16 Set Configuration Command ................................ Example 3­17 Set EEPROM Command ....................................... v Example 3­18 Set ....................................................................... 3­30 Example 3­19 Set Host Command ............................................... Example 3­20 Set Power Command ............................................. Example 3­21 Show Configuration Command ............................ Example 3­22 Show Device Command ......................................... Example 3­23 Show EEPROM Command ................................... Example 3­24 Show ........................................................ Example 3­25 Show Memory Command ...................................... Example 3­26 Show Network Command ..................................... Example 3­27 Show Power Command ......................................... Example 3­28 Start Command ..................................................... Example 3­29 Stop Command ...................................................... Example 3­30 Test Command ...................................................... Example 3­31 Update Command ................................................. Example 3­32 Comment (#, !) Command ..................................... Figures Figure 1­1 System Hardware .................................................... Figure 1­2 System Controls and Connections .......................... Figure 1­3 Determining the Boot Processor ............................. Tables Table 1 DEC 7000/VAX 7000 Documentation ........ Table 2 Related Documents ................................. Table 2­1 Console Command Language Syntax .................... Table 2­2 Console Special Characters ..................................... Table 2­3 Environment Variables .......................................................... 2­7 Table 2­4 Device Name Fields ................................................. Table 3­1 Cdp Command Options ............................................ Table 3­2 Deposit Command Options ...................................... Table 3­3 Device Name and Address Space Options .............. Table 3­4 Examine Command Options .................................... Table 3­5 Device Name and Address Space Options .............. Table 3­6 Test Command Options ........................................... vi vii Preface Intended Audience This manual is written for the system manager or system operator. Document Structure This manual uses a structured documentation design. Topics are organ­ ized into small sections for efficient on­line and printed reference. Each topic begins with an abstract. You can quickly gain a comprehensive over­ view by reading only the abstracts. Next is an illustration or example, which also provides quick reference. Last in the structure are descriptive text and syntax definitions. This manual has three chapters and one appendix, as follows: · Chapter 1, Console Hardware, briefly describes the console hard­ ware. · Chapter 2, Console User Interface, describes command syntax, special characters, environment variables, and device naming conven­ tions. · Chapter 3, Console Commands, describes each command and gives examples. · Appendix A, Deposit/Examine Symbols, lists the symbols recog­ nized by the deposit and examine commands. viii Conventions Used in This Document Commands and command options are printed in bold type; for example, The help command displays .... Although commands and environment variables are not case sensitive (that is, Boot and BOOt are both valid), commands and command options are shown in lowercase type. When a command may be abbreviated, the portion that may be omitted is shown in brackets: ­flags or ­fl[ags]. Brackets also indicate an element is optional. Braces ({}) indicate a choice from the enclosed list. Angle brackets (<>) indicate that the enclosed text is not a literal depiction of the element but instead a reference to the kind of item that can appear in that position. Terminology. Unless specified otherwise, the use of "system" refers to either a DEC 7000 AXP or VAX 7000 system. The DEC 7000 AXP systems use the Alpha AXP architecture. References in text use DEC 7000 to refer to DEC 7000 AXP systems. When a discussion applies to only one system, an icon is used to highlight that system. Otherwise, the discussion applies to both systems. Thus, the abstract for a module that applies only to DEC 7000 systems would look like this: Book titles. In text, if a book is cited without a product name, that book is part of the hardware documentation. It is listed in Table 1 along with its order number. Documentation Titles Table 1 lists the books in the DEC 7000 and VAX 7000 documentation set. Table 2 lists other documents that you may find useful. DEC 7000 This section shows a sample boot of OpenVMS Alpha AXP from the RRD42 CD drive for DEC 7000 systems. The first step is issuing the show device command to determine the location of the RRD42. ix Table 1 DEC 7000/VAX 7000 Documentation Title Order Number Installation Kit EK7000BDK Site Preparation Guide EK7000BSP Installation Guide EK700EBIN Hardware User Information Kit EK7001BDK Operations Manual EK7000BOP Basic Troubleshooting EK7000BTS Service Information Kit·VAX 7000 EK7002ADK Platform Service Manual EK7000ASV System Service Manual EK7002ASV Pocket Service Guide EK7000APG Advanced Troubleshooting EK7001ATS Service Information Kit·DEC 7000 EK7002BDK Platform Service Manual EK7000ASV System Service Manual EK7002BSV Pocket Service Guide EK7700APG Advanced Troubleshooting EK7701ATS x Table 1 DEC 7000/VAX 7000 Documentation (Continued) Title Order Number Reference Manuals Console Reference Manual EK70C0BTM KA7AA CPU Technical Manual EKKA7AATM KN7AA CPU Technical Manual EKKN7AATM MS7AA Memory Technical Manual EKMS7AATM I/O System Technical Manual EK70I0ATM Platform Technical Manual EK7000ATM Upgrade Manuals KA7AA CPU Installation Guide EKKA7AAIN KN7AA CPU Installation Guide EKKN7AAIN MS7AA Memory Installation Guide EKMS7AAIN KZMSA Adapter Installation Guide EKKXMSXIN DWLMA XMI PIU Installation Guide EKDWLMAIN DWMBB VAXBI PIU Installation Guide EKDWMBBIN H7237 Battery PIU Installation Guide EKH7237IN H7263 Power Regulator Installation Guide EKH7263IN BA654 DSSI Disk PIU Installation Guide EKBA654IN BA655 SCSI Disk and Tape PIU Installation Guide EKBA655IN Removable Media Installation Guide EKTFRRDIN xi Table 2 Related Documents Title Order Number General Site Preparation Site Environmental Preparation Guide EKCSEPGMA System I/O Options BA350 DECstor/me Modular Storage Shelf Subsystem Configuration Guide EKBA350CG BA350 DECstor/me Modular Storage Shelf Subsystem User's Guide EKBA350UG BA350­LA DECstor/me Modular Storage Shelf User's Guide EK350LAUG CIXCD Interface User Guide EKCIXCDUG DEC FDDIcontroller 400 Installation/Problem Solving EKDEMFAIP DEC LANcontroller 400 Installation Guide EKDEMNAIN DEC LANcontroller 400 Technical Manual EKDEMNATM DSSI VAXcluster Installation and Troubleshooting Manual EK410AAMG InfoServer 150 Installation and Owner's Guide EKINFSVOM KDM70 Controller User Guide EKKDM70UG KFMSA Module Installation and User Manual EKKFMSAIM KFMSA Module Service Guide EKKFMSASV RRD42 Disc Drive Owner's Manual EKRRD42OM RF Series Integrated Storage Element User Guide EKRF72DUG TF85 Cartridge Tape Subsystem Owner's Manual EKOTF85OM TLZ06 Cassette Tape Drive Owner's Manual EKTLZ06OM xii Table 2 Related Documents (Continued) Title Order Number Operating System Manuals Alpha Architecture Reference Manual EYL520EDP DEC OSF/1 Guide to System Administration AAPJU7ATE DECnet for OpenVMS Network Management Utilities AAPQYAATK Guide to Installing DEC OSF/1 AAPS2DATE OpenVMS Alpha Version 1.0 Upgrade and Installation Manual AAPQYSATE VMS Upgrade and Installation Supplement: VAX 7000600 and VAX 10000600 Series AAPRAHATE VMS Network Control Program Manual AALA50ATE VMSclusters and Networking HSC Installation Manual EKHSCMNIN SC008 Star Coupler User's Guide EKSC008UG VAX Volume Shadowing Manual AAPBTVATE Peripherals Installing and Using the VT420 Video Terminal EKVT420UG LA75 Companion Printer Installation and User Guide EKLA75XUG Console Hardware 1­1 Chapter 1 Console Hardware This chapter describes how the console program and hardware function in DEC 7000 and VAX 7000 systems. Sections include: · Processor Console Hardware · System Controls and Connections · Primary and Secondary Processors 1­2 Console Hardware 1.1 Processor Console Hardware The system processor module has several features dedicated to support of the console and diagnostic hardware. The following hardware provides console support: · 128­Kbyte flash­erasable programmable read­only memories (FEPROMs) hold the console program, diagnostic software, and boot­ strap routines. · One 128­Kbyte FEPROM contains code that performs minimal initiali­ zation and testing functions required to bring up the console environ­ ment. It also contains flash ROM recovery code. · One 8­Kbyte electrically erasable programmable read­only memory (EEPROM) holds console parameters, bootstrap, and error logging in­ formation. · One dual universal asynchronous receiver/transmitter (UART) sup­ ports programmable baud rates, parity, stop bits, and character length. · Logic and registers allow the console to enable or disable halts, cause a system reset, and provide console communication. · Hardware provides time­of­year and interval timer functions. · Several LEDs display status and error information. For more information: KN7AA CPU Technical Manual KA7AA CPU Technical Manual Console Hardware 1­3 Figure 1­1 illustrates the system hardware. The console terminal is used for entering console commands. The console terminal is connected to the system through the console terminal port (shown in Figure 1­2). A printer, connected to the console terminal, provides a hardcopy record of console sessions. The console program is the software interface that translates console commands to the primary processor. Figure 1­1 System Hardware 1­4 Console Hardware 1.2 System Controls and Connections The system control panel consists of a keyswitch and three indica­ tor lights. Three cable ports provide connections for expander cabinets and the console terminal. In a multiprocessor system, each processor has access to the console terminal line. Figure 1­2 System Controls and Connections Console Hardware 1­5 The control panel keyswitch (see Figure 1­2) has the following settings: Disable Removes 48 VDC power from the system. Power is still supplied to the cabinet control logic (CCL) module. Secure Prevents entry into console mode; position used while machine executes programs. Enable Allows entry into console mode; position used while machine executes programs. Restart A momentary switch position, used to reinitialize the system; causes self­test to start running. The control panel indicator lights, when lit, indicate: Key On Power is supplied to entire system; the blower is running. Run Lit when the primary processor is running the operating system or user programs; off when the primary processor is in console mode. Fault Fault on LSB, XMI bus, or an I/O bus. Flashes during power sequencing or when errors are detected. The signals for the control panel Run light, the console terminal, and the power system UARTs are carried by the system bus. A processor that is in console mode can perform I/O directly to the console terminal. For more information: Operations Manual 1­6 Console Hardware 1.3 Primary and Secondary Processors One processor is selected as the boot processor, and all other proc­ essors become secondary processors. This determination is made by the system at power­up or initialization and can be altered us­ ing console commands. Figure 1­3 Determining the Boot Processor Console Hardware 1­7 One processor in a multiprocessor system is designated as the primary processor. Since the primary processor performs the system bootstrap, it is also referred to as the boot processor. The lowest numbered enabled proc­ essor that has asserted its own boot processor bit is the boot processor. All console commands execute, by default, on the primary processor. Under the operating system, secondary processors must communicate with the primary when they need to perform I/O on the console terminal using the hardware restart parameter block (HWRPB). The low portion of main memory is reserved for the console program. When the system is booted, the console image is preserved in order to fa­ cilitate reentering the console program through a halt condition. In addi­ tion, a number of data structures are created in memory, primarily for communication between the console program and the operating system. For more information: Operations Manual Advanced Troubleshooting KN7AA CPU Technical Manual KA7AA CPU Technical Manual Console User Interface 2­1 Chapter 2 Console User Interface This chapter describes the console program's command language, console special characters, console environment variables, and device naming con­ ventions. Console commands (see Chapter 3) allow you to boot the operat­ ing system, display the configuration, and verify the system. When the system is in console mode, the system is halted and the console firmware is executing. The operator communicates with the firmware through the console terminal, which displays the following prompt: >>> for a uniprocessor system, or P0n>>> for a multiprocessor system where n is 0 to 5, depending on which LSB slot the primary processor is in. Sections in this chapter include: · Command Syntax · Console Special Characters · Console Environment Variables · Device Naming Conventions 2­2 Console User Interface 2.1 Command Syntax The console command language has syntax rules for forming com­ mands. Commands can contain up to 80 characters on a single line, can be abbreviated, and accept options. Numbers are in hexadecimal notation. Tabs and spaces are compressed. Table 2­1 Console Command Language Syntax Command Parameter Attribute or Action Length 80 characters maximum, unless the continu­ ation character (\) is used. Case Upper­ or lowercase characters are accepted. Abbreviation Varies with the command; usually the short­ est unique combination of letters. Options Can appear after the command keyword or after any symbol or number in the com­ mand. Begin with a hyphen (­) and must be preceded by at least one space. Numbers Hexadecimal format unless otherwise noted. No characters Null command; no action taken. Multiple adjacent spaces and tabs Compressed to a single space. Console User Interface 2­3 Length: The console program accepts commands of up to 80 characters per line. This does not include the terminating carriage return or any charac­ ters deleted as the command is entered. A command longer than 80 char­ acters, without the backslash character (see Section 2.2) causes the display of an error message. Case: Upper­ or lowercase characters can be used for input. Characters are displayed in the case they are entered. Abbreviation: Commands and options can be abbreviated by dropping characters from the end of words. You must enter the minimum number of characters to identify the keyword unambiguously. All characters speci­ fied must match a keyword to be accepted. For example, although E uniquely identifies the examine command, Exmn is not a valid abbrevia­ tion. In the command reference sections that follow, characters that can be omitted appear in square brackets ([ ]). Abbreviation of environment vari­ ables (see Section 2.3) is allowed with the show command. Options: You can use command options, to define or modify the environ­ ment, after the command keyword or after any symbol or number in the command. See individual keyword descriptions for examples. Numbers: Numbers in console commands are in hexadecimal notation unless otherwise indicated. The hexadecimal (0X) default can be over­ ridden by preceding decimal numbers by 0D, binary by 0B, and octal by 0O. Refer to the individual command descriptions. Register names (R0, R1, and so on) are not considered numbers and use decimal notation. No Characters: A command line with no characters is a null command. The console program takes no action and does not issue an error message. The console prompt returns. The console supports command line recall and editing. Spaces: Multiple adjacent spaces and tabs are compressed and treated as a single space. The console program ignores leading and trailing spaces. 2­4 Console User Interface 2.2 Console Special Characters The console program supports control characters, entered by hold­ ing down the Control (Ctrl) key and pressing the desired key, and other special characters. Table 2­2 Console Special Characters Character Function Return Carriage return; ends a command line. Backslash Line continuation. Move cursor right one position. Ctrl/H, BS, F12 Move cursor to beginning of line. Ctrl/J Delete word. Ctrl/O Stop output to console terminal for current command. Toggles between enable/disable. Ctrl/P In console mode, acts like Ctrl/C. In program mode, causes the boot processor to halt and begin running the console program. Ctrl/Q Resume output to console terminal. Ctrl/R Redisplay the current line. Ctrl/S Stop output to console terminal. Ctrl/U Delete entire line. * Wildcarding for certain commands. " " Quotes for set environment variable name. #, ! Comment specifiers. Console User Interface 2­5 Return terminates command line input. No action is taken on a command line until it is terminated by a carriage return. If no characters are en­ tered and the Return key is pressed, it is treated as a null command. No action is taken, and the console prompts for input. Carriage return is ech­ oed as carriage return, line feed. Backslash (\) allows continuation across lines from the terminal; must be the last character on the line to be continued. When the Delete key is pressed, the console deletes the character previ­ ously typed. Help provides additional information on console commands. Ctrl/A or F14 toggles between insertion mode and overstrike mode for command line editing. The default mode is overstrike. Ctrl/B or up­arrow/down­arrow recall the previous command(s). The last 16 commands are stored in the recall buffer. Ctrl/C terminates the current command. Echoed as ^C, Ctrl/C clears Ctrl/S and also resumes output that was suspended using Ctrl/O. When Ctrl/C is entered as part of a command line, the line is deleted as if you entered Ctrl/U. Ctrl/C has no effect as part of a binary data stream. Ctrl/D or left­arrow moves the cursor one position to the left. Ctrl/E moves the cursor to the end of the line. Ctrl/F or right­arrow moves the cursor right one position. Ctrl/H, Backspace, or F12 moves the cursor to the beginning of the line. Ctrl/J deletes previously typed word. Ctrl/O stops output to the console terminal until Ctrl/O is entered again. Ctrl/O is echoed as ^O followed by a carriage return and is not echoed when output is reenabled. Output is also reenabled when the console prompts for a command, issues an error message, enters program mode, or when Ctrl/P is entered. It is not reenabled by displaying a repeat com­ mand. Ctrl/P works like Ctrl/C and is echoed as ^C, if the console terminal is in console mode. If the console terminal is in program mode and is secured, Ctrl/P is not echoed, but is passed to the operating system for processing. If the console terminal is in program mode and is not secured, Ctrl/P halts the processor and begins the console program. See the continue com­ mand for additional information. Ctrl/Q resumes console output to the console terminal that was suspended with Ctrl/S. Additional Ctrl/Q strokes are ignored. Ctrl/Q is not echoed. 2­6 Console User Interface Ctrl/R is echoed as ^R, followed by a carriage return, line feed, and print­ ing the current command line. Deleted characters are omitted. This com­ mand is useful for hardcopy terminals. Ctrl/S suspends output to the console terminal until Ctrl/Q is entered. Ctrl/S is not echoed. Ctrl/U discards all characters that you entered on the current line. It is echoed as ^U, followed by a carriage return, line feed, and a new prompt. * allows wildcarding with device names and environment variables. Wildcarding is allowed with the following commands: 1. cdp 2. clear 3. initialize 4. set ­d 5. show 6. show configuration 7. show device 8. show 9. show network 10. stop 11. test 12. update See Chapter 3 for specific examples. Double quotes (" ") allow you to denote a string for environment variable assignment. # and ! allow you to enter a comment. All characters following a # or ! are recognized as a comment only. Exceptions include the above control char­ acters. Console User Interface 2­7 2.3 Console Environment Variables Console environment variables allow the user to modify the way the console commands operate. An environment variable is a name and value association maintained by the console program. The value associated with an environment variable is an ASCII string (up to 127 characters in length) or an integer. Certain environment variables are typically modified by the user to tailor the re­ covery behavior of the system on power­up and after system failures. Vola­ tile environment variables are initialized by a system reset; others are nonvolatile across system failures. Environment variables can be created, modified, displayed, and deleted us­ ing the create, set, show, and clear commands. A default value is associ­ ated with any variable that is stored in EEPROM. This default value is used if the EEPROM is unreadable. Table 2­3 lists the predefined console environment variables, their attrib­ utes, and their functions. Refer to Chapter 3, Console Commands, for ex­ amples of their use. Table 2­3 Environment Variables Variable Attribute Function auto_action Non­ volatile Specifies the action the console will take fol­ lowing an error halt. Values are: restart ­ Automatically restart. If restart fails, boot the operating system. boot ­ Automatically boot the operating system. halt (default) ­ Enter console mode. baud Non­ volatile Sets the console terminal port baud rate. Allowable values are 300, 600, 1200, 2400, 4800, and 9600. The default value is 9600. 2­8 Console User Interface Table 2­3 Environment Variables (Continued) Variable Attribute Function bootdef_dev Non­ volatile The default device or device list from which booting is attempted when no device name is specified by the boot command. boot_file Non­ volatile The default file name used for the primary bootstrap when no file name is specified by the boot command, if appropriate. boot_osflags Non­ volatile Additional parameters to be passed to the system software during booting if none are specified by the boot command with the ­flags qualifier. boot_reset Non­ volatile Resets system and displays self­test re­ sults during booting. Default value is on. cpu Volatile Selects the current boot processor. cpu_enabled Non­ volatile A bitmask indicating which processors are enabled to run (leave console mode). De­ fault is 0xff. cpu_primary Non­ volatile A bitmask indicating which processors are enabled to become the next boot processor, following the next reset. Default is 0xff. d_harderr Volatile Determines action taken following a hard error. Values are halt (default) and con­ tinue. Applies only when using the test command. d_report Volatile Determines level of information provided by the diagnostic reports. Values are summary (default) and full. Applies only when using the test command. Console User Interface 2­9 Table 2­3 Environment Variables [Continued) Variable Attribute Function d_softerr Volatile Determines action taken following a soft error. Values are continue (default) and halt. Applies only when using the test command. dump_dev Non­ volatile Complete device specification of the de­ vice to which operating system dumps are written (if supported by the operat­ ing system). Default value is null. enable_audit Non­ volatile If set to on (default), enables the genera­ tion of audit trail messages. If set to off, audit trail messages are suppressed. Console initialization sets this to on. interleave Non­ volatile The memory interleave specification. Value must be default, none, or an ex­ plicit interleave list. Default value is de­ fault. language Non­ volatile Determines whether system displays message numbers or message text in English (default). 2­10 Console User Interface 2.4 Device Naming Conventions To use the console, the user needs to be familiar with the device names assigned by the system console. The system firmware assigns names to all supported CPUs, memories, I/O windows, I/O adapters, and end I/O devices in the system. The show configuration, show device, and show network commands (see Chapter 3) are used to obtain the assigned device mnemonics for all devices in the system. The assigned mnemonics provide an easy means to refer to devices with the various console commands. Example 2­1 illus­ trates several examples. Refer to the individual console commands in Chapter 3 for additional examples. Example 2­1 Device Names 1. >>> test dua23.0.1.14.1 2. >>> set host demna0 3. >>> update kn7aa* ­f 4. >>> examine xmi0:21880004 The show configuration command displays all supported CPUs, memo­ ries, I/O windows, I/O adapters, and I/O subsystems (that is, whole XMIs) and assigns a mnemonic to each (ka7aa0, ms7aa3, dwlma0, demna0, demna1, xmi0, and so forth). The show device command displays all supported disks (including CD­ ROM and solid state disks) and tapes and assigns a mnemonic to each (dua23.0.1.14.1, for example). Console User Interface 2­11 The show network command displays all supported network boot devices (Ethernet and FDDI) and assigns a mnemonic to each (exa0.0.0.14.0, fxb0.0.0.4.1, for example). The device name for end I/O devices (disks, tapes, network devices, and so forth) is of the form: ddccuuuu.node.channel.slot.hose where the fields, described in Table 2­4, are separated by periods (.). Num­ bers in Table 2­4 are decimal. Table 2­4 Device Name Fields Field Size Definition dd 2 Protocol used to access device: DK ­ SCSI disk (DEC 7000 only) DU ­ MSCP disk (CI, SI, and DSSI [VAX 7000 only]) MK ­ SCSI tape (DEC 7000 only) MU ­ MSCP tape (CI, SI, and DSSI [VAX 7000 only]) EX ­ XMI Ethernet FX ­ XMI FDDI cc 1 or 2 Controller letter (azz) assigned by console, based on the system configuration. uuuu 4 (max) Unit number of device (09999) determined by the I/O channel number and the XMI slot num­ ber of the adapter. node 3 (max) Node number (0255) of the device on a remote (CI or DSSI) bus. If the remote node is a CI, this is the CI node number of the HSC; if it is a DSSI, this is the node number of the disk. channel 1 Channel number (01); used only if the adapter is a KFMSA (VAX 7000) or KZMSA (DEC 7000). slot 2 (max) XMI slot number (114) of the adapter. hose 1 Hose number (03) that connects to the I/O bus. Console Commands 3­1 Chapter 3 Console Commands Console commands provide the capabilities to examine and modify system state. Additionally, they allow tests to be directed to functional compo­ nents of the system. The following console commands are described: · boot · build eeprom · cdp ­ VAX 7000 only · clear (eeprom, , screen) · continue · crash · create · deposit · examine · help · initialize · mchk ­ DEC 7000 only · repeat · set (configuration, eeprom, , host, power) · show (configuration, device, eeprom, , memory, network, power) · start · stop · test · update · comment (#, !) 3­2 Console Commands 3.1 Boot The boot command boots the operating system. Example 3­1 Boot Command 1. >>> # Boot from local disk. >>> show device # Display I/O device information. polling for units on kfmsa0, slot 1, xmi0... dua2.2.0.1.0 R2TDYC$DIA2 RF73 polling for units on kdm700, slot 2, xmi1... dua1.0.0.2.1 DUA1 RA92 >>> boot dua2.2.0.1.0# Boot device designations: # du = device code. # a = controller designation. # 2 = device unit number. # 2 = node number. # 0 = device channel number. # 1 = XMI slot number. # 0 = I/O channel number. 2. >>> # Boot from network device. >>> show net # Display network information. polling for units on demna0, slot 3, xmi0... exa0.0.0.3.0 08­00­2B­0B­BB­ED # exa0.0.0.3.0 = path info. # 08­00­2B­0B­BB­ED = controller # hardware address (hex). >>> b exa0 ­flags 0,0,0 ­file ISL_LVAX_V02 # Boot from InfoServer. # exa0 = network device. # ­flags 0,0,0 = additional # command parameters. # ISL_LVAX_V02 = load file. (Examples are continued on p. 3­4) Console Commands 3­3 The boot command syntax is: b[oot] [­flags NNNN, M, PPPP] [­file ] where the ­flags parameter allows additional boot command parameters N, M, and P. Specifying ­fl[ags] overrides the boot_osflags environment variable (see Section 2.3). The NNNN flags, dependent on the system con­ figuration, are used with OpenVMS VAX when booting from a shadow set. The M flag, dependent on the system configuration, specifies the system root of the boot device. The PPPP flags are for the operating system boot­ strap loader options. The ­file parameter indicates booting from the file . Specifying ­file overrides the boot_file environment vari­ able (see Section 2.3). Device names can be found by using the show de­ vice and show network commands. See Section 2.4 for information on device names. Boot command flags can be shortened, since values such as zero or com­ mas (which can be used as placeholders) do not have to be specified. These parameters are read from right to left (PPPP, M, NNNN). For example, boot ­fl 0,0,100 or boot ­fl ,,100 are the same as boot ­fl 100, where 100 is the value of the P option. For more information: Operations Manual VMS Upgrade and Installation Supplement: VAX 7000­600 and VAX 10000­600 Series 3­4 Console Commands 3. >>> # Boot a system in a CI # VAXcluster. >>> sh dev # Display I/O device information. polling for units on cixcd0, slot 2, xmi0... dua20.14.0.2.2 $100$DUA20 RA82 dua31.14.0.2.2 $100$DUA31 RA82 >>> boot ­fl 0,4,0 dua20.14.0.2.2 # ­fl[ags] indicates additional # command options follow. # 0 = not a shadow set boot # 4 = system root of boot device. # 0 = bootstrap loader options. # du = device code. # a = controller designation. # 20 = device unit number. # 14 = node number. # 0 = device channel number. # 2 = XMI slot number. # 2 = I/O channel number. 4. >>> # Shadow set boot. >>> b ­fl 8DAC,2,0 dua3500.14.0.12.1,dua63.14.0.12.1 # 8DAC = load device virtual # unit number; # 8 indicates shadow set booting. # DAC = value (hex) of virtual # device unit number 3500 (dec.). # 2 = system root. # 0 = bootstrap loader options. # dua3500 = virtual device. # dua63 = physical device. # 14 = node number. # 0 = device channel number. # 12 = XMI slot number. # 1 = I/O channel number. # The console attempts to boot # from the virtual device; then # from the physical device. The # parameters for the physical and # virtual device are identical # except for device number. Console Commands 3­5 3.2 Build EEPROM The build eeprom command is used to create a new EEPROM im­ age or to restore a corrupted EEPROM image. Example 3­2 Build EEPROM Command >>> build eeprom # Build EEPROM if invalid # message is displayed. Creating new EEPROM image System Serial Number> GAO1234567 # If the EEPROM is Module Serial Number> SG226LFH01 # corrupted, enter # system serial number # and module serial # number, part number, # and firmware revision. Module Unified 2­5­2­4 Part Number> ­E2040­AA. M06 Module Firmware Revision> 1.5 >>> The build eeprom command syntax is: bu[ild] ee[prom] If you are restoring a corrupted EEPROM, you will be prompted to supply the system serial number and module serial, part, and firmware revision numbers. The build eeprom command may be required during a console firmware upgrade. Before upgrading, you should refer to Table 2­3 and use the show command (see Section 3.24) to display present en­ vironment variables values. After rebuilding, use the set com­ mand (see Section 3.18) to set the environment variables to their desired values. For more information: Advanced Troubleshooting Release Notes 3­6 Console Commands 3.3 Cdp Example 3­3 Cdp Command 1. >>> show device # Display I/O device # information. polling for units on kfmsa0, slot 0, xmi0... dua5.0.0.13.0 BASHFL$DIA5 RF71 polling for units on cixcd0, slot 14, xmi1... dub44.1.0.13.1 $1$DIA44 (BLANK4) RF71 >>> cdp ­i # ­i entered to select # interactive mode ­ set all dua.5.0.0.13.0: # parameters; no changes made. Node Name [BASHFL]? Allocation Class [0]? Unit Number [5]? dub44.1.0.13.0: Node Name [BLANK4]? Allocation Class [1]? Unit Number [44]? 2. >>> cdp ­n dua5 # ­n dua5 entered to set device # node name of dua5; no change dua5.0.0.13.0: # made. Node Name [BASHFL]? # Press Return to exit. 3. >>> cdp ­a # ­a entered to set device dua5.0.0.13.0: # allocation class, allclass, Allocation Class [0]? # for all DSSI devices; no dub44.1.0.13.0: # changes made. Allocation Class [1]? VAX 7000 The cdp command performs basic configuration manage­ ment of DSSI devices. Console Commands 3­7 The cdp command syntax is: cdp [­{a,i,n,o,u}] [­sn] [­sa ] [dssi_device] where is allclass or unitnum, and dssi_device is the DSSI device. Table 3­1 summarizes the cdp command options. The cdp command per­ mits the modification of DSSI device parameters from the console without explicit connection to a node's DUP server. The parameters modified are the DUP task parameters nodename, allclass, and unitnum. Table 3­1 Cdp Command Options Option Function ­a Sets device allocation class, allclass. ­i Selects interactive mode; sets all parameters. ­n Sets device node name, nodename (up to 16 characters). ­o Overrides warning messages. ­u Sets device unit number, unitnum. ­sa allclass Sets allclass for all DSSI devices in the system to the specified value. ­sn Sets nodename to either RFhscn or TFhscn h is the device hose number (03) s is the device slot number (114) c is the device channel number (0, 1) n is the device node ID number (06) ­su unitnum Sets the starting unitnum for the first DSSI device in the system to the specified value. Subsequent DSSI unit num­ bers are incremented from this base. 3­8 Console Commands 3.4 Clear EEPROM The clear eeprom command allows you to clear the selected EEPROM option. Example 3­4 Clear EEPROM Command >>> clear eeprom log # Clears all failure # information logged in # EEPROM. The clear eeprom command syntax is: cl[ear] ee[prom]