Thursday, July 12, 2012

Installing RSX-11M 4.6 from scratch - Part 2: System generation (SYSGEN)

SYSGEN process

We ended the first post of this series with a bootable baseline system. This is a generic system, which has to be tailored to our desired configuration. This process is named SYSGEN (system generation) and consists of three steps or phases. The phases 1 and 2 can be chained together, while the phase 3 has to be executed manually. At the end of SYSGEN we will have a RSX11M system tailored to our hardware configuration and ready to boot.

SYSGEN can also be used to customize the executive ("kernel") characteristics, and to select which features we want to have generated. In this example we will NOT do that kind of advanced configuration. We will choose the "standard function" configuration, which will build a quite complete system. We will also select the option to support DECNET-11 just in case we want/can install it in the future.

SYSGEN phase 1 and 2

The console log that follows corresponds to the preparation and execution of the first two phases of SYSGEN. As before, the user input is highlighted in bold and the log has been minimally edited to improve readability.

As you will see, this SYSGEN run used the autoconfig facility to find out the CSR and interrupt vectors for the configured devices. Take into account that ACF is not always available. For instance, if you SYSGEN from an online system you will have to enter that information by hand. The SIMH show config command will tell you the necessary information... if you are using a simulated system!

Notice: Please take into account the warning note about questions 53 and 54. I found that mistake after publishing this log. I plan to do a new log and replace this one for a corrected one, but in the interim, please, please, don't use DB0: as your CDA device!


sim> boot rp

  RSX-11M V4.6 BL56   124.K MAPPED (BASELINE)

>RED DB:=SY:
>RED DB:=LB:
>MOU DB:RSXM56
>@DB:[1,2]STARTUP
>* PLEASE ENTER TIME AND DATE (HR:MN DD-MMM-YY) [S]: 10:27 12-jul-92
>TIM 10:27 12-jul-92

>* ENTER LINE WIDTH OF THIS TERMINAL [D D:132.]: 
>SET /BUF=TI:132.
>ACS SY:/BLKS=1024.
>@ <eof>
>
>set /uic=[200,200]
>@SYSGEN
>;
>; RSX-11M V4.6 BL56   System Generation PHASE I -- Version 04.17
>
>; 12-JUL-92 10:27:16
>; Big disk distribution kit
>;

>*  1. Autoconfigure the host system hardware? [Y/N]: y
>INS $ACF.BSL
>INS $ACO
>ACF
>ACO SHOW
Processor Type:  11/45          Memory Size:  124. Kw

Options:

        Floating Point Processor (FP11)
        Extended Instruction Set (EIS)
        Switch Register (SWR)
        Display Register
        Parity Memory

Name    Vector     CSR      Unit    Type      Remark
DLA      160      174400                     
                             0      RL02     
                             1      RL02     
                             2      RL01     
                             3      RL01     
RHA      254      176700                      Mixed Massbus devices
                             0      RP06     
                             1      RP06     
                             2      RM03     
                             3      RM03     
                             4      RM03     
                             5      RM03     
                             6      RM03     
                             7      RM03     
MSA      224      172522                     
LPA      200      177514                     
PRA      070      177550                     
PPA      074      177554                     
YLA      060      177560                     
YZA      300      160100                     

>ACO SYSGEN
>REM ACF
>REM ACO
>*  2. Do you want to override Autoconfigure results? [Y/N]: 
>*  3. Do you want to inhibit execution of MCR commands (PREPGEN)? [Y/N]: 
>INS $PIP
>INS $UFD
>INS $EDI
>INS $LBR
>INS $INI
>INS $MAC
>*  4. Have you made a copy of the distribution kit? [Y/N]: y
>*  5. Are you generating an unmapped system? [Y/N]: n
>*  6. Use an input saved answer file? [Y/N]: n
>*  8. Do you want a Standard Function System? [Y/N]: y
>;
>; Standard Function System - Phase I SYSGEN
>;
>*  9. Name of output saved answer file [D: SYSSAVED.CMD] [S]: 
>;
>; Phase I output saved answers created in file DB0:[200,200]SYSSAVED.CMD;1
>;
>* 14. Clean up files from previous GENs? [Y/N]: y
>* 15. Chain to Phase II after Phase I completes? [Y/N]: y
>SET /UIC=[1,1]
>PIP [1,20]RSXBLD.CMD;*/DE/NM
>PIP [1,24]RSXBLD.CMD;*/DE/NM,TTDRVBLD;*
>PIP [1,50]SYSVMR.CMD;*/DE/NM,[1,54]SYSVMR;*
>PIP [11,20]*.OBJ;*/DE/NM,*.UDC;*,*.ICR;*,*.IDS;*,*.PCS;*
>PIP [11,24]*.OBJ;*/DE/NM,*.UDC;*,*.ICR;*,*.IDS;*,*.TTY;*,*.PCS;*
>PIP [11,30]*.LST;*/DE/NM,[11,34]*.LST;*
>PIP [11,10]RSXMC.MAC;*/DE/NM,ICTAB;*,[200,200]SGNPARM.CMD;*
>PIP [200,200]RSXBLD.CMD;*/DE/NM,TTDRVBLD;*
>PIP SY:[11,20]RSXASM.CMD;*/DE/NM,RSXDRVASM;*,[12,20]MCRSETASM;*
>PIP SY:[11,24]RSXASM.CMD;*/DE/NM,RSXDRVASM;*,[12,20]MCRSETASM;*
>PIP SY0:[11,24]RSXASM.CMD;*/DE/NM,RSXDRVASM;*,[12,24]MCRSETASM;*
>PIP /FR

DB0: has 300552. blocks free, 40118. blocks used out of 340670.
Largest contiguous space = 164956. blocks
9459. file headers are free, 1108. headers used out of 10567.

>SET /UIC=[11,10]
>;
>; Target configuration
>;
>* 10. Line frequency:   A- 60 Hz    B- 50 Hz   [D: A] [S]: 
>;
>; The response to the following question specifies the highest interrupt
>; vector.  If you respond with a value less than or equal to 400, SYSGEN
>; will assign the value associated with the highest interrupt vector
>; specified during the Peripheral Section.  Therefore, if your system
>; will include devices that are not specified during the Peripheral
>; Section and which have vectors above 400 (devices such as K-series and
>; certain communication devices), specify that value in the next question.
>;
>* 14. Highest interrupt vector [O R:0-774 D:0]: 
>;     For device configuration: "*" Prints device table, "." Terminates inquiry
>;                               "?" Prints current configuration
>;     Enter devices and number of controllers for devices which require drivers
>;
>;     Current system configuration:
>;
>;     DB=1, DL=1, LP=1, MS=1, NL=1, PP=1, PR=1, CO=1
>;     YL=1, YZ=1
>* 15. Devices [S]: .
>;
>; Processor:11/45   Memory Size:124K,Mapped   System:RSX-11M
>;
>;           Switch Register
>;           Floating Point Processor
>;           Extended Instruction Set
>;           Parity Memory
>;
>; Host configuration
>;
>*  1. Is a line printer available? [Y/N]: n
>*  3. Does the listing/map device have at least 120 columns? [Y/N]: 
>*  4. Assembly listings device (ddu:) [D: "NL:"] [S]: 
>*  5. Map device for Executive and device drivers (ddu:) [D: SY0:] [S]: 
>;
>; Executive Options
>;
>;     Cancel selective marktime support will be included
>;
>;     Answer Y(ES) if the following support is desired
>;
>* 30. Executive Debugging Tool (XDT)? [Y/N]: 
>* 32. Include support for communications products (such as DECnet)? [Y/N]: y
>;
>;  If you will be generating DECnet into this system, be sure you have
>;  read the section on SYSGEN requirements in the  "RSX DECnet Network
>;  Generation and Installation Guide." 
>;  Several  DECnet  features  (eg. remote terminal support,  11S  task 
>;  loading/upline dumping, etc.) require special  consideration during
>;  SYSGEN.
>;
>* 32A. Include Network Command Terminal support? [Y/N]: y
>;     Checkpointing support will be included

WARNING: The answers to the questions 53 and 54 are WRONG. Terribly wrong. DON'T USE YOUR SYSTEM DISK AS THE CDA DEVICE! If the system crashes the dump will render yout disk unbootable! Use whatever else device you have configured. A tape device like MS0: can be a good option. Answer MS0: to the question number 53, and you will get reasonable defaults for the CSR in question 54.

sim> boot rp
>* 53. Enter CDA memory dump device mnemonic (ddu:) [S R:3-4]: db0:
>* 54. Enter CDA memory dump device CSR [O R:160000-177700 D:176700]: 
>* 56. RT-11 emulation support? [Y/N]: 
>;
>;
>; Terminal driver options
>;      The Full Duplex Terminal Driver will be included.
>;
>; System Options
>;
>;
>;     Answer Y(ES) if the following support is desired
>;
>* 2A. Include support for the IP11 Industrial I/O Subsystem? [Y/N]: n
>* 11. What name would you like to give your system [D: RSX11M] [S R:0-6]: 
>* 12. Do you want SPM-11 support? [Y/N]: 
>;
>;     Thinking ...
>; End of Executive option generation at 10:28:24 on 12-JUL-92
>;
>; Peripheral configuration
>;
>;     Parameters  appearing  in  square  brackets  "[...]"  can  only be
>;     specified  for  the  first  controller  of  a  particular  device.
>;     Parameters appearing in parentheses "(...)" only need be specified
>;     if   the  indicated  option  is  present  on  the  target  system.
>;    
>;     The   default  for  loadable  drivers  has  been  set  to  *TRUE*.
>;     To override this setting enter R (resident) as the first parameter
>;     for    the    first    controller   of   the   specified   device.
>;    
>; A/D and Laboratory devices: None specified
>;
>; Interprocessor communication devices: None specified
>;
>; Unit record devices: LP, PR, PP
>;
>; Disks: DB, DL
>;
>; Tapes: MS
>;
>; Non-physical (pseudo) devices: CO, NL, TI, CL, LB, SY
>;
>; Terminal interface devices: YL, YZ
>;
>SET /UIC=[1,24] ! Creating TTDRVBLD.CMD
>SET /UIC=[11,10]
>; End of interrupt vector area has been set to 400
>;
>;
>; Create Executive build files
>;
>PIP RSXMC.MAC=SY0:RSXMC0.MAC/AP
>ASN SY:=LB:
>;
>; Start of Executive assembly at 10:28:31 on 12-JUL-92
>SET /UIC=[11,24]
>MAC @SY:RSXASM
>;
>; End of Executive assembly at 10:29:26 on 12-JUL-92
>;
>; Start of MCR (subset) assembly at 10:29:26 on 12-JUL-92
>SET /UIC=[12,24]
>PIP *.OBJ;*/DE/NM
>MAC @SY:MCRSETASM
>;
>; End of MCR (subset) assembly at 10:29:43 on 12-JUL-92
>;
>;
>; Start of device drivers assembly at 10:29:43 on 12-JUL-92
>SET /UIC=[11,24]
>MAC @SY:RSXDRVASM
>;
>; End of device drivers assembly at 10:30:34 on 12-JUL-92
>ASN =LB:
>;
>; Prepare for task building
>;
>SET /UIC=[1,24]
>PIP RSX11M.OBS=[11,24]*.OBJ
>PIP TTDRV.OBJ=[11,24]*.TTY
>LBR RSX11M/CR:100.:1010.:128./-EP=RSX11M.OBS
>LBR TTDRV/CR:30.:380.:64.=TTDRV
>PIP [1,24]MCR.OBJ/NV/NM=[12,24]*.OBJ
>PIP [12,24]*.OBJ;*/DE/NM
>PIP /NV=[11,10]RSXBLD.CMD
>PIP [11,10]RSXBLD.CMD;*/DE/NM
>REM LBR
>;
>; Clean-up extraneous object files
>;
>PIP RSX11M.OBS;*/DE/NM,TTDRV.OBJ;*,[11,24]*.OBJ;*,*.TTY;*
>REM MAC
>REM UFD
>REM INI
>REM PIP
>REM EDI
>;
>;  End of SYSGEN phase I at 10:30:37 on 12-JUL-92
>;      -- Chaining to [200,200]SYSGEN2.CMD
>;
>SET /UIC=[200,200]
>;
>; RSX-11M V4.6 BL56  System Generation PHASE II -- Version 3.02
>;
>; 12-JUL-92 10:30:37
>;
>;
>; Big disk distribution kit SYSGEN version 04.17 for RSX-11M BL56  
>;
>; Continuation from SYSGEN PHASE I done on 12-JUL-92 at 10:30:37
>;
>; SYSGEN assumes that the map disk is already mounted in SY0: with
>; UFD [1,34].
>;
>;
>INS $PIP
>INS $EDI
>INS $LBR
>INS SY:[1,54]TKB.TSK/TASK=...TKL
>;
>; Standard Function System - Phase II SYSGEN
>;
>;
>; Phase II output saved answers created in file DB0:[200,200]SYSSAVED.CMD;1
>;
>ASN SY:=LB:
>PIP /FR

DB0: has 300182. blocks free, 40488. blocks used out of 340670.
Largest contiguous space = 164956. blocks
9448. file headers are free, 1119. headers used out of 10567.

>;
>; Start of library build at 10:30:38 on 12-JUL-92
>;
>SET /UIC=[1,1]
>PIP LB:ANSLIB.OLB/NV=LB:SYSLIB.OLB
>LBR LB:ANSLIB/RP=SY0:FCSMTA
Module "ANSPAD" replaced
Module "ASSLUN" replaced
Module "BIGBUF" replaced
Module "CLOSE " replaced
Module "CONTRL" replaced
Module "CREATE" replaced
Module "DIRECT" replaced
Module "FCSTYP" replaced
Module "GET   " replaced
Module "GETSQ " replaced
Module "OPEN  " replaced
Module "OPENR " replaced
Module "OPFID " replaced
Module "OPFNB " replaced
Module "PARSFN" replaced
Module "POINT " replaced
Module "PUT   " replaced
Module "PUTSQ " replaced
Module "RDWAIT" replaced
Module "RETADR" replaced
Module "RSTFDB" replaced
Module "RWBLK " replaced
Module "RWLONG" replaced
Module "WATSET" replaced
Module "WTWAIT" replaced
Module "WTWATD" replaced

>SET /UIC=[1,24]
>LBR SY0:MCR/RP=SY0:MCR.OBJ
Module "DV2OV " replaced
Module "SPSOV " replaced
Module "STSUB " replaced
Module "SX1OV " replaced
Module "SX2OV " replaced
Module "SX3OV " replaced
Module "SX4OV " replaced
Module "ST5OV " replaced
>;
>; End of library build at 10:30:43 on 12-JUL-92
>;
>;
>; Start of Executive task build at 10:30:43 on 12-JUL-92
>;
>PIP [1,34]*.*;*/DE/NM
>TKL @LB:RSXBLD
>;
>; End of Executive task build at 10:30:47 on 12-JUL-92
>;
>;
>; Start of system image creation at 10:30:47 on 12-JUL-92
>;
>SET /UIC=[1,54]
>PIP RSX11M.SYS/CO/NV/BL:498.=RSX11M.TSK
>;
>; End of system image creation at 10:30:47 on 12-JUL-92
>;
>;
>; Start of full duplex terminal driver task build at 10:30:47 on 12-JUL-92
>;
>SET /UIC=[1,24]
>TKL @LB:TTDRVBLD
>;
>; End of full duplex terminal driver task build at 10:30:49 on 12-JUL-92
>;
>;
>; Start of loadable driver task build at 10:30:49 on 12-JUL-92
>;
>TKL @SY0:CODRVBLD
>TKL @SY0:DBDRVBLD
>TKL @SY0:DLDRVBLD
>TKL @SY0:LPDRVBLD
>TKL @SY0:MSDRVBLD
>TKL @SY0:PPDRVBLD
>TKL @SY0:PRDRVBLD
>;
>; End of loadable driver task build at 10:30:51 on 12-JUL-92
>;
>;
>; Start of common block task build at 10:30:51 on 12-JUL-92
>;
>; Build the ANSLIB flavor of the FCS resident library common
>;
>;
>; SYSGEN assumes that the map disk is mounted in SY0: 
>; and that UFD [1,34] exists on it.
>;
>;
>; Creating the task build .CMD and .ODL files in SY:[1,24]
>;
>TKL @SY:[1,24]FCSRS1BLD.CMD
>;
>; End of common block task build at 10:30:53 on 12-JUL-92
>;
>;
>; Start of privileged task build at 10:30:53 on 12-JUL-92
>;
>;
>;      Note that the following tasks will be built for your system:
>;
>;       BOO    DMO     COT     FCPMDL  ICP     INI     INS     
>;       PMT    MCR     DCL     MOU     QMG     QMGCLI  QMGPRT  
>;       LPP    F11MSG  MTAACP  SAV     TKTN    UFD     LOA     
>;       UNL    PMD     RMD     SHF     ACNT    BYE     HEL     
>;       BRO    SHUTUP  ACS     ERRLOG  ELI     
>;
>;
>;
>;
>; It is assumed that [1,1]FCSRES.STB is an ANSLIB version of the FCS
>; resident library
>;
>;
>; Creating the task build .CMD and .ODL files in SY:[1,24]
>;
>TKL @SY:[1,24]BOOBLD.CMD
>TKL @SY:[1,24]DMOBLD.CMD
>TKL @SY:[1,24]COTRESBLD.CMD
>TKL @SY:[1,24]FCPMDLBLD.CMD
>TKL @SY:[1,24]ICPBLD.CMD
>TKL @SY:[1,24]INIBLD.CMD
>TKL @SY:[1,24]INSBLD.CMD
>TKL @SY:[1,24]PMTBLD.CMD
>TKL @SY:[1,24]MCMBLD.CMD
>TKL @SY:[1,24]DCLBLD.CMD
>TKL @SY:[1,24]MOUBLD.CMD
>TKL @SY:[1,24]QMGRESBLD.CMD
>TKL @SY:[1,24]QCLRESBLD.CMD
>TKL @SY:[1,24]QPRBLD.CMD
>TKL @SY:[1,24]LPPRESBLD.CMD
>TKL @SY:[1,24]F11MSGBLD.CMD
>TKL @SY:[1,24]MTABLD.CMD
>TKL @SY:[1,24]SAVBLD.CMD
>TKL @SY:[1,24]TKNBLD.CMD
>TKL @SY:[1,24]UFDBLD.CMD
>TKL @SY:[1,24]LOABLD.CMD
>TKL @SY:[1,24]UNLRESBLD.CMD
>TKL @SY:[1,24]PMDRESBLD.CMD
>TKL @SY:[1,24]RMDBLD.CMD
>TKL @SY:[1,24]SHFBLD.CMD
>TKL @SY:[1,24]ACNRESBLD.CMD
>TKL @SY:[1,24]BYEBLD.CMD
>TKL @SY:[1,24]HELRESBLD.CMD
>TKL @SY:[1,24]BROBLD.CMD
>TKL @SY:[1,24]SHUBLD.CMD
>TKL @SY:[1,24]ACSRESBLD.CMD
>TKL @SY:[1,24]ERLBLD.CMD
>TKL @SY:[1,24]ELIRESBLD.CMD
>;
>; End of privileged task build at 10:32:10 on 12-JUL-92
>;
>;
>; Start of system VMR at 10:32:10 on 12-JUL-92
>;
>SET /UIC=[1,54]
>;
>INS $BOO;-1
>INS $VMR;-1
>ASN SY:=LB:
>VMR @SYSVMR
VMR -- *DIAG*-Partition reduced to executive common size
INS EXCOM1
VMR -- *DIAG*-Partition reduced to executive common size
INS EXCOM2
VMR -- *DIAG*-Loadable driver larger than 4K
LOA TT:
VMR -- *DIAG*-Installed tasks may no longer fit in partition
SET /TOP=DRVPAR:-*
POOL=1200:10746.:10746.
EXCOM1 117734 120000 014700 MAIN COM
EXCOM2 117670 134700 010200 MAIN COM
LDRPAR 117624 145100 002600 MAIN TASK
TTPAR  117260 147700 040000 MAIN TASK
DRVPAR 116734 207700 013300 MAIN SYS 
       116670 207700 002100 SUB  DRIVER - DB:
       116570 212000 002100 SUB  DRIVER - DL:
       116470 214100 001100 SUB  DRIVER - LP:
       116370 215200 004500 SUB  DRIVER - MS:
       116270 221700 000500 SUB  DRIVER - PP:
       116170 222400 000300 SUB  DRIVER - PR:
       116070 222700 000300 SUB  DRIVER - CO:
SYSPAR 116024 223200 011700 MAIN TASK
FCSRES 115760 235100 040000 MAIN COM
FCPPAR 115714 275100 024200 MAIN SYS 
GEN    115650 321300 436500 MAIN SYS 
LDR... 13.02  117510 LDRPAR 248. 002600 LB0:-00104414 FIXED
TKTN   05.00  111164 SYSPAR 248. 011700 LB0:-00110230
...RMD 03.00  114510 GEN    225. 027200 LB0:-00112200
F11MSG 13.00  113600 GEN    200. 005700 LB0:-00110247
MTAACP 15.01  113464 GEN    200. 014700 LB0:-00111734
...DMO 04.00  114144 GEN    160. 014600 LB0:-00107317
MCR... 07.00  112440 SYSPAR 160. 011700 LB0:-00110133
...DCL 5.04   112324 GEN    160. 051500 LB0:-00110610
...MOU 27.01  111644 GEN    160. 037700 LB0:-00110465
...MCR 07.00  111300 GEN    160. 020000 LB0:-00110274
F11ACP 06.01  115534 FCPPAR 149. 024200 LB0:-00107413
ERRLOG 2.00   114030 GEN    148. 040000 LB0:-00112575
PMT... 2.00   113004 GEN    148. 006300 LB0:-00107573
COT... 2.0    115420 GEN    145. 013600 LB0:-00107336
PMD... 08.01  112670 GEN    140. 016200 LB0:-00111625
SHF... 6.00   111414 SYSPAR 105. 011700 LB0:-00111665
...INS 9.01   113120 GEN    100. 034600 LB0:-00110062
...SAV 05.00  111530 GEN    100. 033300 LB0:-00112116
...UFD 05.00  111050 GEN    100. 005700 LB0:-00110261
QMG... 03.04  115304 GEN     75. 031700 LB0:-00110543
PRT... 2.0    114740 GEN     70. 001100 LB0:-00110243
LP0    06.00  114624 GEN     70. 014500 LB0:-00111522
...ACS 3.00   114374 GEN     70. 005000 LB0:-00111722
...AT. 9.0    113234 GEN     64. 060000 LB0:-00107665
...QUE 05.01  115170 GEN     50. 020100 LB0:-00111327
...PRI 05.01  115054 GEN     50. 020100 LB0:-00111327
...BOO 06.02  114260 GEN     50. 022000 LB0:-00107251
...ELI 1.00   113714 GEN     50. 017300 LB0:-00112641
...MAG 03.00  113350 GEN     50. 031500 LB0:-00110162
...LOA 04.02  112554 GEN     50. 032600 LB0:-00111570
...HEL 04.00  112210 GEN     50. 024100 LB0:-00112451
...BYE 07.00  112074 GEN     50. 012700 LB0:-00111705
...BRO 07.00  111760 GEN     50. 030400 LB0:-00112516
...UNL 4.02   110734 GEN     50. 024500 LB0:-00111471
LP0:    Loaded
PP0:    Loaded
PR0:    Loaded
DB0:    Loaded
DB1:    Loaded
DL0:    Loaded
DL1:    Loaded
DL2:    Loaded
DL3:    Loaded
MS0:    Loaded
CO0:  TT0:
TT0:    Loaded
TT1:    Loaded
TT2:    Loaded
TT3:    Loaded
TT4:    Loaded
TT5:    Loaded
TT6:    Loaded
TT7:    Loaded
TT10:    Loaded
NL0:  
TI0:  
CL0:  TT0:
LB0:  DB0:
SY0:  DB0:
>;
>; End of system VMR at 10:32:12 on 12-JUL-92
>;
>;
>; An alternate version of SYSLIB.OLB, the system object library, was
>; created to provide support for ANSI magtape/FCS big-buffering (which
>; you selected in Phase I).  You may want to rebuild DMP, FLX, PIP, and 
>; VFY in Phase III to use ANSLIB.OLB.  Note, however, building tasks with
>; ANSLIB.OLB causes an increase in the size of tasks as compared to the
>; SYSLIB.OLB version of the tasks.
>;
>; A memory resident library of FCS routines (which you selected in Phase I)
>; was built to help reduce task memory requirements.  You may want to rebuild
>; tasks in Phase III to link to the FCS resident library.
>; 
>; When SYSGEN finishes, boot in your target system, and save the system with a
>; bootstrap.  For example:
>;
>;     >BOO [1,54]RSX11M
>;      RSX11M V4.6 BL56 
>;
>;
>;      >TIM 12:00 14-JUN-85
>;     >SAV /WB
>; 
>;      RSX11M V4.6 BL56        124.K   MAPPED
>;     >RED DB:=SY:
>;     >RED DB:=LB:
>;     >MOU DB:RSXM56
>;     >@DB:[1,2]STARTUP
>;     .
>;     .
>;     .
>;
>REM PIP
>REM EDI
>REM LBR
>REM TKL
>;
>; End of SYSGEN phase II at 10:32:12 on 12-JUL-92
>;
>SET /UIC=[200,200]
>@ <eof>
>boot [1,54]rsx11m
RSX11M V4.6 BL56  

>
  SAV /WB

  RSX-11M V4.6 BL56   124.K MAPPED

>RED DB:=SY:
>RED DB:=LB:
>MOU DB:RSXM56
>@DB:[1,2]STARTUP
>* PLEASE ENTER TIME AND DATE (HR:MN DD-MMM-YY) [S]: 10:35 12-JUL-92
>TIM 10:35 12-JUL-92
>* ENTER LINE WIDTH OF THIS TERMINAL [D D:132.]: 
>SET /BUF=TI:132.
>ACS SY:/BLKS=1024.
>;
>; This system startup command file (LB:[1,2]STARTUP.CMD) contains a
>; template of commands to initialize the queue print spooler and queue
>; LP0:, initialize the error logger, initialize the DCL CLI, and install
>; the RMS Library and Utilities.  As is these commands are commented out
>; and are not executed.  To include these commands as part of the
>; startup procedure, edit the file to remove the period and semi-colon
>; (.;) comment delimiter from the beginning of each line.  These
>; commands may be useful for initializing the various facilities for
>; your installation or else they may provide a model with which to
>; tailor initialization commands for your particular installation. 
>;
>@ <eof>

Note about VMR

As seen in the log, the SYSGEN procedure executes automatically VMR to generate the bootable system image. This automatic execution happens only when you are SYSGENing a baseline system. If you have to SYSGEN again a running, online system, SYSGEN does not execute VMR for you. This is an important difference between 11M and 11M+. In that case, you have to add some magic to get a correct VMR execution:

>SET /UIC=[1,54]
>ASN DB0:=LB:
>INS DB0:VMR
>VMR @SYSVMR.CMD

Then you can soft-boot the new system and save the image to disk:

>BOOT RSX11M
.
.
.
>SAV /WB

SYSGEN Phase 3

During phase 3 we can build/rebuild the system tasks, both privileged and non-privileged. This will allow us to patch or modify the tasks, or add tasks which are not built by default. You will probably want to build at least EDT (unless you like the default editor, EDI). In this example we will be building ALL the non-privileged tasks. If you are using real hardware you will not want to do this, since it will take a lot of time; using emulated hardware that is a non-issue, so I'll built all the stuff...

>SET /UIC=[200,200]
>@SYSGEN3
>INS $PIP
>INS $EDI
>INS SY:[1,54]TKB.TSK;1/TASK=...TKL
>;
>; RSX-11M V4.6 System Generation PHASE III -- Version 04.06
>;
>; 12-JUL-92 10:35:22
>;
>*  1. In what UIC is SGNPARM.CMD if not in [200,200] [S]: 
>;
>; Big disk distribution kit SYSGEN version 04.17 for RSX-11M BL56  
>;
>; Continuation from SYSGEN PHASE I done on 12-JUL-92 at 10:30:37
>;
>*  2. Are you building nonprivileged tasks? [Y/N]: Y
>*  4. Enter map device (ddu:) [D: NL:] [S]: 
>ASN SY:=LB:
>;
>;      For nonprivileged tasks:  * -- Prints the table of tasks
>;                                % -- Builds all tasks
>;                                . -- Terminates inquiry
>;
>;      Enter responses separated by commas.  All responses need
>;      not fit on one line.
>;
>; Example:  BAD,LBR,PIP,.
>;
>* 5. Enter task name(s) [S]: *
>;
>;      Nonprivileged tasks:
>;
>;              BAD     BRU     CDA     CFL     CMP
>;              CRF     DMP     DSC     EDI     EDT
>;              FLX     FMT     FTB     IOX     LBR
>;              MAC     PAT     PIP     RPT     SLP
>;              TKB     VFY     VMR     ZAP
>;
>* 5. Enter task name(s) [S]: %
>;
>; [1,1]FCSRES.STB can be used to build many tasks
>; so that those tasks link to the FCS resident library
>;
>*  6. Use [1,1]FCSRES.STB when building those tasks? [Y/N]: 
>;
>; LB:[1,1]ANSLIB.OLB can be used to build certain tasks
>; so that those tasks have ANSI/big-buffered support
>;
>*  7. Use LB:[1,1]ANSLIB.OLB when building those tasks? [Y/N]: 
>* 11. Pause to edit any task build .CMD or .ODL files? [Y/N]: 
>* 12. Delete task build .CMD and .ODL files after task building? [Y/N]: 
>SET /UIC=[1,24]
>;
>; Creating the task build .CMD and .ODL files in SY:[1,24]
>;
>TKL @SY:[1,24]BADBLD.CMD
>TKL @SY:[1,24]BRUBLD.CMD
>TKL @SY:[1,24]CDABLD.CMD
>TKL @SY:[1,24]CFLBLD.CMD
>TKL @SY:[1,24]CMPBLD.CMD
>TKL @SY:[1,24]CRFBLD.CMD
>TKL @SY:[1,24]DMPBLD.CMD
>TKL @SY:[1,24]DSCBLD.CMD
>TKL @SY:[1,24]EDIBLD.CMD
>TKL @SY:[1,24]EDTBLD.CMD
>TKL @SY:[1,24]FLXBLD.CMD
>TKL @SY:[1,24]FMTBLD.CMD
>TKL @SY:[1,24]FTBBLD.CMD
>TKL @SY:[1,24]IOXBLD.CMD
>TKL @SY:[1,24]LBRBLD.CMD
>TKL @SY:[1,24]MACBLD.CMD
>TKL @SY:[1,24]PATBLD.CMD
>TKL @SY:[1,24]PIPBLD.CMD
>TKL @SY:[1,24]RPTBLD.CMD
>TKL @SY:[1,24]SLPBLD.CMD
>TKL @SY:[1,24]TKBBLD.CMD
>TKL @SY:[1,24]VFYBLD.CMD
>TKL @SY:[1,24]VMRBLD.CMD
>TKL @SY:[1,24]ZAPBLD.CMD
>ASN =LB:
>REM PIP
>REM EDI
>REM TKL
>SET /UIC=[200,200]
>@ <eof>
>RUN $SHUTUP

RSX11M SHUT DOWN PROGRAM


Enter minutes to wait before shutdown: 0
OK to shutdown? [Y/N]: Y
 All further logins are disabled 
 12-JUL-92 10:37 System is now shutting down -- RSX11M

@LB:[1,2]SHUTUP


>
ACS DB0:/BLKS=0.
ACS -- Checkpoint file now inactive
>
DMO DB0:/DEV

DMO -- System disk being dismounted
DMO -- SYSTEM  dismounted from DB0:    *** Final dismount initiated ***
10:37:40  *** DB0: -- Dismount complete

>
SHUTUP operation complete

HALT instruction, PC: 124122 (CLRB @#177776)
sim> quit
Goodbye
And this is it! Now we have a bootable, complete RSX11M system. The only missing things are the HELP support, the configuration of the STARTUP.CMD procedure and the creation and management of the accounts file, which we will leave for the third and last post of the series. Meanwhile, I suggest to make another copy of the RP06.000 file so we can revert to a pristine system just in case we break it badly during our experimentation...

Credits

I've added a pair of improvements and corrected a quite big error as suggested by Oleg Safiullin. Thanks, Oleg for your help.

9 comments: