Installing System V Release 3.2.3 on the 3B2/700

NOTE: This document is under construction!

Installing UNIX System V Release 3.2.3 on the 3B2/700 is a significantly different process from installing SVR3.2 on the 3B2/400. The good news is that while the 3B2/400 installation proces involves swapping a lot of floppy disks, the 3B2/700 installation process is a little easier and involves only two SCSI tape images, available below.

ROM and Tape Images

Creating the Simulator Configuration File

The first step is to create a SIMH configuration file. Below is an example to get you started.

load -r 3b2_700.bin

set cpu 64M
set cpu idle

attach nvram nvram.bin
attach tod tod.bin

set scsi1 enable
set scsi1 sd630
attach scsi1 sd630.img

set scsi2 enable
set scsi2 st120
attach scsi2 svr323.tap

attach contty 9000

set ports enable
set ports lines=8
attach ports 9001

Optionally, if you want to use the simulated NI Ethernet card for networking, you can set up a tap device and add the following lines. Replace XX:XX with any random two 8-bit hex values, for example 01:23 or 0b:a5, your choosing. Remember them for later during installation!

set ni enabled
set ni mac=80:00:10:03:XX:XX
attach ni tap:tap0

Booting from Tape

Note: The procedure below assumes that you do not have an NI Ethernet card set up in the simulator. If you do, some messages and errors will look different. You may see additional UNKNOWN ID CODE errors during install. This is expected.

Please note, if you make a mistake while typing at any time, you can type @ to erase what you’ve typed and start over!

The initial boot will look something like this:

sim> boot
  
FW ERROR 2-01: NVRAM SANITY FAILURE
               DEFAULT VALUES ASSUMED
               IF REPEATED, CHECK THE BATTERY
  
SYSTEM FAILURE: CONSULT YOUR SYSTEM ADMINISTRATION DOCUMENTATION

Type the password mcp here, and press Enter. You’ll get a new prompt.

Enter name of program to execute [  ]: unix

Just type unix and press Enter. You’ll get another prompt asking which device to boot from.

Possible load devices are:

Option Number    Slot     Type         Name
-------------------------------------------
       0          0     INTEGRAL     FD5       
       1          1     I/O BUS                
       2          2     I/O BUS                
       3          3     I/O BUS                
       4          4     I/O BUS                
       5          0                            

Enter Load Device Option Number [1 ()]: 1

The SCSI bus is in bus slot 1, so type 1 and press Enter. You’ll get yet another prompt asking which subdevice to boot from. Please note these do not map to SCSI ids! The tape device is SCSI ID 2, but it’s really subdevice #1 on this list (the disk is subdevice 0), so type 1 and press Enter.

Possible subdevices are:

Option Number   Subdevice    Name
--------------------------------------------
       0           0
       1           1
       2           2
       3           3
       4           4
       5           5
       6           6
       7           7
       8           8
       9           9
      10          10
      11          11
      12          12
      13          13
      14          14

Enter Subdevice Option Number [0]: 1

Now the 3B2 begins the process of loading the Essential Utilities from tape.

ESSENTIAL UTILITIES

This message hangs around for a while until you see the message Rebooting. This indicates that a small miniroot has been loaded into memory, and the system is rebooting from that miniroot.

Next, the real installation begins. You’ll see some errors along the way, this is expected. It just means that not all drivers have been loaded yet. Don’t panic!

Rebooting. "/unix" does not exist
Driver not found for PORTS device (board slot 2)
Driver not found for PORTS device (board slot 3)
Driver not found for MAU device (board slot 0)

UNIX(R) System V Release 3.2.3 AT&T 3B2 Version 3
Node unix
Total real memory  = 14680064
Available memory   = 11036672

***********************************************************************

Copyright (c) 1984, 1987, 1988, 1989, 1990 AT&T - All Rights Reserved

THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T INC.
The copyright notice above does not evidence any actual or
intended publication of such source code.

***********************************************************************



UNIX System V Release 3.2.3 Installation

        1)  Full Restore
        2)  Partial Restore

When responding to a question, you may use the "backspace" key
to erase the last character  typed or the "@" key to erase the
the entire line. Enter "help" for additional information.

Selection? [ 1 2 quit help ] 

Type 1 followed by Enter. You’ll next be prompted whether you want to format the disk in /dev/dsk/c1t1d0s0, which you do. Type yes and press Enter.

Selection? [ 1 2 quit help ] 1

        - FULL RESTORE selected -


The disk /dev/dsk/c1t1d0s0 is not formatted. 
It must be formatted before it can be used.

WARNING: Formatting will destroy the data on the entire disk!

OK to format /dev/dsk/c1t1d0s0? [ yes no ] (default yes) 

The disk is then formatted.

OK to format /dev/dsk/c1t1d0s0? [ yes no ] (default yes) yes
Formatting /dev/dsk/c1t1d0s0...
Format & Verify /dev/rdsk/c1t1d0s0:
(DEL if wrong)
Begin Format (No more than 2 minutes)
Begin Verify (No more than 44 minutes)

After this, it’s time to partition the disks. The default partition layout is, in my humble opinion, not great, so we’ll change it. By default, no partition is larger than 120MB so that each filesystem will fit on a single backup tape. But I prefer to have a large /usr filesystem, so type no when prompted.

Begin Format (No more than 2 minutes)
Begin Verify (No more than 44 minutes)

Default hard disk partitioning assumes certain defaults for the dump
partition.  If this system has more than 16 megabytes (MB) of memory,
the dump partition will be set to the size of memory.  You may not want
to devote this much disk space to the dump partition.  Also, if you
anticipate adding more memory to the system and the total memory at
that time will exceed 16 MB, a full restore will be necessary to
increase the size of the dump partition.  See the documentation
supplied with your computer for more information regarding hard disk
partitioning.

Use the default hard disk partitioning? [ yes no help ] (default yes) no

You’ll be walked through setting up the partitions. Just choose default sizes for sysdump, root, and swap by pressing Enter. But for the usr partition, use all available space by typing 966400 and then Enter

Use the default hard disk partitioning? [ yes no help ] (default yes) no

How many blocks for the "sysdump" partition?
[ (0 - 131072) quit again help ] (default 131072) 

How many blocks for the "swap" partition?
[ (10106 - 1024178) quit again help ] (default 87658) 

How many blocks for the "root" partition?
[ (12636 - 949220) quit again help ] (default 109568) 

How many blocks for the "usr" partition?
[ (126684 - 966400) quit again help ] (default 245760) 966400

Making file systems on the hard disk(s)....     (please wait)

Finally, you’ll be shown the partition map that was just created, and asked if you want to go on. Just type go and press Enter to continue.

Making file systems on the hard disk(s)....     (please wait)



Disk partitioning:

*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00      87808    109568    197375   /mnt
       1      3    01        150     87658     87807
       2      4    00     197376    966400   1163775   /mnt/usr
       3      0    01    1165248    131072   1296319
       4      0    00    1163776      1472   1165247
       6      0    01          0   1296320   1296319
       7      0    01          0       150       149

This completes the interactive partitioning of your core system.  Enter
"go" if you are ready to proceed.  Enter "again" to specify
different partitioning.

Type "go" to proceed, "again" to start over [ go again ] go

This begins the process of installing the initial core system files.

Type "go" to proceed, "again" to start over [ go again ] go

Installing the initial core system files.
8970 blocks

You may remove the tape.



Performing the "Finishing Touches"...

        Making /dev/root & /dev/swap nodes.
        Making hard disk bootable.
        Linking files.

Installation is now complete. The system is restarting itself from
the hard disk. It will be ready to use when you receive the "Console
Login" prompt. This should take about 10 minutes depending on your
configuration.
  

At this point, the system automatically reboots off of the hard disk where the base UNIX system was just installed.

SELF-CHECK

DIAGNOSTICS      PASSED

"/unix" does not exist

UNIX(R) System V Release 3.2.3 AT&T 3B2 Version 3
Node unix
Total real memory  = 67108864
Available memory   = 58523648

***********************************************************************

Copyright (c) 1984, 1987, 1988, 1989, 1990 AT&T - All Rights Reserved

THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T INC.
The copyright notice above does not evidence any actual or
intended publication of such source code.

***********************************************************************


A new device has been labeled as follows:
System Administration Name      = disk1
Host Adapter Slot Number        = 1
SCSI Target Controller (TC) ID  = 1
Logical Unit (LU) ID            = 0
Use "sysadm partitioning" to prepare it, if necessary.

A new device has been labeled as follows:
System Administration Name      = qtape1
Host Adapter Slot Number        = 1
SCSI Target Controller (TC) ID  = 2
Logical Unit (LU) ID            = 0
The system is coming up.  Please wait.

This machine has not been used as a customer machine yet.  The messages that
follow are from checking the built-in file systems for damage that might have
occurred during shipment.  As long as you do not see either of the messages
                                BOOT UNIX
or                      FILE SYSTEM WAS MODIFIED
all is well.  If either message does come out, call your service representative.
However, the machine is still usable unless you are told otherwise.
Checking file systems:


  /dev/dsk/c1t1d0s2
  File System: usr Volume: 3.2.3

  ** Phase 1 - Check Blocks and Sizes
  ** Phase 2 - Check Pathnames
  ** Phase 3 - Check Connectivity
  ** Phase 4 - Check Reference Counts
  ** Phase 5 - Check Free List 
  376 files 2972 blocks 955236 free


mount -f S5 /dev/dsk/c1t1d0s2 /usr
Generating a new /unix
AT&T 3B2 SYSTEM CONFIGURATION:

Memory size: 64 Megabytes
System Peripherals:

        Device Name        Subdevices           Extended Subdevices

        SBD 
                        Floppy Disk
        SCSI 
         (S.E. BUS ID0)
                        SD01 ID1
                                                663 Megabyte Disk ID0
                        ST01 ID2
                                                Tape ID0
        PORTS 
        PORTS 
        MAU 

        Welcome!
This machine has to be set up by you.  When you see the "login" message type
                                setup
followed by the RETURN key.  This will start a procedure that leads you through
those things that should be done the "first time" the machine is used.

The system is ready.

Console Login: 

Congratulations! UNIX is installed (though there are not a lot of useful utilities installed yet.) You can log in as the setup user, with no password, and configure the system to your likings. This will set the date, allow you to add one or more users, assign passwords to the system accounts, and set the system name.

PLEASE NOTE: The system is NOT Y2K compliant yet, so you will need to set the date to some time before 2000 before you go on. The Y2K compliance kit will be installed later, then you can set the date to anything!

Finally, you can log in as the root user, with whatever password you set in system setup, and install some useful utilities off of tape.

This completes your initial set up of the machine.
You may now log into your login.


Console Login: root
Password:
UNIX System V Release 3.2.3 AT&T 3B2
gibson
Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T
All Rights Reserved
Warning: .lastlogin did not exist, creating it
# 

At the # prompt, type sysadm tapepkg and press Enter to begin selecting utilities to install. When asked what you want to do, type i and then Enter to install packages.

# sysadm tapepkg

Running subcommand 'tapepkg' from menu 'softwaremgmt',
SOFTWARE MANAGEMENT



        -- Package installation/removal from SCSI tape --


 Do you wish to install or remove packages?
 [ install remove quit i r q ] i



Insert the removable medium for the package(s) you want to install
into the qtape1 drive.
Press <RETURN> when ready.  Type  q  to quit. 

The tape image is already attached, so just type Enter to continue.

 Do you wish to install or remove packages?
 [ install remove quit i r q ] i



Insert the removable medium for the package(s) you want to install
into the qtape1 drive.
Press <RETURN> when ready.  Type  q  to quit. 



Packages available:

    1   Directory and File Management      14   AT&T Form & Menu Interpreter
    2   User Environment                   15   AT&T FACE
    3   Interprocess Communications        16   Enhanced Ports
    4   System Administration              17   SCSI Host Adapter Utilities
    5   Service Administration             18   SCSI Cartridge Tape
    6   System Header Files                19   SCSI Mirroring Utilities
    7   SPELL                              20   Job Accounting
    8   Terminal Information- part 1       21   System Performance Analysis
    9   Terminal Information- part 2       22   Multiprocessor Enhancement Util
   10   Editing                            23   Network Support Utilities
   11   Line Printer Spooling              24   Remote File Sharing
   12   Basic Networking                   25   3.2.3 Update
   13   Windowing                          26   3.2.3 Release Upgrade

Enter selection(s) to install [all help quit]: 

Next we’ll install some useful packages.

NOTE: DO NOT INSTALL #22, #25 or #26!!! THEY ARE NOT NEEDED AND WILL ACTUALLY BREAK YOUR SYSTEM!

I prefer to install 1-12, 14-15, 17-18, and 23.

Enter selection(s) to install [all help quit]: 1-12 14-15 17-18 23


Selection complete--- installpkg starting.

You’ll be walked through setting up some of the packages.

First, the installation will pause and ask about the Terminal Information Utilities you want to install. I like to just install all of them.

Please install the terminfo entries you wish.
Selective installation of the Terminal Information Utilities database.

       0       Terminate installation of this package

       1       Install terminfo file(s)

       2       Locate a specific terminal within terminfo file(s)

       3       Compile a SINGLE terminal entry

Enter option: 1

The following terminfo files may be selected for installation:

adds.ti          annarbor.ti      ansi.ti          att.ti
beehive.ti       cdc.ti           colorscan.ti     datamedia.ti
dec.ti           diablo.ti        fortune.ti       general.ti
hardcopy.ti      hazeltine.ti     hds.ti           heath.ti
homebrew.ti      hp.ti            lsi.ti           microterm.ti
misc.ti          pc.ti            perkinelmer.ti   print.ti
special.ti       sperry.ti        tektronix.ti     teleray.ti
televideo.ti     ti.ti            tymshare.ti      visual.ti

Enter a file name, 'all', 'done', or 'files': all

[...]

Enter a file name, 'all', 'done', or 'files': done

       0       Terminate installation of this package

       1       Install terminfo file(s)

       2       Locate a specific terminal within terminfo file(s)

       3       Compile a SINGLE terminal entry

Enter option: 0

Next you’ll bed asked about whether you want LP Spooling Utilities available for all users. I usually don’t, but it doesn’t matter what you choose.

Checking to see if there is a user ID for the "lp" login.
There is and it looks fine.

For compatibility with the old LP Spooler Utilities, we can  make  the
commands  for disabling and enabling a printer available to ALL users.
However, you may not want this on your system.

Should the disable and enable commands be available
to ALL users? [y, n, ?, q] n

If you later change your mind, enter the following commands:

        chown lp /usr/bin/enable /usr/bin/disable
        chmod u+s /usr/bin/enable /usr/bin/disable


NOTE: The login ID "lp" has been added to the list of IDs
      allowed to make crontab entries.


Finished setting up the new LP Print Service configuration.


To change the LP Print Service configuration, or to examine it  again,
enter the following command:


                sysadm packagemgmt/lpmgmt



Installation of the LP Spooling Utilities is complete.

Next you’ll be asked if you want to change the name of the system. Just type n and press Enter

Installing the Basic Networking Utilities.
Copyright (c) 1984 AT&T
All Rights Reserved
This machine is currently called "gibson".
Do you want to change it? [y, n, ?, q] n

Finally, the entire process is done, and you’re prompted to reboot. You can type cd /; shutdown -i6 -g0 -y to proceed with the reboot.

Execute "cd /; shutdown -i6 -g0 -y" and
wait for the "Console Login:" prompt.


The installpkg from SCSI tape has completed-
You may remove the tape after the rewind is complete.


# cd /; shutdown -6 -g0 -y

Shutdown started.    Fri Mar 26 11:46:40 PST 1993

Broadcast Message from root (console) on gibson Fri Mar 26 11:46:41...
THE SYSTEM IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged.


# 
INIT: New run level: 6
The system is coming down.  Please wait.
System services are now being stopped.
Print services stopped.
cron aborted: SIGTERM

The system is down.

The system is being restarted.

SELF-CHECK

DIAGNOSTICS      PASSED

/etc/system newer than /unix
Booting /etc/system

UNIX(R) System V Release 3.2.3 AT&T 3B2 Version 3
Node gibson
Total real memory  = 67108864
Available memory   = 58425344

***********************************************************************

Copyright (c) 1984, 1987, 1988, 1989, 1990 AT&T - All Rights Reserved

THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T INC.
The copyright notice above does not evidence any actual or
intended publication of such source code.

***********************************************************************

The system is coming up.  Please wait.
mount -f S5 /dev/dsk/c1t1d0s2 /usr
Generating a new /unix
AT&T 3B2 SYSTEM CONFIGURATION:

Memory size: 64 Megabytes
System Peripherals:

        Device Name        Subdevices           Extended Subdevices

        SBD 
                        Floppy Disk
        SCSI 
         (S.E. BUS ID0)
                        SD01 ID1
                                                663 Megabyte Disk ID0
                        ST01 ID2
                                                Tape ID0
        PORTS 
        PORTS 
        MAU 
Print services started.
The system is ready.

Console Login: 

Congratulations! You have a usable UNIX SVR 3.2.3 system now.