Installing ULTRIX-11 V1.0 on SIMH

From Computer History Wiki
Jump to: navigation, search

Preparations

pdp11.ini for Installation

SET CPU 11/23+
SET CPU IDLE

SET CONSOLE LOG=ULT-11_001.log 
SET DZ LINES=4
ATT DZ 6666


SET PTR DIS
SET PTP DIS
SET LPT DIS
SET RK DIS
SET RL DIS
SET HK DIS
SET RX DIS
SET RP DIS
SET TM DIS
SET TQ DIS
SET XQ DIS


SET RQ0 RD51
ATT RQ0 ULTRIX-11_1.0.R51

SET RQ1 RX50
ATT RQ1 02-ROOT1-6.RX5

SET RQ2 RX50
ATT RQ2 01-BOOT.RX5

SET RQ3 DIS

BOOT RQ2
;BOOT RQ0


ULTRIX-11 System Installation

Bad Block Scan

Start SIMH pdp11:

#boot


Boot

: rx(2,0)bads



Quick Bad Block Scan Program


Disk type <cr to exit>: rd51


Unit number: 0


Scan disk pack for bad blocks <[y] or n> ? y


Block offset: 0


# of blocks <cr for full pack>: [Enter]

READING


21600 blocks checked

0 bad blocks found


Disk type <cr to exit>: [Enter]

Exit called

Create File System

Boot

: rx(2,0)mkfs

file sys size: 18880

disk type: rd51

processor type: 23

file system: rd(0,0)

isize = 6040

m/n = 1 72

Exit called

Restore Root

Boot

: rx(2,0)restor

Tape? rx(1,0)

Starting volume number <1> ? 1

Disk? rd(0,0)

Last chance before scribbling on disk. 


Mount volume 2 <type return when ready> [CTRL+e]
Simulation stopped, PC: 026060 (BIT #200,@44716)
sim> att rq1 03-ROOT2-6.RX5
sim> c


Mount volume 3 <type return when ready> [CTRL+e]
Simulation stopped, PC: 026060 (BIT #200,@44716)
sim> att rq1 04-ROOT3-6.RX5
sim> c


Mount volume 4 <type return when ready> [CTRL+e]
Simulation stopped, PC: 026066 (BEQ 26060)
sim> att rq1 05-ROOT4-6.RX5
sim> c


Mount volume 5 <type return when ready> [CTRL+e]
Simulation stopped, PC: 026066 (BEQ 26060)
sim> att rq1 06-ROOT5-6.RX5
sim> c


Mount volume 6 <type return when ready> [CTRL+e]
Simulation stopped, PC: 026066 (BEQ 26060)
sim> att rq1 07-ROOT6-6.RX5
sim> c


End of tape

Boot and Create Device Special Files

Boot

: rd(0,0)unix



V7M-11 V1.0


realmem = 262144

usermem = 186112

erase = delete, kill = ^U, intr = ^C
# date
Wed Dec 31 19:02:20 EST 1969
# /etc/eli -f

Error log zeroed
# cd /dev
# make rd51
rm -f *rx0* >/dev/null
/etc/csf -r rd
rm -f swap >/dev/null
/etc/csf rd0
mv rd07 rd0
mv rrd07 rrd0
ln rd0 swap
cp /etc/fstab.rd51 /etc/fstab
dd if=/mdec/rdrxuboot of=/dev/rrd0 count=1
0+1 records in
0+1 records out
# cd /
# sync
# cd /dev
# msf rx50 1
# msf rx50 2
# cd /
# sync

Switch to Multi-User Mode

# ^D

Restricted rights:

        Use, duplication, or disclosure is subject
        to restrictions stated in your contract with
        Digital Equipment Corporation.

*UNIX is a Trademark of Bell Laboratories.


Wed Dec 31 19:32:43 EST 1969

ERROR LOG has - 1 of 40 blocks used


login: root

Welcome to V7M-11 V1.0

erase = delete, kill = ^U, intr = ^C
# df
/dev/rd0 14236
# more /etc/passwd
root::0:1::/:
daemon:87YI7tPzM6zZ.:1:1::/:
sys::70:9::/sys:
sysxr::71:9::/sysxr:
bin::3:3::/bin:
uucp::4:2::/usr/spool/uucppublic:/usr/lib/uucp/uucico
operator::0:1::/opr:/opr/opser
# pwd
/

File System Check

# sync
# fsck

/dev/rd0
File System:  Volume: 

** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Free List 
357 files 3889 blocks 14234 free
# osload

Micro/pdp-11 optional software load/unload

Type `help' for help, interrupt <CTRL/C> to exit


> help

Respond to the > prompt with one of the 
commands listed below, followed by a <RETURN>

Command         Function
-------         --------
<CTRL/C>        The interrupt character causes osload to exit.
                <CTRL/C> is hold down the control key and press c.

help            Print this help text.

rxunit          Specify RX50 unit number to be used when
                loading software from diskettes <default is unit 2>

list            Print a list of all optional software.

load            Load optional software.
                Enter the name of the software to be loaded.
                Mount specified diskettes when requested.

unload          Unload [delete] optional software.
                Enter the name of the software to be unloaded.

> ^C
# pwd
/
# sync
# /etc/shutdown 0
Broadcast Message ...

System going down. Bye


Error Log Shutdown Phase


Kill Process Phase


****** WAIT FOR # THEN HALT THE PROCESSOR ******
# [CTRL+e]
Simulation stopped, PC: 004636 (MOV (SP)+,177776)
sim> exit
Goodbye
Log file closed

Change Boot Command in pdp11.ini

Edit pdp11.ini and add the comment character ; in front of the ;BOOT RQ2 line and remove it from the BOOT RQ0 line:

;BOOT RQ2
BOOT RQ0

ULTRIX-11 System Generation

Load Sysgen Software

Start SIMH pdp11:

#boot


Boot

: rd(0,0)unix



V7M-11 V1.0


realmem = 262144

usermem = 186112

erase = delete, kill = ^U, intr = ^C
# ^D

Restricted rights:

        Use, duplication, or disclosure is subject
        to restrictions stated in your contract with
        Digital Equipment Corporation.

*UNIX is a Trademark of Bell Laboratories.


Thu Jan  1 00:13:16 EST 1970

ERROR LOG has - 1 of 40 blocks used


login: root

Welcome to V7M-11 V1.0

erase = delete, kill = ^U, intr = ^C
# osload

Micro/pdp-11 optional software load/unload

Type `help' for help, interrupt <CTRL/C> to exit


> load

Enter names of software to load, one name per line
Type <RETURN> if no more software to load

Software to load ? sysgen

Mount diskettes in RX50 unit 2, when requested

Mount SYSGEN #1 diskette [CTRL+e]
Simulation stopped, PC: 004636 (MOV (SP)+,177776)
sim>  ATT RQ2 09-SYSGEN1-2.RX5
sim> c

Ready <y or n> ? y

Mount SYSGEN #2 diskette [CTRL+e]
Simulation stopped, PC: 004636 (MOV (SP)+,177776)
sim> ATT RQ2 10-SYSGEN2-2.RX5
sim> c

Ready <y or n> ? y

Software to load ? ^C
# ^D

Create System Configuration File

login: sys

Welcome to V7M-11 V1.0

erase = delete, kill = ^U, intr = ^C
$ cd /sys/conf
$ sysgen


V7M-11 System Generation Program
Type h for help


> h

The `>' prompt indicates that SYSGEN is ready to accept a command.
Except for `control d' and `control c', commands are executed by typing
the command letter followed by a return. The commands will ask for
additional information, such as the configuration file name, if required.
For more help type `h' followed by the command, `h c' for help create.

Command         Description

control d       Exit from the SYSGEN program.
control c       Cancel current command and return to the `>' prompt.

! command       Execute a unix command.
c               Create a configuration file.
r               Remove a configuration file.
l               List the names of all existing configuration files.
p               Prints the contents of a configuration file.
m               Make the unix operating system.
i               Install the new unix operating system.
d               Devices - Print a list of valid controller and device names.
s               Sources - Recompile and archive unix source modules.

The SYSGEN sequence is; `c' to create the configuration file, `m' to make the
unix operating system, and `i' to install the new unix operating system.
> d


Device  Number  Unix    Device
type    allowed name    description

CPU     1               PDP11/23, 24, 34, 40, 44, 45, 55, 60, 70
Disk    1       hp      (first)  RH11/RH70 with up to 8 RM02/3/5, RP04/5/6, ML11
        1       hm      (second) RH11/RH70 with up to 8 RM02/3/5, RP04/5/6, ML11
        1       ml      RH11/RH70 with up to 8 ML11
        1       hs      RH11/RH70 with up to 8 RS03/4
        1       hk      RK611/RK711 with up to 8 RK06/7
        1       ra      UDA50 with up to 4 RA80/RA81/RA60
        1       rd/rx   RQDX1 with up to 4 RD51/RX50
        1       rp      RP11 with up to 8 RP02/3
        1       rl      RL11 with up to 4 RL01/2
        1       rk      RK11 with up to 8 RK05
        1       hx      RX211 with one dual RX02 drive
Tape    1       ht      TM02/3 with up to 64 TU16/TE16/TU77
        1       tm      TM11 with up to 8 TU10/TE10/TS03
        1       ts      TS11 with 1 TS04
        1       tc      TC11 with up to 8 TU56
LP      1       lp      LP11 line printer controller with 1 LP11 type printer
Comm.   8       dh      DH11 16 line asynchronous multiplexer
        8       dhdm    DM11-BB modem control option for DH11
        16      dz      DZ11 8 line asynchronous multiplexer
        2       dzv     DZV11 4 line asynchronous multiplexer
        16      kl      DL11/DLV11 single line unit (CSR 776500)
        32      dl      DL11/DLV11 single line unit (CSR 775610)
        4       du      DU11 single line synchronous interface
        1       dn      DN11 4 line auto call unit interface
Misc.   1       ct      C/A/T phototypesetter interface via DR11-C
> h c

The `c' command is used to create a unix configuration file. The `c' command
prompts for the configuration name, the default name is `unix'. The config-
uration process involves answering a series questions about the processor,
peripheral devices, and system parameters. These questions consist of the
question itself followed by an item or list of items enclosed in < >. A single
item enclosed in < > is the default answer to the question, to use the default
answer, type only a return. A list of items enclosed in < > represents a
multiple choice answer to the question, select one item from the list as the
answer, type that item then return. These questions have no default answer.

To obtain help with answering a question, respond to the question with a `?'
followed by a return. A help message will be printed and the question will be
repeated. Typing a `control c' at any time during the configuration creation
process will abort the creation of the configuration and return to the `>'
command prompt. Typing a `control d' in response to a question will cause
SYSGEN to abort that question and backup to the previous question. Backing up
with `control d' can cause large amounts of configuration information to be
erased, for example, backing up from the magtapes question to the disks question
will cause all previously entered disks to be erased from the configuration.
Certain questions, such as the types of disks on a controller, require multiple
answers. For those questions, the question will be repeated until answered with
only a return.
> c

To backup to the previous question, type `control d' !
Answer any question with a `?' followed by a return for help !

Configuration name <unix> ? ?

The default configuration name is `unix', to use the default name type a
return. Otherwise, type the desired configuration name, up to a maximum of
eight characters, followed by a return.

Configuration name <unix> ? unix

Processor type:

< 23 24 34 40 44 45 55 60 70 > ? ?

Select the appropriate CPU type from the list and type that number followed by
a return. Actually there are only two versions of the unix operating system,
one for CPUs with separate Instruction and data space and one for those CPUs
without separate I & D space. All other CPU differences are handled dynamically
and do not require that a unix kernel be generated specifically for each CPU
type. If the target CPU is not listed pick the CPU type from the list that
most closely resembles it. If the target CPU has separate I & D space, pick
from PDP11/44, 45, 55, or 70. Otherwise chose from PDP11/23, 24, 34, 40, or 60.
The Micro PDP11 is an 11/23 processor.

Processor type:

< 23 24 34 40 44 45 55 60 70 > ? 23

Disk controller type:

< rh11 rh70 rp11 rk611 rk711 rl11 rx211 rk11 uda50 rqdx1 > ? ?

Specify a disk controller by typing one of the names from the list of disk
controllers followed by a return. SYSGEN will ask several questions about the
controller and the disk drives connected to it. After these questions have been
answered SYSGEN will prompt for the next disk controller type. Enter the name
of the next disk controller or type a return to terminate the list of disk
controllers. In order to expedite the disk controller specification process
the system disk controller should be entered first.

NAME    USAGE           DISK TYPES SUPPORTED

rh11    pdp11 unibus    RM02, RP04/5/6, ML11, RS03/4
rh70    pdp11/70        RM02/3/5, RP04/5/6, ML11, RS03/4
rk611   pdp11 unibus    RK06/7
rk711   pdp11 unibus    RK06/7
rp11    pdp11 unibus    RP02/3
rl11    pdp11 unibus    RL01/2
rlv11   pdp11 Q bus     RL01/2  (* - specify rl11 )
rlv12   pdp11 Q22 bus   RL01/2  (* - specify rl11 )
rx211   pdp11 unibus    RX02
rx2v11  pdp11 Q bus     RX02    (* - specify rx211)
rk11    pdp11 unibus    RK05
uda50   pdp11 unibus    RA60, RA80, RA81
rqdx1   pdp11 Q22 bus   RX50, RD51

Disk controller type:

< rh11 rh70 rp11 rk611 rk711 rl11 rx211 rk11 uda50 rqdx1 > ? rqdx1

Drive 0 type < rx50 rd51 > ? ?

After the disk controller type has been specified, the type of each disk drive
on that controller, in order starting with drive zero, will be requested. Enter
one of the drive types from the list followed by a return. Type only a return to
terminate the list of disk drives. SYSGEN assumes that the disk drive numbers
will be in order starting from zero, i.e., if three drives are present they will
be numbered 0, 1, 2. To allow for non sequential numbering of drives, a drive
type may be entered even if the drive does not exist. The system will ignore the
nonexistent drives. For example, if three RP06 disks were to be numbered 0, 1,
and 4, drives two and three would also be specified as RP06 disks. Drives two
and three will be ignored, however space for them is the system's disk driver
information tables will be reserved and therefore wasted.

Drive 0 type < rx50 rd51 > ? rd51

Drive 1 type < rx50 rd51 > ? rx50

Drive 2 type < rx50 rd51 > ? rx50

Drive 3 type < rx50 rd51 > ? [Return]

CSR address <172150> ? ?

The number enclosed in < > is the default CSR address for the device, type a
return to use the default address. To specify a nonstandard CSR address, type
that address followed by a return. Only octal addresses are allowed.

CSR address <172150> ? [Return]

Vector address <154> ? ?

The number enclosed in < > is the default interrupt vector address for the
device, type a return to use the default vector address. To specify a non-
standard vector, type the vector address followed by a return. Only octal
vector addresses are allowed.

Vector address <154> ? [Return]

Is the system disk on this controller <yes> ? ?

If the system disk is connected to this controller, answer yes followed by a
return or just a return. The system disk is where the Unix operating system
resides, i.e., the disk onto which the Unix ROOT file system was loaded from
the distribution tape. If the system disk is not on this controller, type no
followed by a return.

Is the system disk on this controller <yes> ? yes

System disk unit number <0> ? ?

To use the default system disk unit number of zero, type return. To specify an
alternate system disk unit number, type that number followed by a return. If the
system disk is other than unit zero, the following changes will be required:

1.      Most hardware boot ROMs will only boot from unit zero.
        The system may be bootstrapped by loading the secondary boot
        program from the distribution magtape.

2.      The boot file specification must be changed to reflect the
        system disk unit number, i.e., hp(2,0)unix.

3.      The file `/etc/fstab' must be edited to incorporate the new
        file system names, see fstab(5).

4.      The special file `/dev/swap' must be recreated, so that the ps(1)
        command can access the swap area, see `/dev/makefile'.

System disk unit number <0> ? 0

Disk controller type:

< rh11 rh70 rp11 rk611 rk711 rl11 rx211 rk11 uda50 rqdx1 > ? [Return]

Use standard placement of root, swap, and error log <yes> ? ?

The sysgen program contains tables which define the standard locations of the
Unix ROOT, SWAP, and ERROR LOG file systems on each type of disk. To use the
default placements of these file systems, type yes followed by a return or just
a return. To specify alternate placements of the file systems, answer no
followed by a return. It is strongly recommended that the standard placements be
used for the initial system generation and that reliable system operation be
established prior to experimenting with alternate placements.

If this question is answered no, the sysgen program will ask a series of 
questions about the desired placement of the ROOT, PIPE, SWAP, and ERROR LOG
file systems. Along with each question the program will print a default value,
which may be used or modified as desired. WARNING, the sysgen program accepts
the answers to these questions blindly and does not check them !

The following hints may be helpful:

1.      Placing ROOT and SWAP on separate disk controllers will increase
        system I/O performance. Placing ROOT and SWAP on separate drives
        on the same controller is of little benefit.

2.      The PIPE minor device should always equal the ROOT minor device.

3.      All four of the file systems may exist within the same disk partition.
        However, care must be taken to insure that there is no file system
        overlap, use the standard placements for the RL02 as a guide.

4.      The `mkconf' program, which is called by sysgen, does some checking
        of the file system placements and prints warnings about overlap.

Use standard placement of root, swap, and error log <yes> ? yes

Magtape controller:

< tm02 tm03 tm11 ts11 tsv05 tc11 > ? ?

Select the magtape controller type from the list and enter that name followed
by a return. Multiple magtape controllers may be specified, however only one
controller of each type may be specified. For each magtape controller entered,
several questions about the controller and its drives will be asked. After
answering these questions, type the name of the next magtape controller or a
return to end the list of controllers.

NAME    USAGE           TAPE DRIVE TYPES SUPPORTED

tm02    pdp11 unibus    TU16, TE16, TU77
tm03    pdp11 unibus    TU16, TE16, TU77
tm11    pdp11 unibus    TU10, TE10, TS03
ts11    pdp11 unibus    TS04
tsv05   pdp11 Q/Q22 bus TSV05
tc11    pdp11 unibus    TU56

Magtape controller:

< tm02 tm03 tm11 ts11 tsv05 tc11 > ? tsv05

Number of magtape units <1> ? ?

Enter the number of magtape units connected to the controller followed by a
return. The default number of units is one, type return to use the default.
The drive type for magtape units is not required by SYSGEN. SYSGEN expects
the tape units to be numbered sequentially, i.e., a controller with three
drives connected to it would have those drives numbered 0, 1, 2. If non-
sequential drive numbering is desired, set the number of drives to one greater
than the highest numbered unit. The system will ignore the nonexistent units,
however space for those tape units in the system's driver tables will be wasted.

Number of magtape units <1> ? 1

CSR address <172520> ? ?

The number enclosed in < > is the default CSR address for the device, type a
return to use the default address. To specify a nonstandard CSR address, type
that address followed by a return. Only octal addresses are allowed.

CSR address <172520> ? [Return]

Vector address <224> ? ?

The number enclosed in < > is the default interrupt vector address for the
device, type a return to use the default vector address. To specify a non-
standard vector, type the vector address followed by a return. Only octal
vector addresses are allowed.

Vector address <224> ? [Return]

Use this magtape for crash dumps <yes> ? ?

Unix does crash dumps by writing an image of memory to a magtape. Answering
yes followed by a return or just a return to this question will designate
the current magtape controller as the crash dump device. If the question is
answered no, it will be repeated for each magtape controller specified until
a yes answer is received. Only on magtape controller can be selected for taking
crash dumps. The crash dump will always be written to unit zero on the magtape
controller that is selected for crash dumps.

For RL02 or RD51 based systems, crash dumps will be written to the swap area
of the system disk. This assumes that there is no magtape present of the system.

Use this magtape for crash dumps <yes> ? no

Magtape controller:

< tm02 tm03 tm11 ts11 tsv05 tc11 > ? [Return]

Crash dumps to RD51 unit 0 (swap area)

LP11 line printer present <no> ? ?

Please answer yes or no !

? no

Communications devices:

< dz dzv dh dhdm du dn kl dl > ? ?

Enter the name of one of the communications devices listed followed by a return,
answer the questions about that device, then enter the name of the next device
or a return to terminate the list of devices.

The communications devices are specified by their Unix names:

NAME    DEVICE          COMMENTS

dz      DZ11            8 line multiplexer
dzv     DZV11           4 line multiplexer for Q bus
dh      DH11            16 line multiplexer
dhdm    DM11-BB         DH11 modem control
du      DU11            synchronous line interface
dn      DN11            auto call unit interface
kl      DL11/DLV11      (CSR 776500) single line unit
dl      DL11/DLV11      (CSR 775610) single line unit 

The first `kl' unit is reserved for the console terminal. The console is always
present, do not count it in the `kl' specification. Use the `kl' and `dl' names
for the equivalent Q bus devices.

Communications devices:

< dz dzv dh dhdm du dn kl dl > ? dzv

Number of units <1> ? ?

Enter the number of communication device units followed by a return, or type
a return to use the default number of one unit. The `d' command may be used
to print a list of the devices and the maximum number of units allowed for each
device.

Number of units <1> ? 1

CSR address <160100> ? ?

The number enclosed in < > is the default CSR address for the device, type a
return to use the default address. To specify a nonstandard CSR address, type
that address followed by a return. Only octal addresses are allowed.

CSR address <160100> ? [Return]

Vector address <300> ? ?

The number enclosed in < > is the default interrupt vector address for the
device, type a return to use the default vector address. To specify a non-
standard vector, type the vector address followed by a return. Only octal
vector addresses are allowed.

Vector address <300> ? [Return]

Communications devices:

< dz dzv dh dhdm du dn kl dl > ? [Return]

Include C/A/T phototypesetter driver <no> ? ?

Please answer yes or no !

? no

User devices:

< u1 u2 u3 u4 > ? ?

Up to four user devices may be configured into the V7M-11 operating system.
The driver code for the user device must be edited into one of the four user
device driver prototype files (u1.c u2.c u3.c u4.c) in the /sys/dev directory.
The user device driver prototype files define the interface to the operating
system the user must supply the code to operate the device.

If there are no user devices type just a return. If user devices are to be
configured, type the name of the device followed by a return. The sysgen program
will ask for the CSR address and vector address of the device. If there is
another user device to be configured type its name followed by a return, if not
type just a return.

User devices:

< u1 u2 u3 u4 > ? [Return]

Include packet driver <no> ? ?

Type yes followed by a return to include the packet driver. Type no followed
by a return or just a return to omit the packer driver. For more information
about the packet protocol driver refer to pkon(2), pkopen(3), and pk(4) in the
"Unix Programmer`s Manual".

The packet driver is not a supported feature of V7M-11, refer to section 4.21
of the V7M-11 Software Technical Description for more information.

Include packet driver <no> ? no

Include multiplexed files support <no> ? ?

Type yes followed by a return to include multiplexed files support. Type no
followed by a return or just a return to omit multiplexed files support. For
more information about multiplexed files refer to mpx(2) and mpxio(5) in the
"Unix Programmer's Manual".

Multiplexed files is not a supported feature of V7M-11, refer to section 4.21
of the V7M-11 Software Technical Description for more information.

Include multiplexed files support <no> ? no

Use standard system parameters <yes> ? ?

The Unix operating has a number of parameters, used to adjust the sizes of its
internal data structures to match the number of users on the system. The sysgen
program contains a set of standard values for these parameters. Is is highly
recommended that the standard values be used for the initial system generation.
Experimentation with the parameters should be postponed until the initial
system has been installed and reliable operation verified. To use the standard
values respond the the question with a return. If the question is answered no,
the sysgen program will prompt for the value of each parameter. The name of
the parameter and its standard value will be printed. Type return to use the
standard value or type the new value followed by a return. The parameters are:

        PARAM  OV_VAL  ID_VAL  COST             COMMENT

        NBUF       16      29   542 (OV = 30)   buffer cache size
        NINODE    100     200    74             inode table size
        NFILE      80     175     8             number of open files
        NMOUNT      5       8     6 (OV = 518)  mounted file systems
        MAXUPRC    15      25     0             processes per user
        NCALL      20      20     6             number of callouts
        NPROC      75     150    28             number of processes
        NTEXT      25      40    12             shared text images
        NCLIST     60     110    16             number of clists
        CANBSIZ   256     256     1             canon buffer size
        NCARGS   5120    5120     0             exec arglist size
        MSGBUFS    28     128     1             error message buffer size
        MAXSEG  32768   32768     0             memory size limit

Use standard system parameters <yes> ? yes

Line frequency in hertz <60> ? ?

Type the AC line frequency followed by a return. The default is 60 hertz.

Line frequency in hertz <60> ? 50

Timezone (hours ahead of GMT) <5=EST 6=CST 7=MST 8=PST> ? ?

The timezone ,in which the system will be operating, must be specified as the
number of hours ahead of GMT (Greenwich Mean Time). For example, Eastern
standard time is five hours ahead of GMT. Do NOT include daylight savings time
in the timezone specification.

Timezone (hours ahead of GMT) <5=EST 6=CST 7=MST 8=PST> ? 0

Does your area use daylight savings time <yes> ? ?

If the timezone in which unix is to operate uses daylight savings time, answer
yes followed by a return or just a return. Otherwise type no followed by a
return. If the question is answered yes, unix will automatically compensate
for daylight savings time.

Does your area use daylight savings time <yes> ? yes


V7M-11 System Generation Program
Type h for help

Create New Kernel

> m

Configuration name <unix> ? ?

The default configuration name is `unix', to use the default name type a
return. Otherwise, type the desired configuration name, up to a maximum of
eight characters, followed by a return.

Configuration name <unix> ? unix

****** CREATING UNIX CONFIGURATION AND VECTOR TABLES ******

Device  Address Vector  units

console 177560   60
kw11-l  177456  100
kw11-p  172540  104
ra      172150  154     3       (core dump device)
ts      172520  224     1
dzv     160100  300     1

Filsys  Device  maj/min start   length

root    ra        2/7
pipe    ra        2/7
swap    ra        2/7   18920   2648
errlog  ra       22/7   18880   40
WARNING, root & error log on ra 7 watchout for overlap !
WARNING, root & swap on ra 7 watchout for overlap !

****** MAKING UNIX FOR NON SEPARATE I & D SPACE PROCESSORS ******

as - -o l.o l.s
ovas -o dump_ov.o mch0.s dump.s
cc -c -O -DK_OV -V c.c
mv c.o c_ov.o

The output file will be named unix_ov !!!!!

ovload

The unix_ov sizes must be within the following limits:

root text segment > 8192 but <= 16384
overlay text segments <= 8192, 7 overlays maximum
bss + data segments <= 24576 total

root+(overlay 1, overlay 2,...overlay n)+data+bss = root+data = (total)

size unix_ov
15808+(7936,7808,7936,7872)+3358+17630 = 36796b = 0107674b (47360 total text)

rm l.o c_ov.o dump_ov.o

New unix is now named `unix.os' !

****** CHECKING SIZE OF NEW UNIX OPERATING SYSTEM ******

`unix.os' within limits, SYSGEN successful !


> p

Configuration name <unix> ? 


`unix' configured for PDP11/23, 24, 34, 40, 60 non separate I & D space CPUs.

`ra'    rqdx1       -  3 unit(s)  rd51 rx50 rx50 
`ts'    tsv05       -  1 unit(s)
`dzv'   DZV11       -  1 unit(s)

ROOT      on `ra' minor device  7
PIPE      on `ra' minor device  7
SWAP      on `ra' minor device  7 Start block =  18920  Length =   2648 blocks
ERROR LOG on `ra' minor device  7 Start block =  18880  Length =     40 blocks

nbuf        16    ninode     100    nfile       80    nmount       5    
maxuprc     15    ncall       20    nproc       75    ntext       25    
nclist      60    canbsiz    256    hz          50    timezone     0    
dstflag      1    ncargs    5120    maxseg   61440    msgbufs    128    

TIMEZONE - 0 hours ahead of GMT, with daylight savings time.

> ^D

$ su
# mv unix.os /nunix
# sync
# /etc/shutdown 0
Broadcast Message ...

System going down. Bye


Error Log Shutdown Phase


Kill Process Phase


****** WAIT FOR # THEN HALT THE PROCESSOR ******
# [CTRL+e]
Simulation stopped, PC: 004636 (MOV (SP)+,177776)
sim> exit
Goodbye

Boot the New Kernel

Start SIMH pdp11 (using the new kernel "nunix"):

#boot


Boot

: rd(0,0)nunix



V7M-11 V1.0


realmem = 262144

usermem = 183744

erase = delete, kill = ^U, intr = ^C
# mv unix ounix
# mv nunix unix
# sync
# cd /
# sync
# fsck

/dev/rd0
File System:  Volume: 

** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Free List 
552 files 5275 blocks 12848 free
# sync
# /etc/shutdown 0
Broadcast Message ...

System going down. Bye


Error Log Shutdown Phase


Kill Process Phase


****** WAIT FOR # THEN HALT THE PROCESSOR ******
# [CTRL+e]
Simulation stopped, PC: 004646 (MOV (SP)+,177776)
sim> exit
Goodbye

Create Terminal Lines

Start SIMH pdp11:

#boot


Boot

: rd(0,0)unix



V7M-11 V1.0


realmem = 262144

usermem = 183744

erase = delete, kill = ^U, intr = ^C
# ^D

Restricted rights:

        Use, duplication, or disclosure is subject
        to restrictions stated in your contract with
        Digital Equipment Corporation.

*UNIX is a Trademark of Bell Laboratories.


Thu Jan  1 05:32:21 GMT 1970

ERROR LOG has - 1 of 40 blocks used


login: root

Welcome to V7M-11 V1.0

erase = delete, kill = ^U, intr = ^C
# cd /dev
# make ttyclean
rm -f tty?? >/dev/null
rm -f *dh* *dl* *dz* >/dev/null
# msf dzv11 0 tty0
# cd /
# sync
# cat /etc/ttys
14console
00tty00
00tty01
00tty02
00tty03
00tty04
# ed /etc/ttys
50
2
00tty00
c
22tty00
.
2
22tty00
3
00tty01
c
22tty01
.
3
22tty01
4
00tty02
c
22tty02
.
4
22tty02
5
00tty03
c
22tty03
.
5
22tty03
6
00tty04
c
22tty04
.
6
22tty04
w
50
q
# cat /etc/ttys
14console
22tty00
22tty01
22tty02
22tty03
22tty04
# kill -1 1
# sync
# /etc/shutdown 0
Broadcast Message ...

System going down. Bye


Error Log Shutdown Phase


Kill Process Phase


****** WAIT FOR # THEN HALT THE PROCESSOR ******
# [CTRL+e]
Simulation stopped, PC: 004646 (MOV (SP)+,177776)
sim> exit
Goodbye