Running OpenVMS in the Emulator

From ES40 Emulator
Jump to: navigation, search

We explain here how you can start the emulator and how you can boot OpenVMS after initial installation.

Danger sign.png Remark: You first need to configure the SRM Firmware as explained here.

Start the emulator

Better run at lower priority to allow other host programs to use CPU time.

nice ./es40

serial0(serial): Waiting for connection on port 21264.

Start the console via telnet

Danger sign.png Remark: The port 21264 was choosen on purpose. Actually this was the first EV6 Alpha processor CPU model number.

telnet 0 21264
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
This is serial port #0 on AlphaSim

Booting the system

After the initial installation, you can boot from the new system disk dka0.

P00>>>b dka0
(boot dka0.0.0.3.0 -flags 0)
block 0 of dka0.0.0.3.0 is a valid boot block
reading 936 blocks from dka0.0.0.3.0
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 75000(479232)
initializing HWRPB at 2000
initializing page table at 1ff56000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

%SYSBOOT-I-GCTMINOR, GCT used with minor revision mismatch
   expected: 00000005.00000001  -  seen: 00000005.00000002

   OpenVMS (TM) Alpha Operating System, Version V7.3    

Please enter date and time (DD-MMM-YYYY  HH:MM)  30-DEC-2008 09:57
$!  Copyright 2001 Compaq Computer Corporation.

Booting the system the first time

When the system is booted for the first time, it will

   Installing required known files...

   Configuring devices...
%RUN-S-PROC_ID, identification of created process is 00000024
%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:02.68  %%%%%%%%%%%
Operator _GVPVMS$OPA0: has been enabled, username SYSTEM

%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:02.71  %%%%%%%%%%%
Operator status for operator _GVPVMS$OPA0:
CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CARDS, NETWORK, CLUSTER, SECURITY,
LICENSE, OPER1, OPER2, OPER3, OPER4, OPER5, OPER6, OPER7, OPER8, OPER9, OPER10,
OPER11, OPER12

%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:02.76  %%%%%%%%%%%
Logfile has been initialized by operator _GVPVMS$OPA0:
Logfile is GVPVMS::SYS$SYSROOT:[SYSMGR]OPERATOR.LOG;1

%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:02.78  %%%%%%%%%%%
Operator status for operator GVPVMS::SYS$SYSROOT:[SYSMGR]OPERATOR.LOG;1
CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CARDS, NETWORK, CLUSTER, SECURITY,
LICENSE, OPER1, OPER2, OPER3, OPER4, OPER5, OPER6, OPER7, OPER8, OPER9, OPER10,
OPER11, OPER12

%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:02.81  %%%%%%%%%%%
Message from user WBM$SERVER
%WBM-I-WBMINFO Write Bitmap has successfully completed initialization.

%SYSTEM-I-BOOTUPGRADE, security auditing disabled
%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:10.90  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%JBC-E-OPENERR, error opening SYS$COMMON:[SYSEXE]QMAN$MASTER.DAT;

%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:10.92  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
-RMS-E-FNF, file not found

%LICENSE-F-EMTLDB, license database contains no license records
%RUN-S-PROC_ID, identification of created process is 0000002B
%SYSTEM-I-BOOTUPGRADE, security server not started
%SYSTEM-I-BOOTUPGRADE, ACME server not started
%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:33.90  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
TDF-I-SETTDF TDF set new timezone differential

%%%%%%%%%%%  OPCOM  30-DEC-2008 08:58:36.82  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%LICENSE-E-NOAUTH, DEC OPENVMS-ALPHA use is not authorized on this node
-LICENSE-F-NOLICENSE, no license is active for this software product
-LICENSE-I-SYSMGR, please see your system manager

%LICENSE-E-NOAUTH, DEC OPENVMS-ALPHA use is not authorized on this node
-LICENSE-F-NOLICENSE, no license is active for this software product
-LICENSE-I-SYSMGR, please see your system manager
Startup processing continuing...

Starting Autogen

%SYSTEM-I-BOOTUPGRADE, Coordinated Startup not performed

   AUTOGEN will now be run to compute the new system parameters.  The system
   will then shut down and reboot, and the installation or upgrade will be
   complete.

   After rebooting you can continue with such system management tasks as:

           Decompressing System Libraries
           Configuring networking software (TCP/IP Services, DECnet, other)
           Using SYS$MANAGER:CLUSTER_CONFIG.COM to create an OpenVMS Cluster
           Creating FIELD, SYSTEST and SYSTEST_CLIG accounts if needed

%AUTOGEN-I-BEGIN, GETDATA phase is beginning.
%AUTOGEN-I-NEWFILE, A new version of SYS$SYSTEM:PARAMS.DAT has been created.
       You may wish to purge this file.
%AUTOGEN-I-END, GETDATA phase has successfully completed.
%AUTOGEN-I-BEGIN, GENPARAMS phase is beginning.

%AUTOGEN-I-NEWFILE, A new version of SYS$MANAGER:VMSIMAGES.DAT has been created.
       You may wish to purge this file.
%AUTOGEN-I-NEWFILE, A new version of SYS$SYSTEM:SETPARAMS.DAT has been created.
       You may wish to purge this file.
%AUTOGEN-I-END, GENPARAMS phase has successfully completed.
%AUTOGEN-I-BEGIN, GENFILES phase is beginning.

%SYSGEN-I-EXTENDED, SYS$SYSROOT:[SYSEXE]PAGEFILE.SYS;1 extended
%SYSGEN-I-CREATED, SYS$SYSROOT:[SYSEXE]SYSDUMP.DMP;1 created
%SYSGEN-I-EXTENDED, SYS$SYSROOT:[SYSEXE]SWAPFILE.SYS;1 extended

%AUTOGEN-I-REPORT, AUTOGEN has produced some informational messages which
       have been stored in the file SYS$SYSTEM:AGEN$PARAMS.REPORT.  You may
       wish to review the information in that file.

%AUTOGEN-I-END, GENFILES phase has successfully completed.
%AUTOGEN-I-BEGIN, SETPARAMS phase is beginning.
%%%%%%%%%%%  OPCOM  30-DEC-2008 09:01:03.80  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%SYSGEN-I-WRITECUR, CURRENT system parameters modified by process ID 00000023 in
to file SYS$SYSROOT:[SYSEXE]ALPHAVMSSYS.PAR;2

%AUTOGEN-I-SYSGEN, parameters modified
%AUTOGEN-I-END, SETPARAMS phase has successfully completed.
%AUTOGEN-I-BEGIN, REBOOT phase is beginning.

The system is shutting down to allow the system to boot with the
generated site-specific parameters and installed images.

The system will automatically reboot after the shutdown and the
upgrade will be complete.

System shutdown

       SHUTDOWN -- Perform an Orderly System Shutdown
                   on node GVPVMS

%SHUTDOWN-I-BOOTCHECK, performing reboot consistency check...
%SHUTDOWN-I-CHECKOK, basic reboot consistency check completed

%SHUTDOWN-I-OPERATOR, this terminal is now an operator's console
%SHUTDOWN-I-DISLOGINS, interactive logins will now be disabled
%SET-I-INTSET, login interactive limit = 0, current interactive value = 0
%SHUTDOWN-I-STOPQUEUES, the queues on this node will now be stopped
%%%%%%%%%%%  OPCOM  30-DEC-2008 09:01:12.16  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%JBC-E-OPENERR, error opening SYS$COMMON:[SYSEXE]QMAN$MASTER.DAT;

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:01:12.18  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
-RMS-E-FNF, file not found

SHUTDOWN message on GVPVMS from user SYSTEM at GVPVMS Batch   09:01:12
GVPVMS will shut down in 0 minutes; back up soon.  Please log off node GVPVMS.
Reboot system with AUTOGENerated parameters

%SHUTDOWN-I-SITESHUT, the site-specific shutdown procedure will now be invoked
%SHUTDOWN-I-STOPUSER, all user processes will now be stopped
%SHUTDOWN-I-QUIESCING, quiescing remaining non-system processes
%SHUTDOWN-I-REMOVE, all installed images will now be removed
%SHUTDOWN-I-DISMOUNT, all volumes will now be dismounted
%%%%%%%%%%%  OPCOM  30-DEC-2008 09:01:16.27  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
STARTUP, GVPVMS shutdown was requested by the operator.

Automatic reboot

   OpenVMS (TM) Alpha Operating System, Version V7.3   

$!  Copyright 2001 Compaq Computer Corporation.
%STDRV-I-STARTUP, OpenVMS startup begun at 30-DEC-2008 09:10:14.99
%RUN-S-PROC_ID, identification of created process is 00000204
%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:13.24  %%%%%%%%%%%
Operator _GVPVMS$OPA0: has been enabled, username SYSTEM

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:13.27  %%%%%%%%%%%
Operator status for operator _GVPVMS$OPA0:
CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CARDS, NETWORK, CLUSTER, SECURITY,
LICENSE, OPER1, OPER2, OPER3, OPER4, OPER5, OPER6, OPER7, OPER8, OPER9, OPER10,
OPER11, OPER12

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:13.34  %%%%%%%%%%%
Logfile has been initialized by operator _GVPVMS$OPA0:
Logfile is GVPVMS::SYS$SYSROOT:[SYSMGR]OPERATOR.LOG;2

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:13.36  %%%%%%%%%%%
Operator status for operator GVPVMS::SYS$SYSROOT:[SYSMGR]OPERATOR.LOG;2
CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CARDS, NETWORK, CLUSTER, SECURITY,
LICENSE, OPER1, OPER2, OPER3, OPER4, OPER5, OPER6, OPER7, OPER8, OPER9, OPER10,
OPER11, OPER12

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:13.39  %%%%%%%%%%%
Message from user WBM$SERVER
%WBM-I-WBMINFO Write Bitmap has successfully completed initialization.

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:14.40  %%%%%%%%%%%
Message from user AUDIT$SERVER on GVPVMS
%AUDSRV-I-NEWSERVERDB, new audit server database created

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:14.53  %%%%%%%%%%%
Message from user AUDIT$SERVER on GVPVMS
%AUDSRV-I-REMENABLED, resource monitoring enabled for journal SECURITY

%SET-I-NEWAUDSRV, identification of new audit server process is 0000020A
%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:14.78  %%%%%%%%%%%
Message from user AUDIT$SERVER on GVPVMS
%AUDSRV-I-NEWOBJECTDB, new object database created

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:15.59  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%JBC-E-OPENERR, error opening SYS$COMMON:[SYSEXE]QMAN$MASTER.DAT;

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:15.61  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
-RMS-E-FNF, file not found

%LICENSE-F-EMTLDB, license database contains no license records
%RUN-S-PROC_ID, identification of created process is 0000020D
%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:27.23  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%SECSRV-E-NOPROXYDB, cannot find proxy database file NET$PROXY.DAT
%RMS-E-FNF, file not found

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:27.25  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%SECSRV-E-NOPROXYDB, cannot find proxy database file NET$PROXY.DAT
%RMS-E-FNF, file not found

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:27.27  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%SECSRV-I-CIACRECLUDB, security server created cluster intrusion database

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:27.29  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%SECSRV-I-SERVERSTARTINGU, security server starting up

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:27.31  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%SECSRV-I-CIASTARTINGUP, breakin detection and evasion processing now starting up

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:33.23  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%ACME-I-SERVERSTART, ACME_SERVER starting

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:49.96  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
TDF-I-SETTDF TDF set new timezone differential

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:56.08  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
Warning: DECdtm log file not found (SYS$JOURNAL:SYSTEM$GVPVMS.LM$JOURNAL)
       %RMS-E-FNF, file not found
       TP server process waiting

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:11:56.97  %%%%%%%%%%%
Message from user SYSTEM on GVPVMS
%LICENSE-E-NOAUTH, DEC OPENVMS-ALPHA use is not authorized on this node
-LICENSE-F-NOLICENSE, no license is active for this software product
-LICENSE-I-SYSMGR, please see your system manager

%LICENSE-E-NOAUTH, DEC OPENVMS-ALPHA use is not authorized on this node
-LICENSE-F-NOLICENSE, no license is active for this software product
-LICENSE-I-SYSMGR, please see your system manager
Startup processing continuing...

%%%%%%%%%%%  OPCOM  30-DEC-2008 09:12:02.99  %%%%%%%%%%%
Message from user AUDIT$SERVER on GVPVMS
Security alarm (SECURITY) and security audit (SECURITY) on GVPVMS, system id: 812
Auditable event:          Audit server starting up
Event time:               30-DEC-2008 09:12:02.83
PID:                      00000203       
Username:                 SYSTEM         

%STARTUP-I-AUDITCONTINUE, audit server initialization complete

The OpenVMS Alpha system is now executing the site-specific startup commands.

Example OpenVMS commands

Login

Username: system
Password:
%LICENSE-I-NOLICENSE, no license is active for this software product
%LOGIN-S-LOGOPRCON, login allowed from OPA0:
  Welcome to OpenVMS (TM) Alpha Operating System, Version V7.3
  Last non-interactive login on Tuesday, 30-DEC-2008 09:11:54.44

Show System

$ sh sys
OpenVMS V7.3  on node GVPVMS  30-DEC-2008 09:24:28.01  Uptime  0 00:14:19
  Pid    Process Name    State  Pri      I/O       CPU       Page flts  Pages
00000201 SWAPPER         HIB     16        0   0 00:00:03.30         0      0  
00000205 FASTPATH_SERVER HIB     10        9   0 00:00:00.27        69     82  
00000206 IPCACP          HIB     10        9   0 00:00:00.06        30     40  
00000207 ERRFMT          HIB      8       81   0 00:00:00.61        95    111  
00000209 OPCOM           HIB      8       62   0 00:00:00.28        76     34  
0000020A AUDIT_SERVER    HIB     10      155   0 00:00:00.85       137    166  
0000020B JOB_CONTROL     HIB     10       31   0 00:00:00.18        46     66  
0000020F SECURITY_SERVER HIB     10       70   0 00:00:02.91       348    321  
00000211 ACME_SERVER     HIB      9       75   0 00:00:01.72       446    373 M
00000214 TP_SERVER       HIB     10       59   0 00:00:01.26        67     88  
00000215 SMHANDLER       HIB      6       50   0 00:00:00.67       152    148  
00000216 SYSTEM          CUR  0   4      142   0 00:00:02.07       457    138  

Show Device

sh dev d

Device                  Device           Error    Volume         Free  Trans Mnt
 Name                   Status           Count     Label        Blocks Count Cnt
GVPVMS$DKA0:            Mounted              0  ALPHASYS        127395   181   1
GVPVMS$DKA400:          Online wrtlck        0
GVPVMS$DKA500:          Online               0
GVPVMS$DVA0:            Offline              0

Authorize

$ set def sys$system
$ mc authorize
UAF> show /br *
      Owner         Username           UIC       Account  Privs Pri Directory

                    DEFAULT         [200,200]             Normal  4 Disuser
SYSTEM MANAGER       SYSTEM            [1,4]      SYSTEM   All     4 SYS$SYSROOT
:[SYSMGR]