Installing Ultrix V1.1 on SIMH

From Computer History Wiki
Jump to: navigation, search

Introduction

The aim of this tutorial is to show how to install Ultrix V1.1 on the supported SIMH MicroVAX / VAX simulators.

>>> All user input is formatted in bold <<<

The installation includes:

  • Ultrix V1.1 Mini System
  • Ultrix V1.1 Full System
  • All Ultrix V1.1 Software Subsets
  • Local Area Network Configuration

Preparations

Suitable SIMH MicroVAX / VAX Simulators

You can choose between the following MicroVAX / VAX Models resp. SIMH simulators that are supported by Ultrix V1.1:

MicroVAX / VAX Model SIMH simulator
MicroVAX I microvax1
MicroVAX II microvax2
VAX-11/780 vax780
VAX-11/750 vax750
VAX-11/730 vax730

In this tutorial I use the vax780 SIMH simulator.

The VAX-11/780 system used here consists of:

Ultrix V1.1

Get the Ultrix V1.1 installation kit here, unzip and put the files contained into the directory where the SIMH simulator resides.

vax780.ini

Use the following vax780.ini file for a VAX-11/780 system:

; Sample VAX780.ini for ULTRIX V1.1

SET QUIET

SET CPU 8M
SET CPU IDLE=QUASIJARUS

; DISABLE ALL UNUSED DEVICES
SET RP DIS 
SET RY DIS 
SET RL DIS 
SET TQ DIS 
SET TS DIS 
SET HK DIS 
SET CR DIS 

; ACTIVATE CONSOLE LOGGING
SET CONSOLE LOG=001.LOG 

; ENABLE TU77 TAPE DRIVE
SET TU ENA 
SET TU0 TU77 
ATT TU0 ultrix-32_1.1_sys_sw_1of2.tap

SET TU1 DIS 
SET TU2 DIS 
SET TU3 DIS 
SET TU4 DIS 
SET TU5 DIS 
SET TU6 DIS 
SET TU7 DIS  

; ENABLE RA81 SYSTEM DISK DRIVE
SET RQ0 RA81 
ATT RQ0 ULT011.R81 

SET RQ1 DIS 
SET RQ2 DIS 
SET RQ3 DIS 

; ENABLE DZ11 ASYNC ADAPTER
SET DZ 7B 
SET DZ LINES=16
ATT DZ 6666

; ENABLE LINE PRINTER
SET LPT ENA
ATT LPT PRINTEROUTPUT.TXT

; SET CONSOLE TO 7 BIT
SET TTI 7B 
SET TTO 7B 

; ENABLE DEUNA ETHERNET ADAPTER
SET XU ENABLE 
SET XU TYPE=DEUNA 
;ATT XU ETH0 

ATT CS ult011_console.rx1

; ====================================================================
; R10 = Boot Disk Type 
; R10 is irrelevant in case of Conversational Boot ("Ask")
; ====================================================================
; DEP R10 9 = RA0
; DEP R10 109 ; = RA1
; DEP R10 209 ; = RA2
; DEP R10  11 ; = RB (11/730)
; DEP R10   3 ; = HK
; DEP R10   2 ; = UP (???)
; DEP R10  14 ; = RL

; ====================================================================
; R11 = Boot Type
; ====================================================================
; DEP R11 0 ; = Multiuser
; DEP R11 1 ; = Multiuser Conversational (e.g. "ra(0,0)vmunix")
; DEP R11 2 ; = Single User
; DEP R11 3 ; = Single User Conversational
; DEP R11 60000010; = DIAG SUPER

; ====================================================================
; LOAD & START UTILITY FROM CONSOLE FLOPPY
; ====================================================================
; FLOAD BOOT 0 ; = Boot
; FLOAD COPY 0 ; = Copy
; RUN 2 ; = Start loaded Utility

Ultrix V1.1 Installation

Copy Mini System from Tape to Disk

Choose "Single User Conversational" boot mode, load and run "COPY" program from console floppy

sim> DEP R11 3
sim> FLOAD COPY 0
sim> RUN 2
From: ht(0,1)
To: ra(0,1)
Copy completed: 300 records copied
From: [STRG + e]
Simulation stopped, PC: 00004BCA (RET)
sim>

Boot Mini System to Create Full System on Disk

Choose "Single User Conversational" boot mode, load and run "BOOT" program from console floppy

sim> DEP R11 3
sim> FLOAD BOOT 0
sim> RUN 2
Resetting all devices...  This may not have been your intention.
The GO and CONTINUE commands do not reset devices.
Boot
: ra(0,1)vmunix
220688+77372+63260 start 0x1420
Ultrix V1.1 System #1: Thu May 9 08:45:41 EDT 1985
real mem  = 8384512
avail mem = 6916096
using 153 buffers containing 838656 bytes of memory
VAX 11/780, serial no. 1234, hardware level = 7
mcr0 (MS780-C) at address 0x20002000, 4096Kbytes, noninterleaved
mcr1 (MS780-C) at address 0x20004000, 4096Kbytes, noninterleaved
uba0 at address 0x20006000
uda0 at uba0 csr 172150 vec 774, ipl 15
ra0 at uda0 slave 0
de0 at uba0 csr 174510 vec 120, ipl 15
lp0 at uba0 csr 177514 vec 200, ipl 14
mba0 at address 0x20010000
ht0 at mba0 drive 0
tu0 at ht0 slave 0

Mind the asterisk (*) at the end of the next command!

root device? ra0*
WARNING: clock gained 44 days -- CHECK AND RESET THE DATE!
erase ^?, kill ^U, intr ^C
List of recognized distribution media devices:
    te16 ts11 ts05 tu45 tu77 tu78 tu80
    ra60 rc25 rl02 rk07
What type of drive is the distribution media
mounted on [no default]:  tu77
List of recognized disk drives to contain root filesystem:
    ra60 ra80 ra81 rk07 rm03 rm05 rm80 rp05 rp06
    rp07 rc25
What type of drive is going to contain the root filesystem [no default]:  ra81
Unit 0 is the only supported unit number
for this device.  These installation procedures
will use this unit number unless you specify an
alternate.  
Do you wish to specify an alternate unit
number (y/n) [default: n]?  n
- - - Build root file system on ra0 - - -
Warning: 538 sector(s) in last cylinder unallocated
/dev/rra0a:     15884 sectors in 23 cylinders of 14 tracks, 51 sectors
        8.1Mb in 2 cyl groups (16 c/g, 5.85Mb/g, 1856 i/g)
super-block backups (for fsck -b#) at:
 32, 11520,
- - - Check the file system - - -
** /dev/rra0a
** Last Mounted on 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2 files, 9 used, 7420 free (20 frags, 925 blocks)
- - -Rewinding tape - - -
- - - Restoring the dump image of the root - - -
** /dev/rra0a
** Last Mounted on /destination
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
704 files, 3872 used, 3557 free (21 frags, 442 blocks)
-*-*-* Root filesystem is now extracted onto -*-*-*
-*-*-*    the destination disk filesystem    -*-*-*
- - - Building the console floppy - - -
Please remove the distribution floppy from the
drive and store it in a safe place.  Insert the
VAX-11/780/785 console floppy diskette.
Press RETURN when you have done this or type
'skip' to skip this step): skip
Skipping console update
You must now reboot the new root filesystem.
When you are told the system is ready to be
halted, perform the following steps:
1) Type the following:
        ^P              (get the attention of the
                         console subsystem)
        H               (halt the processor)
        U               (unjam the SBI
        I               (initialize the processor)
2)      B ANY
3) Respond to 'Boot:' with--
        ra(0,0)vmunix
4) Respond to 'Root device?' with--
        ra0
syncing disks... done
THE PROCESSOR CAN NOW BE HALTED.
Infinite loop, PC: 80023BC4 (BRB 80023BC4)
sim>

Boot Full System, Configure and Compile Kernel

Choose "Single User Conversational" boot mode, load and run "BOOT" program from console floppy

sim> DEP R11 3
sim> FLOAD BOOT 0
sim> RUN 2
Resetting all devices...  This may not have been your intention.
The GO and CONTINUE commands do not reset devices.
Boot
: ra(0,0)vmunix
220688+77372+63260 start 0x1420
Ultrix V1.1 System #1: Thu May 9 08:45:41 EDT 1985
real mem  = 8384512
avail mem = 6916096
using 153 buffers containing 838656 bytes of memory
VAX 11/780, serial no. 1234, hardware level = 7
mcr0 (MS780-C) at address 0x20002000, 4096Kbytes, noninterleaved
mcr1 (MS780-C) at address 0x20004000, 4096Kbytes, noninterleaved
uba0 at address 0x20006000
uda0 at uba0 csr 172150 vec 774, ipl 15
ra0 at uda0 slave 0
de0 at uba0 csr 174510 vec 120, ipl 15
lp0 at uba0 csr 177514 vec 200, ipl 14
mba0 at address 0x20010000
ht0 at mba0 drive 0
tu0 at ht0 slave 0

The configuration phase starts ...

root device? ra0
erase ^?, kill ^U, intr ^C
*** Setting the System Date ***
Please specify the date (yymmddhhmm): 8506132126
Thu Jun 13 21:26:00 EDT 1985
*** Changing the Super User password ***
New password: ult011 (not echoed) 
Retype new password: ult011 (not echoed)
*** Building the Special File for the Installation Tapedrive ***
special files for ht0 are *mt{0,4,8,12}
*** Making and Extracting the /usr filesystem ***
Creating the /usr filesystem in ra0g.
Save the super-block numbers generated here.  Tape
them to the outside of the disk pack cover.  If
your pack is nonremovable, tape them to the
outside of the drive.  They can be very useful in
certain emergencies.
- - - - - - - - - - - - - - - - - - - - - - -
*** SUPER BLOCK NUMBERS FOR /USR IN FS ra0g ***
Warning: 30 sector(s) in last cylinder unallocated
/dev/rra0g:     82080 sectors in 115 cylinders of 14 tracks, 51 sectors
        42.0Mb in 8 cyl groups (16 c/g, 5.85Mb/g, 2048 i/g)
super-block backups (for fsck -b#) at:
 32, 11512, 22992, 34472, 45952, 57432, 68912, 80392,
- - - - - - - - - - - - - - - - - - - - - - -
Extracting /usr (except /usr/sys).  This
takes about 5-10 minutes
Finished
Extracting system source.  This takes
about 5-10 minutes
Finished
Checking the consistency of the /usr filesystem
on ra0g
** /dev/rra0g
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
789 files, 7555 used, 70204 free (140 frags, 8758 blocks)
Please remove the installation volume from the
installation drive and put it in a safe place.
You are through with it for this installation.
You will extract files from the rest of the kit
later in the procedure.
The DIGITAL recommended partition for the
/usr/users filesystem on an ra81 is h. 
This partition on ra0 will be cleared by
these procedures.
* * * Making filesystem for /usr/users on ra0h * * *
Warning: 28 sector(s) in last cylinder unallocated
/dev/rra0h:     759668 sectors in 1064 cylinders of 14 tracks, 51 sectors
        389.0Mb in 67 cyl groups (16 c/g, 5.85Mb/g, 2048 i/g)
super-block backups (for fsck -b#) at:
 32, 11512, 22992, 34472, 45952, 57432, 68912, 80392, 91872, 103352,
 114832, 126312, 137792, 149272, 160752, 172232, 182816, 194296, 205776, 217256,
 228736, 240216, 251696, 263176, 274656, 286136, 297616, 309096, 320576, 332056,
 343536, 355016, 365600, 377080, 388560, 400040, 411520, 423000, 434480, 445960,
 457440, 468920, 480400, 491880, 503360, 514840, 526320, 537800, 548384, 559864,
 571344, 582824, 594304, 605784, 617264, 628744, 640224, 651704, 663184, 674664,
 686144, 697624, 709104, 720584, 731168, 742648, 754128,
* * * Initializing /etc/fstab * * *
* * * Making the /usr/users directory * * *
* * * Clearing the mount table * * *
* * * Checking the filesystems * * *
** /dev/ra0a
** Last Mounted on /
** Root file system
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
716 files, 3872 used, 3557 free (21 frags, 442 blocks)
** /dev/rra0g
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
790 files, 7556 used, 70203 free (139 frags, 8758 blocks)
** /dev/rra0h
** Last Mounted on 
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
2 files, 5 used, 361855 free (7 frags, 90462 blocks)
* * * Listing Free Space on all Filesystems
Filesystem    total    kbytes  kbytes  percent
   node       kbytes    used    free   used    Mounted on
/dev/ra0a       7429    3873    2813    58%    /
/dev/ra0g      38879    3778   31213    11%    /usr
/dev/ra0h     361860       5  325669     0%    /usr/users
* * * Automatic Crash Dump Query * * *
Would you like to enable automatic crash
dumps (y/n) [y]? y
* * * System Configuration Dialogue * * *
Enter the name of your system (only capital letters) [no default]: ULTVAX
You entered ULTVAX.  Is this
correct (y/n) [y]? y
Should the running system have this name?
(i.e., should rc.local be changed to
make ultvax the hostname?) (y/n) (y): y
System is now called ultvax
Enter the  Time Zone for your area.  Choices for
the time zone are: 
    Eastern             (e)
    Central             (c)
    Mountain            (m)
    Pacific             (p)
    Greenwich           (g)
  or number of hours (in time) west of Greenwich.
Enter the Time Zone (e, c, m, p, g, # of hours): c
Does your area alternate between Daylight Savings
and Standard time [yes] ? yes
Enter Geographic area for Daylight Savings Time.
Choices are:
    USA                 (u)
    Australia           (a)
    Eastern Europe      (e)
    Central Europe      (c)
    Western Europe      (w)
Enter the Geographic area (u, a, e, c, w) [u]: w
A configuration file has been created for the 
devices this program has determined are present.
The configuration file is as follows:
ident           ULTVAX
machine         vax
cpu             "VAX780"
maxusers        32
maxuprc         25
physmem         8
timezone        6 dst 3
options         INET
options         QUOTA
config  vmunix  root on ra0a  swap on ra0b  dumps on ra0b  args on ra0b  
controller      uba0  at  nexus  ?
controller     uda0  at  uba0 csr 0172150  vector udintr  
disk            ra0  at   uda0  drive 0
device          de0  at  uba0 csr 0174510  vector deintr  
device          lp0  at  uba0 csr 0177514  vector lpintr  
controller      mba0  at  nexus  ?
master          ht0  at   mba0  drive 0
tape            tu0  at    ht0  slave 0
pseudo-device   pty
psuedo-device   loop
psuedo-device   inet
psuedo-device   ether

Don't be surprised about three time "psuedo-device" above - it's a little bug that does not matter.

Now you must manually configure your "communication devices", i.e. your two DZ11s.

The first is named dz0, the second dz1.

You need to add a communication device to the
configuration file.  You may also add other
devices that were not found by this program.
You will be asked to enter information about the
device(s) you wish to add to the configuration file.
Entering 'exit' in response to the first prompt will
terminate this portion of the configuration process.
Typing 'erase' will delete previously entered data for
the current device and return to the first prompt.
If the device(s) you choose are supported by Digital,
the name of the appropriate interrupt routines will
be supplied by the program.
First, enter the name of the device you wish to
add.  A device name is the name used by Digital to
identify the device.
Be sure to use the ULTRIX-32 name listed in
section 4 of the ULTRIX-32 SYSTEM MANAGERS guide.
The device name also includes the logical number of
the device.
For example, 'hp0' is an RM05 disk drive that is the
first 'hp' type drive on the system.
Enter the device name, ?, or 'exit' --->dz0
Next, what will be connected to this device?
A device is linked to a controller.
A device controller is connected to a massbus or
unibus.
A unibus or massbus is connected to a  nexus.
Enter the device that the dz0 is
connected to, '?', or 'erase' --->uba0
A csr is the address where the device can be found.
This address is expressed in octal
(0[0-7], i.e., 0177601).
You must enter a csr between 0160000 and 0177776.
Enter the csr, ?, or 'erase' --->0160100
Some devices require special flags so that they
may be properly configured.
Flags are usually hexidecimal numbers (0x[0-9a-f]
i.e., 0x5f). Check Section 4 of the ULTRIX-32
System Manager's Guide under the device you are
adding to determine if flags are required.
Enter flags, ?, 'erase', or 'none' --->0xff
Adding data to config file
Enter the device name, ?, or 'exit' --->dz1
Enter the device that the dz1 is
connected to, '?', or 'erase' --->uba0
Enter the csr, ?, or 'erase' --->0160110
Enter flags, ?, 'erase', or 'none' --->0xff
Adding data to config file
Enter the device name, ?, or 'exit' --->exit
Configuration file complete

Have a look at the configuration file just generated:

Do you wish to edit the configuration
file (y/n) [y]? y
Enter the name of the editor you wish to
use (use 'exit' to exit) [ed]: ed
1,$n
1       ident           ULTVAX
2       machine         vax
3       cpu             "VAX780"
4       maxusers        32
5       maxuprc         25
6       physmem         8
7       timezone        6 dst 3
8       options         INET
9       options         QUOTA
10      
11      config  vmunix  root on ra0a  swap on ra0b  dumps on ra0b  args on ra0b  
12      
13      controller      uba0  at  nexus  ?
14      controller     uda0  at  uba0 csr 0172150  vector udintr  
15      disk            ra0  at   uda0  drive 0
16      device          de0  at  uba0 csr 0174510  vector deintr  
17      device          lp0  at  uba0 csr 0177514  vector lpintr  
18      controller      mba0  at  nexus  ?
19      master          ht0  at   mba0  drive 0
20      tape            tu0  at    ht0  slave 0
21      device            dz0  at   uba0  csr  0160100  flags  0xff  vector  dzrint  dzxint
22      device            dz1  at   uba0  csr  0160110  flags  0xff  vector  dzrint  dzxint
23      
24      
25      pseudo-device   pty
26      pseudo-device   loop
27      pseudo-device   inet
28      pseudo-device   ether
w
809
q

Everthing o.k.?

The "System Configuration" process automatically starts when you have left the editor.

* * * Performing the System Configuration * * *
grep '^#include' ../net/conf_net.c ../netinet/in_proto.c ../vax/conf.c  ../data/dz_data.c ../data/ht_data.c ../data/lp_data.c  ../data/uda_data.c ../data/if_de_data.c ../data/tty_pty_data.c  ../data/af_data.c ../data/tty_conf_data.c  ../data/uipc_domain_data.c ../data/autoconf_data.c  ../data/if_to_proto_data.c  | grep -v '<' |  sed -e 's/:[^"]*"\([^"]*\)".*/: \1/'  -e 's/\.c/.o/'  -e 's,../[a-zA-Z]*/,,' >xtmp
awk ' { if ($1 != prev) { print rec; rec = $0; prev = $1; }  else { if (length(rec $2) > 78) { print rec; rec = $0; }  else rec = rec " " $2 } }  END { print rec } ' > makedep <xtmp
rm -f xtmp
echo '/^# DO NOT DELETE THIS LINE/+1,$d' >eddep
echo '$r makedep' >>eddep
echo 'w' >>eddep
cp makefile makefile.bak
ed - makefile < eddep
rm eddep makedep
cat assym.s ../vax/spt.s > spt.c
cc -E -I. -DLOCORE -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 spt.c > spt.i
as -o spt.o ${AHEADS} spt.i
ld -r locore_bin.o spt.o
cat assym.s    ubglue.s > ubglue.c
cc -E -I. -DLOCORE -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ubglue.c > ubglue.i
as -o ubglue.o ${AHEADS} ubglue.i
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../net/conf_net.c
/lib/c2 conf_net.s | ../vax/asm | as -o conf_net.o
rm -f conf_net.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../netinet/in_proto.c
/lib/c2 in_proto.s | ../vax/asm | as -o in_proto.o
rm -f in_proto.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../vax/conf.c
/lib/c2 conf.s | ../vax/asm | as -o conf.o
rm -f conf.s
touch -f -c ../h/ioctl.h
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/dz_data.c
/lib/c2 -i dz_data.s | ../vax/asm | as -o dz_data.o
rm -f dz_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/ht_data.c
/lib/c2 -i ht_data.s | ../vax/asm | as -o ht_data.o
rm -f ht_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/lp_data.c
/lib/c2 -i lp_data.s | ../vax/asm | as -o lp_data.o
rm -f lp_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/uda_data.c
/lib/c2 -i uda_data.s | ../vax/asm | as -o uda_data.o
rm -f uda_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/if_de_data.c
/lib/c2 -i if_de_data.s | ../vax/asm | as -o if_de_data.o
rm -f if_de_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/tty_pty_data.c
/lib/c2 tty_pty_data.s | ../vax/asm | as -o tty_pty_data.o
rm -f tty_pty_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/af_data.c
/lib/c2 af_data.s | ../vax/asm | as -o af_data.o
rm -f af_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/tty_conf_data.c
/lib/c2 tty_conf_data.s | ../vax/asm | as -o tty_conf_data.o
rm -f tty_conf_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/uipc_domain_data.c
/lib/c2 uipc_domain_data.s | ../vax/asm | as -o uipc_domain_data.o
rm -f uipc_domain_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/autoconf_data.c
/lib/c2 autoconf_data.s | ../vax/asm | as -o autoconf_data.o
rm -f autoconf_data.s
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ../data/if_to_proto_data.c
/lib/c2 if_to_proto_data.s | ../vax/asm | as -o if_to_proto_data.o
rm -f if_to_proto_data.s
cp ../conf/param.c .
cc -I. -c -O -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 -DTIMEZONE=360 -DDST=3 -DMAXUSERS=32 -DMAXUPRC=25 -DPHYSMEM=8 -DDMMIN=32 -DDMMAX=1024  param.c
cc -I. -c -S -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 ioconf.c
/lib/c2 ioconf.s | ../vax/asm | as -o ioconf.o
rm -f ioconf.s
cc -I. -c -O -DULTVAX -DBINARY -DVAX780 -DQUOTA -DINET -DKERNEL -DUPGRADE=0 swapvmunix.c
loading vmunix
rearranging symbols
text    data    bss     dec     hex
184660  76152   38244   299056  49030
* * * Make the Special Files for the System * * *
MAKEDEV  ra0  lp0  tu0  dz0 dz1 pty0 pty1 std
special files for tu0 are *mt{0,4,8,12}
* * * Configured kernel is in /newvmunix * * *
What will follow is the sequence of steps that you
must take to boot the newly configured ULTRIX
kernel.
If, after booting this kernel, you decide that you
need to reconfigure the kernel.  Execute the
command:
                doconfig
and peform the booting steps, shown below, again.
If the kernel is properly configured, then be sure
to save the old kernel and move the new kernel to
/vmunix, as follows:
        mv /vmunix /oldvmunix
        mv /newvmunix /vmunix
---------------------------
When you are told the system is ready to be
halted, perform the following steps:
1) Type the following:
        ^P              (get the attention of the
                         console subsystem)
        H               (halt the processor)
        U               (unjam the SBI
        I               (initialize the processor)
2)      B ANY
3) Respond to 'Boot:' with--
        ra(0,0)newvmunix
syncing disks... done
THE PROCESSOR CAN NOW BE HALTED.
Infinite loop, PC: 80023BC4 (BRB 80023BC4) sim>

Boot New Kernel and Install Software Subsets

Choose "Single User Conversational" boot mode, load and run "BOOT" program from console floppy

sim> DEP R11 3
sim> FLOAD BOOT 0
sim> RUN 2
Resetting all devices...  This may not have been your intention.
The GO and CONTINUE commands do not reset devices.
Boot
: ra(0,0)newvmunix
184632+76092+37100 start 0x1420
Ultrix V1.1 System #1: Thu Jun 13 21:29:30 EDT 1985
real mem  = 8384512
avail mem = 6898688
using 303 buffers containing 838656 bytes of memory
VAX 11/780, serial no. 1234, hardware level = 7
mcr0 (MS780-C) at address 0x20002000, 4096Kbytes, noninterleaved
mcr1 (MS780-C) at address 0x20004000, 4096Kbytes, noninterleaved
uba0 at address 0x20006000
uda0 at uba0 csr 172150 vec 774, ipl 15
ra0 at uda0 slave 0
de0 at uba0 csr 174510 vec 120, ipl 15
lp0 at uba0 csr 177514 vec 200, ipl 14
dz0 at uba0 csr 160100 vec 300, ipl 15
mba0 at address 0x20010000
ht0 at mba0 drive 0
tu0 at ht0 slave 0
WARNING: clock gained 12 days -- CHECK AND RESET THE DATE!
erase ^?, kill ^U, intr ^C
#

Install Software Subsets

# /etc/instmedia
Please mount the tape volume that contains the ULTRIX software
subsets. 
Press RETURN when the unit is online and ready: 
[STRG + e]
Simulation stopped, PC: 800017C2 (TSTL 8003FF80)
sim> ATT TU0 ultrix-32_1.1_opt_sw_2of2.tap
sim> C
[ENTER]
Here are the software subsets that you may now load into your
ULTRIX-32 system.  Note that those sets marked with a '*' are
required subsets and will be loaded automatically.
 1)     BASUTIL*        Basic ULTRIX-32 utilities package
 2)     F77             The FORTRAN-77 language
 3)     LISP            The LISP and FP languages
 4)     PASCAL          The PASCAL language
 5)     MODULA2         The Modula-2 language
 6)     GAMES           The usual array of fun and recreation
 7)     SELFHLP         Self Help programs (LEARN)
 8)     MANDOC          Documentation: /usr/man directories
 9)     CONTRIB         User Contributed Software
 10)    AUXDOC          Documentation: /usr/doc directories
 11)    VARIAN          Fonts and Varian Plotter programs
Please specify ALL of the subsets that you wish to load by number.
If you would like more detailed descriptions, type 'help'
For example, the selections: 1 2 4
would cause subsets BASUTIL F77 and PASCAL to be loaded.
and the selection: help
would cause a more detailed help message to be displayed
for each entry.
Please enter your selections: 1 2 3 4 5 6 7 8 9 10 11
You chose to add the following:  BASUTIL F77 LISP PASCAL MODULA2 GAMES SELFHLP MANDOC CONTRIB AUXDOC VARIAN
Is this correct (y/n) [n]: y
Skipping 1 fileset. . .
Loading BASUTIL. . .Finished
Skipping 1 fileset. . .
Loading F77. . .Finished
Skipping 1 fileset. . .
Loading LISP. . .Finished
Skipping 1 fileset. . .
Loading PASCAL. . .Finished
Skipping 1 fileset. . .
Loading MODULA2. . .Finished
Skipping 1 fileset. . .
Loading GAMES. . .Finished
Skipping 1 fileset. . .
Loading SELFHLP. . .Finished
Skipping 1 fileset. . .
Loading MANDOC. . .Finished
Skipping 1 fileset. . .
Loading CONTRIB. . .Finished
Skipping 1 fileset. . .
Loading AUXDOC. . .Finished
Skipping 1 fileset. . .
Loading VARIAN. . .Finished
Rewinding tape
Cleaning up.
#

Configure Networking Setup

# /etc/netsetup install
Whenever a default selection is given for a question
[shown in square brackets]  you  only  need to press
the <RETURN> key to select the default choice.
Enter an abbreviation for ultvax (for example the 1st letter): u
Are you configuring your system on a network [no] ? yes
Enter the network number for your network: 1
Enter the system number on the network for ultvax: 200
Enter the network name [ethernet]: ethernet
Enter the network alias [deunanetworks]: deunanetworks
Setting up '/etc/networks' file.
Enter  the system  name,  abbreviation, and system  number,  for each
computer on the network.  Enter these on separate lines when prompted.
This information is put into the '/etc/hosts' file.
Enter the name of the 1st system to put on your network
(<RETURN> only if no more to enter): pc
Enter the abbreviation for pc: p
Enter the system number on the network for pc: 1
Enter the name of the next system to put on your network
(<RETURN> only if no more to enter): [RETURN]
Enter  the  names of  'trusted' systems.  Trusted  systems  are
computers considered to be secure. Users on any trusted systems
can login to your system  without password verification on your
system.  Such users must have a valid account on the  'trusted'
system. This information is put in the '/etc/hosts.equiv' file.
Enter the full name of the first 'trusted' system
(<RETURN> only if none): [RETURN]
Network setup is finished.
  • Rename old kernel to "oldvmunix".
  • Rename new kernel to standard kernel name "vmunix".
# mv /vmunix /oldvmunix
# mv /newvmunix /vmunix
# ls -l /*unix
-rwxr-xr-x  1 root       334848 May  9 09:43 /genvmunix
-rwxr-xr-x  1 root       334848 May  9 09:43 /oldvmunix
-rwxr-xr-x  1 root       291840 Jun 13 20:29 /vmunix
# shutdown -h now
Shutdown at 04:58 (in 0 minutes) [pid 308]
System shutdown time has arrived
syncing disks... done
THE PROCESSOR CAN NOW BE HALTED.
Infinite loop, PC: 80023B30 (BRB 80023B30)
sim>

Boot Final System

Choose "Multiuser" boot mode from ra0, load and run "BOOT" program from console floppy

sim> DEP R10 9
sim> DEP R11 0
sim> FLOAD BOOT 0
sim> RUN 2
Resetting all devices...  This may not have been your intention.
The GO and CONTINUE commands do not reset devices.
Boot
: ra(0,0)vmunix
184660+76152+38244 start 0x1420
Ultrix V1.1 System #1: Thu Jun 13 21:28:51 EDT 1985
real mem  = 8384512
avail mem = 6897664
using 303 buffers containing 838656 bytes of memory
VAX 11/780, serial no. 1234, hardware level = 7
mcr0 (MS780-C) at address 0x20002000, 4096Kbytes, noninterleaved
mcr1 (MS780-C) at address 0x20004000, 4096Kbytes, noninterleaved
uba0 at address 0x20006000
uda0 at uba0 csr 172150 vec 774, ipl 15
ra0 at uda0 slave 0
de0 at uba0 csr 174510 vec 120, ipl 15
lp0 at uba0 csr 177514 vec 200, ipl 14
dz0 at uba0 csr 160100 vec 300, ipl 15
dz1 at uba0 csr 160110 vec 310, ipl 15
mba0 at address 0x20010000
ht0 at mba0 drive 0
tu0 at ht0 slave 0
Automatic reboot in progress...
Wed Jun 26 09:33:39 CDT 1985
/dev/ra0a: 842 files, 4185 used, 3244 free (12 frags, 404 blocks)
/dev/rra0g: 3701 files, 66427 used, 11332 free (76 frags, 1407 blocks)
/dev/rra0h: 2 files, 5 used, 361855 free (7 frags, 90462 blocks)
Wed Jun 26 09:33:47 CDT 1985
check quotas: done.
local daemons: routed telnetd ftpd talkd syslog sendmail.
preserving editor files
clearing /tmp
standard daemons: update cron accounting mail printer.
starting network: rshd rexecd rlogind rwhod.
Wed Jun 26 09:33:49 CDT 1985
Ultrix-32 V1.1 (ultvax)
login: root
Password: ult011 (not echoed)
                Digital Equipment Corporation
                Merrimack, New Hampshire.
# ifconfig de0
de0: 1.0.0.200 flags=243<UP,BROADCAST,RUNNING>
#

Edit /etc/ttys to Allow for Eight Additional Terminal Lines

The standard installation provides provision for only eight terminal lines in the terminal initialization data file /etc/ttys.

You must add eight more entries in /etc/ttys.

For first steps using the ed editor see: An introduction to the UNIX ed line editor.

# ed /etc/ttys
330
1,$n
1      14console
2      18tty00
3      18tty01
4      18tty02
5      18tty03
6      18tty04
7      18tty05
8      18tty06
9      18tty07
10     02ttyp0
11     02ttyp1
12     02ttyp2
13     02ttyp3
14     02ttyp4
15     02ttyp5
16     02ttyp6
17     02ttyp7
18     02ttyp8
19     02ttyp9
20     02ttypa
21     02ttypb
22     02ttypc
23     02ttypd
24     02ttype
25     02ttypf
26     02ttyq0
27     02ttyq1
28     02ttyq2
29     02ttyq3
30     02ttyq4
31     02ttyq5
32     02ttyq6
33     02ttyq7
34     02ttyq8
35     02ttyq9
36     02ttyqa
37     02ttyqb
38     02ttyqc
39     02ttyqd
40     02ttyqe
41     02ttyqf
9a
18tty08
18tty09
18tty10
18tty11
18tty12
18tty13
18tty14
18tty15
.
1,$n
1      14console
2      18tty00
3      18tty01
4      18tty02
5      18tty03
6      18tty04
7      18tty05
8      18tty06
9      18tty07
10     18tty08
11     18tty09
12     18tty10
13     18tty11
14     18tty12
15     18tty13
16     18tty14
17     18tty15
18     02ttyp0
19     02ttyp1
20     02ttyp2
21     02ttyp3
22     02ttyp4
23     02ttyp5
24     02ttyp6
25     02ttyp7
26     02ttyp8
27     02ttyp9
28     02ttypa
29     02ttypb
30     02ttypc
31     02ttypd
32     02ttype
33     02ttypf
34     02ttyq0
35     02ttyq1
36     02ttyq2
37     02ttyq3
38     02ttyq4
39     02ttyq5
40     02ttyq6
41     02ttyq7
42     02ttyq8
43     02ttyq9
44     02ttyqa
45     02ttyqb
46     02ttyqc
47     02ttyqd
48     02ttyqe
49     02ttyqf
w
394
q
# 

Tell your system to use the modified ttys file:

# kill -HUP 1

And look for the "getty" processes - there should be sixteeen:

# ps -axl
      F UID   PID  PPID CP PRI NI ADDR  SZ  RSS WCHAN STAT TT  TIME COMMAND
      3   0     0     0  0 -25  0  24b   0    0 404ca D    ?   0:00 swapper
1008001   0     1     0  0   5  0  be6  23    5 c1438 S    ?   0:00 init
1000003   0     2     0  0 -24  0  bda2400    0 c14d8 D    ?   0:00 pagedaemon
1008001   0    38     1  0   1  0 1126  44    7 8e360 S    ?   0:00 /etc/telnet
1008001   0    40     1  0   1  0 10fc  53   29 404ec S    ?   0:00 /etc/routed
1008001   0    44     1  0   1  0 1098  51    6 8dee0 S    ?   0:00 /etc/ftpd
1008001   0    49     1  0   1  0 1080  40    8 8df30 S    ?   0:00 /etc/talkd
1008001   1    51     1  0   1  0 1046  50   11 8dcb0 S    ?   0:00 /etc/syslog
1008001   0    58     1  0   1  0  f6c  98   63 8dbe0 S    ?   0:00 /usr/lib/se
1008201   0    67     1  0  15  0  c98  20    2 fec00 S    ?   0:00 /etc/update
1008201   0    70     1  0  15  0  f92  25    5 fec00 S    ?   0:00 /etc/cron
1008201   0    75     1  0  15  0  e9e  41    7 fec00 S    ?   0:00 /etc/comsat
1008001   0    83     1  0   1  0  ed6  50   11 404ec S    ?   0:00 /usr/lib/lp
1008001   0    89     1  0   1  0  e76  43    7 8d5e0 S    ?   0:00 /etc/rshd
1008001   0    94     1  0   1  0  c4a  40    6 8d6e0 S    ?   0:00 /etc/rlogin
1008001   0    96     1  0   1  0  d52  43    8 9c6e0 S    ?   0:00 /etc/rexecd
1008001   0    97     1  0   1  0  eb6  51   25 9c4b0 S    ?   0:00 /etc/rwhod
1008201   0   101     1  0  15  0  c0c  36   17 fec00 S    co  0:00 -csh (csh)
1008001   0   119   101  3 -25  0 1398 126   71       R    co  0:00 ps -axl
1008001   0   102     1  0   3  0  c3a  25   10 47c60 S    00  0:00 - 8 (getty)
1008001   0   103     1  0   3  0  d82  25   10 47cd8 S    01  0:00 - 8 (getty)
1008001   0   104     1  0   3  0  d90  25   10 47d50 S    02  0:00 - 8 (getty)
1008001   0   105     1  0   3  0  dca  25   10 47dc8 S    03  0:00 - 8 (getty)
1008001   0   106     1  0   3  0  df2  25   10 47e40 S    04  0:00 - 8 (getty)
1008001   0   107     1  0   3  0  e0a  25   10 47eb8 S    05  0:00 - 8 (getty)
1008001   0   108     1  0   3  0  e20  25   10 47f30 S    06  0:00 - 8 (getty)
1008001   0   109     1  0   3  0  e36  25   10 47fa8 S    07  0:00 - 8 (getty)
1008001   0   110     1  0   3  0  da8  25   10 48020 S    08  0:00 - 8 (getty)
1008001   0   111     1  0   3  0 11b2  25   10 48098 S    09  0:00 - 8 (getty)
1008001   0   112     1  0   3  0 11c8  25   10 48110 S    10  0:00 - 8 (getty)
1008001   0   113     1  0   3  0 11de  25   10 48188 S    11  0:00 - 8 (getty)
1008001   0   114     1  0   3  0 11f4  25   10 48200 S    12  0:00 - 8 (getty)
1008001   0   115     1  0   3  0 120a  25   10 48278 S    13  0:00 - 8 (getty)
1008001   0   116     1  0   3  0 1220  25   10 482f0 S    14  0:00 - 8 (getty)
1008001   0   117     1  0   3  0 1236  25   10 48368 S    15  0:00 - 8 (getty)

That's it!

# shutdown -h now
Shutdown at 04:16 (in 0 minutes) [pid 115]
System shutdown time has arrived
syncing disks... done
THE PROCESSOR CAN NOW BE HALTED.
Infinite loop, PC: 80023B18 (BRB 80023B18)
sim> exit
Goodbye
Log file closed

AA-BG58C-TE ULTRIX-32 Installation Guide, Version 1.2

Known differences between Ultrix V1.1 and V1.2:

  • File format of /etc/ttys
  •  ?