[Info-vax] C99 stuff (Re: The Road to V9.0)

clair.grant@vmssoftware.com clairgrant71 at gmail.com
Thu Oct 10 08:02:22 EDT 2019


Below is a recent log from booting the system and executing a few commands and running SDA. (I edited out a bunch of our own debugging messages, otherwise it is the exact screen capture of a real system boot.) Two major things about to round into shape are 1) switching from the memory disk to the real system disk and 2) now that basic exception handling is in place, fleshing out the condition handlers and signaling.


        VMS Software, Inc. OpenVMS (TM) x86_64 Operating System, XFBG-N4A

                    Copyright 2019 VMS Software, Inc.

  MDS Mitigation active, variant verw(MD_CLEAR)

%STDRV-I-STARTUP, OpenVMS startup begun at  8-OCT-2019 07:48:32.06
%STARTUP-E-NOPAGFIL, No page files have been successfully installed.
%STDRV-E-NOSUCHFILE, File SYS$STARTUP:VMS$CONFIG-050_ERRFMT.COM does not exist.

%%%%%%%%%%%  OPCOM   8-OCT-2019 07:48:33.56  %%%%%%%%%%%
Operator _OPA0: has been enabled, username SYSTEM

%%%%%%%%%%%  OPCOM   8-OCT-2019 07:48:33.56  %%%%%%%%%%%
Operator status for operator _OPA0:
CENTRAL, PRINTER, TAPES, DISKS, DEVICES, CA
RDS, NETWORK, CLUSTER, SECURITY,
LICENSE, OPER1, OPER2, OPER3, OPER4, OPER5, OPER6, OPER7, OPER8, OPER9, OPER10,
OPER11, OPER12

%%%%%%%%%%%  OPCOM   8-OCT-2019 07:48:34.02  %%%%%%%%%%%
Logfile has been initialized by operator _OPA0:
Logfile is SYS$SYSROOT:[SYSMGR]OPERATOR.LOG;1

%%%%%%%%%%%  OPCOM   8-OCT-2019 07:48:34.02  %%%%%%%%%%%
Operator status for operator 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

%SET-I-INTSET, login interactive limit = 8, current interactive value = 0
   8-OCT-2019 07:48:37
  SYSTEM       job terminated at  8-OCT-2019 07:48:37.60

  Accounting information:
  Buffered I/O count:                587      Peak working set size:       8144
  Direct I/O count:                  183      Peak virtual size:         190848
  Page faults:                      2154      Mounted volumes:                0
  Charged CPU time:        0 00:00:01.51      Elapsed time:       0 00:00:05.70

Username: system

Password:

%LICENSE-I-NOT_STARTED, License Management Facility is not started

%LOGIN-S-LOGOPRCON, login allowed from OPA0:

VMS Software, Inc. OpenVMS (TM) x86_64 Operating System, XFBG-N4A
    Last interactive login on Wednesday, 25-SEP-2019 14:09:33.86
    Last non-interactive login on Wednesday, 25-SEP-2019 14:09:58.52

$ show time

   8-OCT-2019 07:48:46

$ dir/date

Directory SYS$SYSROOT:[SYSMGR]

ACCOUNTNG.DAT;1       8-OCT-2019 07:48:35.41
OPERATOR.LOG;1        8-OCT-2019 07:48:33.87

Total of 2 files.

Directory SYS$COMMON:[SYSMGR]

USB$STARTUP.COM;1    22-OCT-2008 11:06:43.87

Total of 1 file.

Grand total of 2 directories, 3 files.

$ show proc

 8-OCT-2019 07:49:09.03   User: SYSTEM           Process ID:   00000027
                                                  Process name: "SYSTEM"

Terminal:           OPA0:
User Identifier:    [SYSTEM]
Base priority:      4
Default file spec:  SYS$SYSROOT:[SYSMGR]
Number of Kthreads: 1

Devices allocated:  OPA0:

Soft CPU Affinity: off

$ show log/proc

(LNM$PROCESS_TABLE)

  "SYS$COMMAND" = "_OPA0:"
  "SYS$DISK" = "SYS$SYSROOT:"
  "SYS$ERROR" = "_OPA0:"
  "SYS$INPUT" = "_OPA0:"
  "SYS$OUTPUT" [super] = "_OPA0:"
  "SYS$OUTPUT" [exec] = "_OPA0:"
  "TT" = "OPA0:"

$ show symb

_Symbol: *

  $FACILITY == "%X00000003"
  $IDENT == "%X00001048"
  $RESTART == "FALSE"
  $SEVERITY == "0"
  $STATUS == "%X00038240"

$ show dev sys$sysdevice:/full

Disk DMM0:, device type Generic SCSI disk, is online, mounted, file-oriented
    device, error logging is enabled.

    Error count                    0    Operations completed               3266
    Owner process                 ""    Owner UIC                         [1,1]
    Owner process ID        00000023    Dev Prot            S:RWPL,O:RWPL,G:R,W
    Reference count               17    Default buffer size                 512
    Total blocks              524288    Sectors per track                     0
    Total cylinders                0    Tracks per cylinder                   0
    Logical Volume Size       158336    Expansion Size Limit             159744

    Volume label      "SYS$MD19280A"    Relative volume number                0
    Cluster size                   1    Transaction count                    16
    Free blocks                17198    Maximum files allowed               205
    Extend quantity                5    Mount count                           1
    Mount status              System    Cache name             "_DMM0:XQPCACHE"
    Extent cache size             64    Max blocks in extent cache         1719
    File ID cache size            64    Blocks in extent cache             2145
    Quota cache size               0    Maximum buffers in FCP cache         93
    Volume owner UIC         [11,47]    Vol Prot    S:RWCD,O:RWCD,G:RWCD,W:RWCD

  Volume Status:  ODS-5, subject to mount verification, file high-water marking,

      write-through XFC caching enabled, write-through XQP caching enabled,
      special files enabled.


$ copy usb$startup.com a.a/log

%COPY-S-COPIED, SYS$COMMON:[SYSMGR]USB$STARTUP.COM;1 copied to SYS$SYSROOT:[SYSM
GR]A.A;1 (12 blocks)

$ copy a.a b.b

$ copy a.a b.b

$ dir %.%

Directory SYS$SYSROOT:[SYSMGR]

A.A;1               B.B;2               B.B;1

Total of 3 files.

$ purge/log

%DELETE-I-FILPURG, SYS$SYSROOT:[SYSMGR]B.B;1 deleted (12 blocks)

$ delete b.b;/log

%DELETE-I-FILDEL, SYS$SYSROOT:[SYSMGR]B.B;2 deleted (12 blocks)


$ show term

Terminal: _OPA0:      Device_Type: VT100         Owner: SYSTEM

   Input:  115200     LFfill:  0      Width:  80      Parity: None
   Output: 115200     CRfill:  0      Page:   24

   Interactive        Echo               Type_ahead         No Escape
   No Hostsync        TTsync             Lowercase          No Tab
   Wrap               Scope              No Remote          No Eightbit
   Broadcast          No Readsync        No Form            Fulldup
   No Modem           No Local_echo      No Autobaud        No Hangup
   No Brdcstmbx       No DMA             No Altypeahd       Set_speed
   No Commsync        Line Editing       Overstrike editing No Fallback
   No Dialup          No Secure server   No Disconnect      No Pasthru
   No Syspassword     No SIXEL Graphics  No Soft Characters No Printer Port
   Numeric Keypad     No ANSI_CRT        No Regis           No Block_mode
   No Advanced_video  No Edit_mode       No DEC_CRT         No DEC_CRT2
   No DEC_CRT3        No DEC_CRT4        No DEC_CRT5        No Ansi_Color
   VMS Style Input    <CTRL-H> Backspace

$ set term/inq

$ show term

Terminal: _OPA0:      Device_Type: VT200_Series  Owner: SYSTEM

   Input:  115200     LFfill:  0      Width: 132      Parity: None
   Output: 115200     CRfill:  0      Page:   55

Terminal Characteristics:
   Interactive        Echo               Type_ahead         No Escape
   No Hostsync        TTsync             Lowercase          Tab
   Wrap               Scope              No Remote          Eightbit
   Broadcast          No Readsync        No Form            Fulldup
   No Modem           No Local_echo      No Autobaud        No Hangup
   No Brdcstmbx       No DMA             No Altypeahd       Set_speed
   No Commsync        Line Editing       Overstrike editing No Fallback
   No Dialup          No Secure server   No Disconnect      No Pasthru
   No Syspassword     No SIXEL Graphics  Soft Characters    Printer port
   Numeric Keypad     ANSI_CRT           No Regis           No Block_mode
   Advanced_video     Edit_mode          DEC_CRT            DEC_CRT2
   No DEC_CRT3        No DEC_CRT4        No DEC_CRT5        No Ansi_Color
   VMS Style Input    <CTRL-H> Backspace

$ search a.a f$proc

$ if F$PROCESS() .EQS. "USB$UCM_RESTART"

$ anal/sys

OpenVMS system analyzer


SDA> show summary

Current process summary
-----------------------

 Extended Indx Process name    Username     State   Pri PCB/KTB    PHD    Wkset
-- PID -- ---- --------------- ------------ ------- --- -------- -------- ------
 00000021 0001 SWAPPER         SYSTEM       HIB      16 800C5B58 800C4C00     17
 00000025 0005 OPCOM           SYSTEM       HIB       9 8169CFC0 87200000    188
 00000026 0006 JOB_CONTROL     SYSTEM       HIB       8 816AD740 87208000    179
 00000027 0007 SYSTEM          SYSTEM       CUR 000   7 816A0F80 87204000    809

SDA> show mem


System Memory Resources from Running System on  8-OCT-2019 07:52:42.21
----------------------------------------------------------------------

Physical Memory Usage (Pages):     Total        Free      In Use    Modified
  Main Memory (7.99GB)           1048460      450231      598219          10

  The Virtual I/O Cache is DISABLED on this node.

Granularity Hint Regions (Pages):   Total        Free      In Use    Released
  Execlet Data Region                2048        1917         131           0
  S0S1 Executive Data Region         3072         247        2825           0
  S2 Resident Image Code Region      2560        2560           0           0
  S0S1 Resident Image Data Region     512         512           0           0

Slot Usage (Slots):                Total        Free    Resident     Swapped
  Process Entry Slots                 32          27           5           0
  Balance Set Slots                   30          27           3           0

Dynamic Memory Usage:              Total        Free      In Use     Largest
  Nonpaged Dynamic Memory (MB)     18.00       17.33        0.66       17.30
  Paged Dynamic Memory (MB)         4.00        3.92        0.07        3.92
  Lock Manager Dyn Memory (KB)    600.00      497.00      103.00

Buffer Object Usage (Pages):                  In Use        Peak
  32-bit System Space Windows (S0/S1)              0           0
  64-bit System Space Windows (S2)                 0           0
  Physical Pages Locked by Buffer Objects          0           0

Memory Reservations (Pages):       Group    Reserved      In Use        Type
  Total (0 bytes reserved)                         0           0

No paging files are installed.
  Total committed paging file usage:                                     605

Of the physical pages in use, 597364 pages are permanently allocated to OpenVMS.

SDA>



More information about the Info-vax mailing list