Difference between revisions of "Installing 4.3 BSD+NFS Wisconsin Unix"

From Computer History Wiki
Jump to: navigation, search
(New page: == Requirements == You will need the following materials to put together a 4.3 BSD+NFS Wisconsin Unix installation: *A working perl interpeter to make the tape images.<br> *A copy of gz...)
 
(Duplicate article Installing 4.3 BSD NFS Wisconsin Unix seems to be newer; subsume)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
 
== Requirements ==
 
== Requirements ==
  
You will need the following materials to put together a 4.3 BSD+NFS Wisconsin Unix installation:
+
You will need the following materials to put together a [[4.3 BSD+NFS Wisconsin Unix]] installation:
  
 
*A working perl interpeter to make the tape images.<br>
 
*A working perl interpeter to make the tape images.<br>
Line 8: Line 7:
 
*A method of extracting the boot file from either the binaries (tar/gzip) or uudecode to extract it from [[boot42|here]].<br>
 
*A method of extracting the boot file from either the binaries (tar/gzip) or uudecode to extract it from [[boot42|here]].<br>
 
*A compiled binary of vax780 from [[SIMH]], along with the vmb.exe again from [[SIMH]].
 
*A compiled binary of vax780 from [[SIMH]], along with the vmb.exe again from [[SIMH]].
 
+
*The [[Mkdisttap.pl]] program, you can take the settings from [[Mkdisttap.pl#Quasijarus_0c|Quasijarus]] as the names & block sizes match up.
  
 
You will need the following files from any 4 BSD archive from the 4.3BSD directory.  I have used the files from [http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/ mirror.cc.vt.edu].  You can use whatever method you like to download them, wget, a web browser etc..<br><br>
 
You will need the following files from any 4 BSD archive from the 4.3BSD directory.  I have used the files from [http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/ mirror.cc.vt.edu].  You can use whatever method you like to download them, wget, a web browser etc..<br><br>
  
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/stand.gz stand.gz]
+
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/stand.gz stand.gz]<br>
 
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/miniroot.gz miniroot.gz]<br>
 
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/miniroot.gz miniroot.gz]<br>
 
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/rootdump.gz rootdump.gz]<br>
 
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/rootdump.gz rootdump.gz]<br>
 
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/usr.tar.gz usr.tar.gz]<br>
 
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/usr.tar.gz usr.tar.gz]<br>
----
+
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/srcsys.tar.gz srcsys.tar.gz]<br>
[http://unix-archive.huihoo.org/4BSD/Distributions/4.3BSD/src.tar.gz src.tar.gz]<br>
+
[http://mirror.cc.vt.edu/pub/Ancient_Unix/4BSD/Distributions/thirdparty/UWisc4.3/src.tar.gz src.tar.gz]<br>
[http://unix-archive.huihoo.org/4BSD/Distributions/4.3BSD/srcsys.tar.gz srcsys.tar.gz]<br>
 
[http://unix-archive.huihoo.org/4BSD/Distributions/4.3BSD/stand.gz stand.gz]<br>
 
[http://unix-archive.huihoo.org/4BSD/Distributions/4.3BSD/vfont.tar.gz vfont.tar.gz]<br><br>
 
  
 
== Preparing for installation ==
 
== Preparing for installation ==
 
  
 
With the files downloaded you will need to uncompress them all and then create the tape file.
 
With the files downloaded you will need to uncompress them all and then create the tape file.
Line 32: Line 27:
 
</pre>
 
</pre>
  
The tape needs to be created with the [[mkdisttap.pl]] program.  Simply run the program and redirect it into a file called 43.tap .
+
The tape needs to be created with the [[mkdisttap.pl]] program.  Simply run the program and redirect it into a file called uwisc.tap .
  
 
<pre>
 
<pre>
% ./mkdisttap.pl > 43.tap
+
% ./mkdisttap.pl > uwisc.tap
% ls -l 43.tap
+
% ls -l uwisc.tap
-rw-r--r--  1 Neozeed  None_ploc 111442472 Feb 6 15:18 43.tap
+
-rw-r--r--  1 Neozeed  None 74337572 Apr 7 19:40 uwisc.tap
 
</pre>
 
</pre>
  
Next you will need the boot program.  The boot program from [[4.2 BSD]] works with [[4.3 BSD]]. I have uploaded a copy onto this wiki in uuencoded format.  To decode it, simply access the [[boot42|article]], and copy the contents of the quoted text (the begin/end part INCLUDING the begin & end segments) and save it to a text file.  Then you will need to run the uudecode file as follows:
+
Next you will need the boot program.  I have uploaded a copy onto this wiki in uuencoded format.  To decode it, simply access the [[BootHP|article]], and copy the contents of the quoted text (the begin/end part INCLUDING the begin & end segments) and save it to a text file.  Then you will need to run the uudecode file as follows:
  
 
<pre>
 
<pre>
% ls -l boot42.uue
+
% ls -l boothp.uue
-rw-r--r--  1 Neozeed  None_ploc 9117 Feb 6 12:09 boot42.uue
+
-rw-r--r--  1 Neozeed  None 10683 Apr 7 20:15 boothp.uue
% uudecode boot42.uue
+
% uudecode boothp.uue
% ls -l boot42
+
% ls -l boothp
-rw-------  1 Neozeed  None_ploc 6600 Feb 6 12:28 boot42
+
-rw-------  1 Neozeed  None 7736 Apr 7 20:20 boothp
% file boot42
+
% file boothp
boot42: data
+
boothp: data
 +
%
 
</pre>
 
</pre>
  
Line 58: Line 54:
 
=== install.ini ===
 
=== install.ini ===
 
<pre>
 
<pre>
set rq0 ra81
+
set rq0 dis
at rq0 miniroot
+
set rq1 dis
set rq1 ra81
 
at rq1 rq.dsk
 
 
set rq2 dis
 
set rq2 dis
 
set rq3 dis
 
set rq3 dis
set rp dis
+
set rp0 rp06
 +
att rp0 miniroot
 +
set rp1 rp06
 +
att rp1 rp06.disk
 +
set rp2 dis
 +
set rp3 dis
 +
set rp4 dis
 +
set rp5 dis
 +
set rp6 dis
 +
set rp7 dis
 
set lpt dis
 
set lpt dis
 
set rl dis
 
set rl dis
 
set tq dis
 
set tq dis
 
set tu dis
 
set tu dis
att ts 43.tap
+
att ts uwisc.tap
 
set tti 7b
 
set tti 7b
 
set tto 7b
 
set tto 7b
load -o boot42 0
+
load -o boothp 0
d r10 9
+
d r10 0
 
d r11 0
 
d r11 0
 
run 2
 
run 2
Line 80: Line 83:
 
=== Booting the emulator ===
 
=== Booting the emulator ===
  
You then simply run the emulator and pass it the config file.
+
You then simply run the emulator and pass it the config file.  You will be prompted to "overwrite last track" answer y and hit enter.
  
 
<pre>
 
<pre>
C:\4.3BSD\work>vax780.exe install.ini
+
% ./vax780 install.ini
 +
 
 +
VAX780 simulator V3.8-1
 +
RP: creating new file
 +
Overwrite last track? [N] y
 +
loading hp(0,0)boot
  
VAX780 simulator V3.8-0
 
RQ: creating new file
 
install.ini> set rq1 dis
 
Command not allowed
 
loading ra(0,0)boot
 
 
Boot
 
Boot
: ra(0,0)vmunix
+
: hp(0,0)vmunix
279844+80872+100324 start 0x12f8
+
290188+89696+102928 start 0x12f8
4.3 BSD UNIX #1: Fri Jun  6 19:55:29 PDT 1986
+
4.3 BSD UNIX #3: Mon Dec 29 11:54:56 CST 1986
     karels@monet.Berkeley.EDU:/usr/src/sys/GENERIC
+
     tadl@brie:/usr/src/bsd/4.3/sys/GENERIC
 
real mem  = 8388608
 
real mem  = 8388608
SYSPTSIZE limits number of buffers to 140
+
SYSPTSIZE limits number of buffers to 134
avail mem = 7187456
+
avail mem = 7136256
using 140 buffers containing 524288 bytes of memory
+
using 134 buffers containing 524288 bytes of memory
 
mcr0 at tr1
 
mcr0 at tr1
 
mcr1 at tr2
 
mcr1 at tr2
Line 108: Line 111:
 
rk3 at hk0 slave 3
 
rk3 at hk0 slave 3
 
uda0 at uba0 csr 172150 vec 774, ipl 15
 
uda0 at uba0 csr 172150 vec 774, ipl 15
ra0 at uda0 slave 0
 
ra1 at uda0 slave 1
 
 
zs0 at uba0 csr 172520 vec 224, ipl 15
 
zs0 at uba0 csr 172520 vec 224, ipl 15
 
ts0 at zs0 slave 0
 
ts0 at zs0 slave 0
Line 116: Line 117:
 
dz2 at uba0 csr 160120 vec 320, ipl 15
 
dz2 at uba0 csr 160120 vec 320, ipl 15
 
dz3 at uba0 csr 160130 vec 330, ipl 15
 
dz3 at uba0 csr 160130 vec 330, ipl 15
Changing root device to ra0a
+
mba0 at tr8
WARNING: clock lost 121 days -- CHECK AND RESET THE DATE!
+
hp0 at mba0 drive 0
 +
hp1 at mba0 drive 1
 +
Changing root device to hp0a
 
erase ^?, kill ^U, intr ^C
 
erase ^?, kill ^U, intr ^C
 
#
 
#
Line 128: Line 131:
 
<pre>
 
<pre>
 
# cd /dev
 
# cd /dev
# ./MAKEDEV ra1
+
# ./MAKEDEV hp1
 
# cd /
 
# cd /
# disk=ra1 type=ra81 tape=ts xtr
+
# disk=hp1 type=rp06 tape=ts xtr
 
</pre>
 
</pre>
  
This will create a 'device' for the ra1 disk, then run the xtr program to restore the root dump.  Take note that the chgrp & chmod commands are not found, however the install will proceed as normal.
+
This will create a 'device' for the hp1 disk, then run the xtr program to restore the root dump.  Take note that the chgrp & chmod commands are not found, however the install will proceed as normal.
  
 
<pre>
 
<pre>
erase ^?, kill ^U, intr ^C
 
 
# cd /dev
 
# cd /dev
# ./MAKEDEV ra1
+
# ./MAKEDEV hp1
 +
syntax error
 
./MAKEDEV: chgrp: not found
 
./MAKEDEV: chgrp: not found
 
./MAKEDEV: chmod: not found
 
./MAKEDEV: chmod: not found
 
# cd /
 
# cd /
# disk=ra1 type=ra81 tape=ts xtr
+
# disk=hp1 type=rp06 tape=ts xtr
 
Build root file system
 
Build root file system
Warning: 538 sector(s) in last cylinder unallocated
+
/dev/rhp1a:    15884 sectors in 38 cylinders of 19 tracks, 22 sectors
/dev/rra1a:    15884 sectors in 23 cylinders of 14 tracks, 51 sectors
+
         8.1Mb in 3 cyl groups (16 c/g, 3.42Mb/g, 1216 i/g)
         8.1Mb in 2 cyl groups (16 c/g, 5.85Mb/g, 1856 i/g)
 
 
super-block backups (for fsck -b#) at:
 
super-block backups (for fsck -b#) at:
  32, 11520,
+
  32, 6752, 13472,
 
Check the file system
 
Check the file system
** /dev/rra1a
+
** /dev/rhp1a
 
** Last Mounted on
 
** Last Mounted on
 
** Phase 1 - Check Blocks and Sizes
 
** Phase 1 - Check Blocks and Sizes
Line 157: Line 159:
 
** Phase 4 - Check Reference Counts
 
** Phase 4 - Check Reference Counts
 
** Phase 5 - Check Cyl groups
 
** Phase 5 - Check Cyl groups
2 files, 9 used, 7420 free (20 frags, 925 blocks, 0.3% fragmentation)
+
2 files, 9 used, 7412 free (20 frags, 924 blocks, 0.3% fragmentation)
 
Rewind tape
 
Rewind tape
 
Restore the dump image of the root
 
Restore the dump image of the root
 
Warning: ./lost+found: File exists
 
Warning: ./lost+found: File exists
** /dev/rra1a
+
** /dev/rhp1a
 
** Last Mounted on /a
 
** Last Mounted on /a
 
** Phase 1 - Check Blocks and Sizes
 
** Phase 1 - Check Blocks and Sizes
Line 168: Line 170:
 
** Phase 4 - Check Reference Counts
 
** Phase 4 - Check Reference Counts
 
** Phase 5 - Check Cyl groups
 
** Phase 5 - Check Cyl groups
317 files, 4199 used, 3230 free (6 frags, 403 blocks, 0.1% fragmentation)
+
329 files, 5370 used, 2051 free (11 frags, 255 blocks, 0.1% fragmentation)
 
Root filesystem extracted
 
Root filesystem extracted
  
Line 185: Line 187:
 
# sync
 
# sync
  
Simulation stopped, PC: 800018AE (BRB 800018A3)
+
Simulation stopped, PC: 800018A3 (MTPR #0,#12)
 
sim> q
 
sim> q
 
Goodbye
 
Goodbye
 
+
%
C:\4.3BSD\work>
 
 
</pre>
 
</pre>
  
Line 198: Line 199:
 
=== boot.ini ===
 
=== boot.ini ===
 
<pre>
 
<pre>
set rq0 ra81
+
set rq0 dis
att rq0 rq.dsk
 
 
set rq1 dis
 
set rq1 dis
 
set rq2 dis
 
set rq2 dis
 
set rq3 dis
 
set rq3 dis
set rp dis
+
set rp0 rp06
 +
att rp0 rp06.disk
 +
set rp1 dis
 +
set rp2 dis
 +
set rp3 dis
 +
set rp4 dis
 +
set rp5 dis
 +
set rp6 dis
 +
set rp7 dis
 
set lpt dis
 
set lpt dis
 
set rl dis
 
set rl dis
 
set tq dis
 
set tq dis
 
set tu dis
 
set tu dis
att ts 43.tap
+
att ts uwisc.tap
 
set tti 7b
 
set tti 7b
 
set tto 7b
 
set tto 7b
load -o boot42 0
+
load -o boothp 0
d r10 9
+
d r10 0
 
d r11 0
 
d r11 0
 
run 2
 
run 2
Line 222: Line 230:
  
 
<pre>
 
<pre>
C:\4.3BSD\work>vax780.exe boot.ini
+
% ./vax780 boot.ini
 +
 
 +
VAX780 simulator V3.8-1
 +
loading hp(0,0)boot
  
VAX780 simulator V3.8-0
 
loading ra(0,0)boot
 
 
Boot
 
Boot
: ra(0,0)vmunix
+
: hp(0,0)vmunix
279844+80872+100324 start 0x12f8
+
290188+89696+102928 start 0x12f8
4.3 BSD UNIX #1: Fri Jun  6 19:55:29 PDT 1986
+
4.3 BSD UNIX #3: Mon Dec 29 11:54:56 CST 1986
     karels@monet.Berkeley.EDU:/usr/src/sys/GENERIC
+
     tadl@brie:/usr/src/bsd/4.3/sys/GENERIC
 
real mem  = 8388608
 
real mem  = 8388608
SYSPTSIZE limits number of buffers to 140
+
SYSPTSIZE limits number of buffers to 134
avail mem = 7187456
+
avail mem = 7136256
using 140 buffers containing 524288 bytes of memory
+
using 134 buffers containing 524288 bytes of memory
 
mcr0 at tr1
 
mcr0 at tr1
 
mcr1 at tr2
 
mcr1 at tr2
Line 244: Line 253:
 
rk3 at hk0 slave 3
 
rk3 at hk0 slave 3
 
uda0 at uba0 csr 172150 vec 774, ipl 15
 
uda0 at uba0 csr 172150 vec 774, ipl 15
ra0 at uda0 slave 0
 
 
zs0 at uba0 csr 172520 vec 224, ipl 15
 
zs0 at uba0 csr 172520 vec 224, ipl 15
 
ts0 at zs0 slave 0
 
ts0 at zs0 slave 0
Line 251: Line 259:
 
dz2 at uba0 csr 160120 vec 320, ipl 15
 
dz2 at uba0 csr 160120 vec 320, ipl 15
 
dz3 at uba0 csr 160130 vec 330, ipl 15
 
dz3 at uba0 csr 160130 vec 330, ipl 15
Changing root device to ra0a
+
mba0 at tr8
 +
hp0 at mba0 drive 0
 +
Changing root device to hp0a
 
Automatic reboot in progress...
 
Automatic reboot in progress...
Thu Feb 6 07:35:07 PST 1986
+
Tue Apr 7 13:29:38 PDT 1987
Can't open checklist file: /etc/fstab
+
/dev/hp0a: 329 files, 5370 used, 2051 free (11 frags, 255 blocks, 0.1% fragmenta
 +
tion)
 +
/dev/rhp0h: CANNOT READ: BLK 16
 +
/dev/rhp0h: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
 
Automatic reboot failed... help!
 
Automatic reboot failed... help!
 
erase ^?, kill ^U, intr ^C
 
erase ^?, kill ^U, intr ^C
Line 265: Line 278:
  
 
<pre>
 
<pre>
# disk=ra
+
# disk=hp
# name=ra0h;type=ra81
+
# name=hp0g;type=rp06
 
# cd /dev
 
# cd /dev
 
# sh ./MAKEDEV ts0;sync
 
# sh ./MAKEDEV ts0;sync
Line 276: Line 289:
  
 
<pre>
 
<pre>
# disk=ra
 
# name=ra0h;type=ra81
 
# cd /dev
 
# sh ./MAKEDEV ts0;sync
 
# cd /
 
 
# newfs $name $type
 
# newfs $name $type
Warning: 680 sector(s) in last cylinder unallocated
+
Warning: 154 sector(s) in last cylinder unallocated
/dev/rra0h:    291346 sectors in 409 cylinders of 14 tracks, 51 sectors
+
/dev/rhp0g:    291192 sectors in 697 cylinders of 19 tracks, 22 sectors
         149.2Mb in 26 cyl groups (16 c/g, 5.85Mb/g, 2048 i/g)
+
         149.1Mb in 44 cyl groups (16 c/g, 3.42Mb/g, 1536 i/g)
 
super-block backups (for fsck -b#) at:
 
super-block backups (for fsck -b#) at:
  32, 11520, 23008, 34496, 45984, 57472, 68960, 80448, 91936, 103424,
+
  32, 6744, 13456, 20168, 26880, 33592, 40304, 47016, 53728, 60440,
  114912, 126400, 137888, 149376, 160864, 172352, 182816, 194304, 205792, 217280,
+
  67152, 73864, 80576, 87288, 94000, 100712, 107424, 114136, 120848, 127560,
  228768, 240256, 251744, 263232, 274720, 286208,
+
  134272, 140984, 147696, 154408, 161120, 167832, 174544, 181256, 187968, 194680,
#
+
 
 +
201392, 208104, 214048, 220760, 227472, 234184, 240896, 247608, 254320, 261032,
 +
 
 +
267744, 274456, 281168, 287880,
 
</pre>
 
</pre>
  
Line 300: Line 311:
 
# cd /usr
 
# cd /usr
 
# mkdir sys
 
# mkdir sys
# cd sys
 
 
# mt rew
 
# mt rew
 
# mt fsf 3
 
# mt fsf 3
 
# tar xpbf 20 /dev/rmt12
 
# tar xpbf 20 /dev/rmt12
# cd ..
+
# cd sys
 
# mt fsf
 
# mt fsf
 
# tar xpbf 20 /dev/rmt12
 
# tar xpbf 20 /dev/rmt12
 
# cd /
 
# cd /
# chmod 755 / /usr /usr/sys
 
# rm -rf sys
 
# ln -s /usr/sys sys
 
 
# umount /dev/$name
 
# umount /dev/$name
 
# fsck /dev/r$name
 
# fsck /dev/r$name
Line 321: Line 328:
 
# cd /usr
 
# cd /usr
 
# mkdir sys
 
# mkdir sys
# cd sys
 
 
# mt rew
 
# mt rew
 
# mt fsf 3
 
# mt fsf 3
 
# tar xpbf 20 /dev/rmt12
 
# tar xpbf 20 /dev/rmt12
# cd ..
+
# cd sys
 
# mt fsf
 
# mt fsf
 
# tar xpbf 20 /dev/rmt12
 
# tar xpbf 20 /dev/rmt12
 
# cd /
 
# cd /
# chmod 755 / /usr /usr/sys
 
# rm -rf sys
 
# ln -s /usr/sys sys
 
 
# umount /dev/$name
 
# umount /dev/$name
 
# fsck /dev/r$name
 
# fsck /dev/r$name
** /dev/rra0h
+
** /dev/rhp0g
 
** Last Mounted on /usr
 
** Last Mounted on /usr
 
** Phase 1 - Check Blocks and Sizes
 
** Phase 1 - Check Blocks and Sizes
 
** Phase 2 - Check Pathnames
 
** Phase 2 - Check Pathnames
 +
DIRECTORY /man/cat1: LENGTH 5140 NOT MULTIPLE OF 512
 +
ADJUST? y
 +
 +
DIRECTORY /man/man0: LENGTH 532 NOT MULTIPLE OF 512
 +
ADJUST? y
 +
 
** Phase 3 - Check Connectivity
 
** Phase 3 - Check Connectivity
 
** Phase 4 - Check Reference Counts
 
** Phase 4 - Check Reference Counts
 
** Phase 5 - Check Cyl groups
 
** Phase 5 - Check Cyl groups
4645 files, 35630 used, 102954 free (162 frags, 12849 blocks, 0.1% fragmentation)
+
5131 files, 60483 used, 212723 free (627 frags, 26512 blocks, 0.2% fragmentation)
#
+
 
 +
***** FILE SYSTEM WAS MODIFIED *****
 
</pre>
 
</pre>
  
=== Configuring the fstab ===
+
There will always be some errors it would seem....  Also this is more of a dump of an existing system, not a 'distribution' tape, so there are some things we have to take care of.
  
Now we just need to create the fstab, format the 'home' slice, and then we can reboot the emulator into multiuser mode. Enter in the following commands:
+
The password file needs to be 'fixed' because I don't have the root password....
  
 
<pre>
 
<pre>
# cd /etc
+
root::0:1:The Not Ready for Prime Time Super User:/:/bin/csh
# cp fstab.ra81 fstab
+
daemon:*:1:1:The devil himself:/:
# newfs ra0g ra81
+
operator:*:5:5:Operator:/usr/operator:/bin/csh
# sync
+
tty::4:4:Which tty am I:/bin:/usr/bin/tty
# reboot
+
news:vXHPueUygRELQ:6:6:The News:/usr/lib/news:/bin/csh
 +
uucp:GbeWaSRwdvDCE:66:66:UNIX-to-UNIX Copy:/usr/spool/uucppublic:/usr/lib/uucp/uucico
 +
tadl:XyGpEqJu78.Rg:1433:10:Tad Lebeck,2289C,27950,2515517:/usr/staff/tadl:/bin/csh
 +
nobody:nopass:32767:32767:Nonexistent user:/nonexistent:/dev/null
 
</pre>
 
</pre>
  
And the expected output is as follows:
+
simply catting that into /etc/passwd should do the trick if you have a 'console' that you can paste text into....!
  
 +
The next thing that will have to be fixed is the fstab.
 
<pre>
 
<pre>
# cp fstab.ra81 fstab
+
/dev/hp0a / 4.2 rw,noquota 1 1
# newfs ra0g ra81
+
/dev/hp0g /usr 4.2 rw,noquota 1 2
/dev/rra0g:    515508 sectors in 722 cylinders of 14 tracks, 51 sectors
+
</pre>
        263.9Mb in 46 cyl groups (16 c/g, 5.85Mb/g, 2048 i/g)
 
super-block backups (for fsck -b#) at:
 
32, 11520, 23008, 34496, 45984, 57472, 68960, 80448, 91936, 103424,
 
114912, 126400, 137888, 149376, 160864, 172352, 182816, 194304, 205792, 217280,
 
  
228768, 240256, 251744, 263232, 274720, 286208, 297696, 309184, 320672, 332160,
+
Again cat that into /etc/fstab .
  
343648, 355136, 365600, 377088, 388576, 400064, 411552, 423040, 434528, 446016,
+
Finally let's add the DZ device files, and the ptys...
  
457504, 468992, 480480, 491968, 503456, 514944,
+
<pre>
# sync
+
# cd /dev
# reboot
+
# sh ./MAKEDEV dz0
syncing disks... done
+
# sh ./MAKEDEV pty0
 
 
Reboot requested, PC: 8002B03A (MOVL 8004F628,R0)
 
sim> q
 
Goodbye
 
 
</pre>
 
</pre>
  
Line 386: Line 392:
 
Now we can just re-run the last command, and we should boot multiuser!  By default there is no root password.  Also the system will run fsck uppon boot, so depending on your host computer this could take a while.
 
Now we can just re-run the last command, and we should boot multiuser!  By default there is no root password.  Also the system will run fsck uppon boot, so depending on your host computer this could take a while.
  
 +
<pre>
 +
% ./vax780 boot.ini
  
<pre>
+
VAX780 simulator V3.8-1
C:\4.3BSD\work>vax780.exe boot.ini
+
loading hp(0,0)boot
  
VAX780 simulator V3.8-0
 
loading ra(0,0)boot
 
 
Boot
 
Boot
: ra(0,0)vmunix
+
: hp(0,0)vmunix
279844+80872+100324 start 0x12f8
+
290188+89696+102928 start 0x12f8
4.3 BSD UNIX #1: Fri Jun  6 19:55:29 PDT 1986
+
4.3 BSD UNIX #3: Mon Dec 29 11:54:56 CST 1986
     karels@monet.Berkeley.EDU:/usr/src/sys/GENERIC
+
     tadl@brie:/usr/src/bsd/4.3/sys/GENERIC
 
real mem  = 8388608
 
real mem  = 8388608
SYSPTSIZE limits number of buffers to 140
+
SYSPTSIZE limits number of buffers to 134
avail mem = 7187456
+
avail mem = 7136256
using 140 buffers containing 524288 bytes of memory
+
using 134 buffers containing 524288 bytes of memory
 
mcr0 at tr1
 
mcr0 at tr1
 
mcr1 at tr2
 
mcr1 at tr2
Line 410: Line 416:
 
rk3 at hk0 slave 3
 
rk3 at hk0 slave 3
 
uda0 at uba0 csr 172150 vec 774, ipl 15
 
uda0 at uba0 csr 172150 vec 774, ipl 15
ra0 at uda0 slave 0
 
 
zs0 at uba0 csr 172520 vec 224, ipl 15
 
zs0 at uba0 csr 172520 vec 224, ipl 15
 
ts0 at zs0 slave 0
 
ts0 at zs0 slave 0
Line 417: Line 422:
 
dz2 at uba0 csr 160120 vec 320, ipl 15
 
dz2 at uba0 csr 160120 vec 320, ipl 15
 
dz3 at uba0 csr 160130 vec 330, ipl 15
 
dz3 at uba0 csr 160130 vec 330, ipl 15
Changing root device to ra0a
+
mba0 at tr8
 +
hp0 at mba0 drive 0
 +
Changing root device to hp0a
 
Automatic reboot in progress...
 
Automatic reboot in progress...
Thu Feb 6 07:43:43 PST 1986
+
Tue Apr 7 13:38:51 PDT 1987
/dev/ra0a: 330 files, 4200 used, 3229 free (5 frags, 403 blocks, 0.1% fragmentat
+
/dev/hp0a: 381 files, 5371 used, 2050 free (10 frags, 255 blocks, 0.1% fragmenta
ion)
+
tion)
/dev/rra0h: 4645 files, 35630 used, 102954 free (162 frags, 12849 blocks, 0.1% f
+
/dev/rhp0g: 5131 files, 60483 used, 212723 free (627 frags, 26512 blocks, 0.2% f
 
ragmentation)
 
ragmentation)
/dev/rra0g: 2 files, 9 used, 245216 free (16 frags, 30650 blocks, 0.0% fragmenta
+
Tue Apr  7 13:38:54 PDT 1987
tion)
+
/dev/hp0a mounted on /
Thu Feb  6 07:43:50 PST 1986
+
/dev/hp0g mounted on /usr
checking quotas: done.
+
starting rpc daemons: portmap rpcd.
 
starting system logger
 
starting system logger
checking for core dump... /a/crash: No such file or directory
+
starting local deamons: routed sendmail biod.
 
 
Feb  6 07:43:51 myname savecore: /a/crash: No such file or directory
 
starting local daemons:Feb  6 07:43:51 myname named[53]: /etc/named.boot: No suc
 
h file or directory
 
named sendmail.
 
 
preserving editor files
 
preserving editor files
 
clearing /tmp
 
clearing /tmp
standard daemons: update cron accounting.
+
standard daemons: update cron.
starting network daemons: rwhod inetd printer.
+
starting network daemons: inetd printer.
Thu Feb 6 07:43:52 PST 1986
+
Tue Apr 7 13:38:57 PDT 1987
Feb  6 07:43:54 myname getty: /dev/tty03: No such file or directory
 
Feb  6 07:43:54 myname getty: /dev/tty02: No such file or directory
 
Feb  6 07:43:54 myname getty: /dev/tty05: No such file or directory
 
Feb  6 07:43:54 myname getty: /dev/tty04: No such file or directory
 
Feb  6 07:43:54 myname getty: /dev/tty07: No such file or directory
 
Feb  6 07:43:54 myname getty: /dev/tty06: No such file or directory
 
Feb  6 07:43:54 myname getty: /dev/tty00: No such file or directory
 
Feb  6 07:43:54 myname getty: /dev/tty01: No such file or directory
 
  
 
+
Wisconsin UNIX (myname console)
4.3 BSD UNIX (myname.my.domain) (console)
+
4.3+NFS > V.*
  
 
login:
 
login:
 
</pre>
 
</pre>
  
 +
Now we've booted up and you can login as root!
  
Now we can simply logon as root.
+
<pre>
 +
Wisconsin UNIX (myname console)
 +
4.3+NFS > V.*
  
<pre>
 
 
login: root
 
login: root
Feb  6 07:43:56 myname login: ROOT LOGIN console
+
Last login: Mon Jan 12 12:44:40 on console
4.3 BSD UNIX #1: Fri Jun  6 19:55:29 PDT 1986
+
4.3 BSD UNIX #3: Mon Dec 29 11:54:56 CST 1986
 +
 
 +
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 +
 
 +
                        4.3+NFS Wisconsin Unix
  
Would you like to play a game?
+
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  
 +
You have mail.
 
Don't login as root, use su
 
Don't login as root, use su
 
myname#
 
myname#
 
</pre>
 
</pre>
 
From here you can explore the system.  All of the man pages are installed, and there is enough of a base system to get going.  Sadly there are bugs in how [[4.2 BSD]] and how [[SIMH]] interact with  the networking, and it is not reliable. As sad as it is to be an 'island' you can however setup the dz serial interface to allow more than one user.
 
  
 
=== Enabling remote users ===
 
=== Enabling remote users ===
  
Inside of BSD 4.3 you will have to create the dz device files.  Simply logon as root, and run the following commands:
+
Shutdown the OS, and add the following lines into the boot.ini (just make sure they are above the boot command or it'll not work correctly..).  This will allow for 8 users to connect on tcp port 8888.
 
 
<pre>
 
cd /dev
 
sh ./MAKEDEV dz0
 
</pre>
 
 
 
Next, shutdown the OS, and add the following lines into the boot.ini (just make sure they are above the boot command or it'll not work correctly..).  This will allow for 8 users to connect on tcp port 8888.
 
  
 
<pre>
 
<pre>
Line 490: Line 482:
 
I would also recommend to windows users, either [[putty]], or [[syncterm]].  The default telnet client sucks.
 
I would also recommend to windows users, either [[putty]], or [[syncterm]].  The default telnet client sucks.
  
 +
==== fixing if_de.c ====
 +
On my SLiRP builds, I've noticed that the interface just generates errors, but it should work.  It was easier to 'fix' the BSD device driver...
 +
 +
So in the derecv procedure apply the following fix:
  
== Idle ==
+
<pre>
 +
        /* check for errors */
 +
        if(1==2){
 +
/**    if ((rp->r_flags & (RFLG_ERRS|RFLG_FRAM|RFLG_OFLO|RFLG_CRC)) ||
 +
            (rp->r_flags&(RFLG_STP|RFLG_ENP)) != (RFLG_STP|RFLG_ENP) ||
 +
            (rp->r_lenerr & (RERR_BUFL|RERR_UBTO|RERR_NCHN)) ||
 +
            len < ETHERMIN || len > ETHERMTU) {
 +
            ***/
 +
</pre>
  
On SIMH 3.8-0 I've noticed that if you set the cpu idle to 32v, 4.3 BSD can idle on the 11/780 emualtor..Simply add the following line to your boot.ini
+
== Adding an RA81 disk ==
 +
I've found the default disktab entry for the [[RA81 disk drive|RA81]] disk to be unsatisfactoryI've found this one to be much more agreeable:
  
 
<pre>
 
<pre>
set cpu idle=32v
+
ra81|RA81|DEC RA81 Winchester:\
 +
        :ty=winchester:ns#51:nt#14:nc#1248:\
 +
        :dt=MSCP:\
 +
        :pa#15884:oa#0:ba#8192:fa#1024:\
 +
        :pb#66880:ob#16422:bb#8192:fb#1024:tb=swap:\
 +
        :pc#891072:oc#0:bc#8192:fc#1024:\
 +
        :pd#15884:od#375564:bd#4096:fd#512:\
 +
        :pe#307200:oe#391986:be#8192:fe#1024:\
 +
        :pf#191352:of#699720:bf#8192:ff#1024:\
 +
        :pg#515508:og#375564:bg#8192:fg#1024:\
 +
        :ph#291346:oh#83538:bh#8192:fh#1024:
 
</pre>
 
</pre>
  
 
[[Category:SIMH Tutorials]]
 
[[Category:SIMH Tutorials]]

Latest revision as of 19:55, 27 September 2025

Requirements

You will need the following materials to put together a 4.3 BSD+NFS Wisconsin Unix installation:

  • A working perl interpeter to make the tape images.
  • A copy of gzip.
  • A method of extracting the boot file from either the binaries (tar/gzip) or uudecode to extract it from here.
  • A compiled binary of vax780 from SIMH, along with the vmb.exe again from SIMH.
  • The Mkdisttap.pl program, you can take the settings from Quasijarus as the names & block sizes match up.

You will need the following files from any 4 BSD archive from the 4.3BSD directory. I have used the files from mirror.cc.vt.edu. You can use whatever method you like to download them, wget, a web browser etc..

stand.gz
miniroot.gz
rootdump.gz
usr.tar.gz
srcsys.tar.gz
src.tar.gz

Preparing for installation

With the files downloaded you will need to uncompress them all and then create the tape file.

The following command will decompress the tape files.

gzip -d *.gz

The tape needs to be created with the mkdisttap.pl program. Simply run the program and redirect it into a file called uwisc.tap .

% ./mkdisttap.pl > uwisc.tap
% ls -l uwisc.tap
-rw-r--r--  1 Neozeed  None  74337572 Apr  7 19:40 uwisc.tap

Next you will need the boot program. I have uploaded a copy onto this wiki in uuencoded format. To decode it, simply access the article, and copy the contents of the quoted text (the begin/end part INCLUDING the begin & end segments) and save it to a text file. Then you will need to run the uudecode file as follows:

% ls -l boothp.uue
-rw-r--r--  1 Neozeed  None  10683 Apr  7 20:15 boothp.uue
% uudecode boothp.uue
% ls -l boothp
-rw-------  1 Neozeed  None  7736 Apr  7 20:20 boothp
% file boothp
boothp: data
%

Boot 1.

We are going to use the following config file to start the first phase of the installation. Save the following configuration into a file such as 'install.ini'. Since we are going to boot directly into the miniroot the rq1 disk will hold the installation target. Since the 'normal' way to install is to install from tape onto the first disk, we will have to add a device file uppon boot for the second disk, and be sure to point the xtr program to the second disk.

install.ini

set rq0 dis
set rq1 dis
set rq2 dis
set rq3 dis
set rp0 rp06
att rp0 miniroot
set rp1 rp06
att rp1 rp06.disk
set rp2 dis
set rp3 dis
set rp4 dis
set rp5 dis
set rp6 dis
set rp7 dis
set lpt dis
set rl dis
set tq dis
set tu dis
att ts uwisc.tap
set tti 7b
set tto 7b
load -o boothp 0
d r10 0
d r11 0
run 2

Booting the emulator

You then simply run the emulator and pass it the config file. You will be prompted to "overwrite last track" answer y and hit enter.

% ./vax780 install.ini

VAX780 simulator V3.8-1
RP: creating new file
Overwrite last track? [N] y
loading hp(0,0)boot

Boot
: hp(0,0)vmunix
290188+89696+102928 start 0x12f8
4.3 BSD UNIX #3: Mon Dec 29 11:54:56 CST 1986
    tadl@brie:/usr/src/bsd/4.3/sys/GENERIC
real mem  = 8388608
SYSPTSIZE limits number of buffers to 134
avail mem = 7136256
using 134 buffers containing 524288 bytes of memory
mcr0 at tr1
mcr1 at tr2
uba0 at tr3
hk0 at uba0 csr 177440 vec 210, ipl 15
rk0 at hk0 slave 0
rk1 at hk0 slave 1
rk2 at hk0 slave 2
rk3 at hk0 slave 3
uda0 at uba0 csr 172150 vec 774, ipl 15
zs0 at uba0 csr 172520 vec 224, ipl 15
ts0 at zs0 slave 0
dz0 at uba0 csr 160100 vec 300, ipl 15
dz1 at uba0 csr 160110 vec 310, ipl 15
dz2 at uba0 csr 160120 vec 320, ipl 15
dz3 at uba0 csr 160130 vec 330, ipl 15
mba0 at tr8
hp0 at mba0 drive 0
hp1 at mba0 drive 1
Changing root device to hp0a
erase ^?, kill ^U, intr ^C
#

Restoring the rootdump

From here we are now running from the miniroot. The next steps are as follows:

# cd /dev
# ./MAKEDEV hp1
# cd /
# disk=hp1 type=rp06 tape=ts xtr

This will create a 'device' for the hp1 disk, then run the xtr program to restore the root dump. Take note that the chgrp & chmod commands are not found, however the install will proceed as normal.

# cd /dev
# ./MAKEDEV hp1
syntax error
./MAKEDEV: chgrp: not found
./MAKEDEV: chmod: not found
# cd /
# disk=hp1 type=rp06 tape=ts xtr
Build root file system
/dev/rhp1a:     15884 sectors in 38 cylinders of 19 tracks, 22 sectors
        8.1Mb in 3 cyl groups (16 c/g, 3.42Mb/g, 1216 i/g)
super-block backups (for fsck -b#) at:
 32, 6752, 13472,
Check the file system
** /dev/rhp1a
** 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, 7412 free (20 frags, 924 blocks, 0.3% fragmentation)
Rewind tape
Restore the dump image of the root
Warning: ./lost+found: File exists
** /dev/rhp1a
** Last Mounted on /a
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
329 files, 5370 used, 2051 free (11 frags, 255 blocks, 0.1% fragmentation)
Root filesystem extracted

If this is an 8650 or 8600, update the console rl02
If this is a 780 or 785, update the floppy
If this is a 730, update the cassette
#

After this stage, I just sync the disk a few times, then halt the emulator (CONTROL+E) and exit out. Now we are ready for stage two.

If this is a 730, update the cassette
# sync
# sync
# sync

Simulation stopped, PC: 800018A3 (MTPR #0,#12)
sim> q
Goodbye
%

Boot 2.

Now that the install disk is prepared, we need to use a different config file to reflect us going back to a single disk/tape configuration. The new configuration is as follows:

boot.ini

set rq0 dis
set rq1 dis
set rq2 dis
set rq3 dis
set rp0 rp06
att rp0 rp06.disk
set rp1 dis
set rp2 dis
set rp3 dis
set rp4 dis
set rp5 dis
set rp6 dis
set rp7 dis
set lpt dis
set rl dis
set tq dis
set tu dis
att ts uwisc.tap
set tti 7b
set tto 7b
load -o boothp 0
d r10 0
d r11 0
run 2

Booting the emulator

Now boot up the emulator with the boot.ini

% ./vax780  boot.ini

VAX780 simulator V3.8-1
loading hp(0,0)boot

Boot
: hp(0,0)vmunix
290188+89696+102928 start 0x12f8
4.3 BSD UNIX #3: Mon Dec 29 11:54:56 CST 1986
    tadl@brie:/usr/src/bsd/4.3/sys/GENERIC
real mem  = 8388608
SYSPTSIZE limits number of buffers to 134
avail mem = 7136256
using 134 buffers containing 524288 bytes of memory
mcr0 at tr1
mcr1 at tr2
uba0 at tr3
hk0 at uba0 csr 177440 vec 210, ipl 15
rk0 at hk0 slave 0
rk1 at hk0 slave 1
rk2 at hk0 slave 2
rk3 at hk0 slave 3
uda0 at uba0 csr 172150 vec 774, ipl 15
zs0 at uba0 csr 172520 vec 224, ipl 15
ts0 at zs0 slave 0
dz0 at uba0 csr 160100 vec 300, ipl 15
dz1 at uba0 csr 160110 vec 310, ipl 15
dz2 at uba0 csr 160120 vec 320, ipl 15
dz3 at uba0 csr 160130 vec 330, ipl 15
mba0 at tr8
hp0 at mba0 drive 0
Changing root device to hp0a
Automatic reboot in progress...
Tue Apr  7 13:29:38 PDT 1987
/dev/hp0a: 329 files, 5370 used, 2051 free (11 frags, 255 blocks, 0.1% fragmenta
tion)
/dev/rhp0h: CANNOT READ: BLK 16
/dev/rhp0h: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
Automatic reboot failed... help!
erase ^?, kill ^U, intr ^C
#

Preparing the disk

Now we have to prep the machine for both the tape, and the type of disk. Type in the following commands.

# disk=hp
# name=hp0g;type=rp06
# cd /dev
# sh ./MAKEDEV ts0;sync
# cd /
# newfs $name $type

The output will be like this:

# newfs $name $type
Warning: 154 sector(s) in last cylinder unallocated
/dev/rhp0g:     291192 sectors in 697 cylinders of 19 tracks, 22 sectors
        149.1Mb in 44 cyl groups (16 c/g, 3.42Mb/g, 1536 i/g)
super-block backups (for fsck -b#) at:
 32, 6744, 13456, 20168, 26880, 33592, 40304, 47016, 53728, 60440,
 67152, 73864, 80576, 87288, 94000, 100712, 107424, 114136, 120848, 127560,
 134272, 140984, 147696, 154408, 161120, 167832, 174544, 181256, 187968, 194680,

 201392, 208104, 214048, 220760, 227472, 234184, 240896, 247608, 254320, 261032,

 267744, 274456, 281168, 287880,

Restoring the usr slice

The disk's /usr slice will not have been formatted. We can not go ahead and mount it, and restore the /usr files. Then we unmount the slice, and run fsck to make sure everything is ok.

# mount /dev/$name /usr
# cd /usr
# mkdir sys
# mt rew
# mt fsf 3
# tar xpbf 20 /dev/rmt12
# cd sys
# mt fsf
# tar xpbf 20 /dev/rmt12
# cd /
# umount /dev/$name
# fsck /dev/r$name

Likewise, the output should be similar to this:

# mount /dev/$name /usr
# cd /usr
# mkdir sys
# mt rew
# mt fsf 3
# tar xpbf 20 /dev/rmt12
# cd sys
# mt fsf
# tar xpbf 20 /dev/rmt12
# cd /
# umount /dev/$name
# fsck /dev/r$name
** /dev/rhp0g
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
DIRECTORY /man/cat1: LENGTH 5140 NOT MULTIPLE OF 512
ADJUST? y

DIRECTORY /man/man0: LENGTH 532 NOT MULTIPLE OF 512
ADJUST? y

** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
5131 files, 60483 used, 212723 free (627 frags, 26512 blocks, 0.2% fragmentation)

***** FILE SYSTEM WAS MODIFIED *****

There will always be some errors it would seem.... Also this is more of a dump of an existing system, not a 'distribution' tape, so there are some things we have to take care of.

The password file needs to be 'fixed' because I don't have the root password....

root::0:1:The Not Ready for Prime Time Super User:/:/bin/csh
daemon:*:1:1:The devil himself:/:
operator:*:5:5:Operator:/usr/operator:/bin/csh
tty::4:4:Which tty am I:/bin:/usr/bin/tty
news:vXHPueUygRELQ:6:6:The News:/usr/lib/news:/bin/csh
uucp:GbeWaSRwdvDCE:66:66:UNIX-to-UNIX Copy:/usr/spool/uucppublic:/usr/lib/uucp/uucico
tadl:XyGpEqJu78.Rg:1433:10:Tad Lebeck,2289C,27950,2515517:/usr/staff/tadl:/bin/csh
nobody:nopass:32767:32767:Nonexistent user:/nonexistent:/dev/null

simply catting that into /etc/passwd should do the trick if you have a 'console' that you can paste text into....!

The next thing that will have to be fixed is the fstab.

/dev/hp0a / 4.2 rw,noquota 1 1
/dev/hp0g /usr 4.2 rw,noquota 1 2

Again cat that into /etc/fstab .

Finally let's add the DZ device files, and the ptys...

# cd /dev
# sh ./MAKEDEV dz0
# sh ./MAKEDEV pty0

First Multiuser Boot

Now we can just re-run the last command, and we should boot multiuser! By default there is no root password. Also the system will run fsck uppon boot, so depending on your host computer this could take a while.

% ./vax780 boot.ini

VAX780 simulator V3.8-1
loading hp(0,0)boot

Boot
: hp(0,0)vmunix
290188+89696+102928 start 0x12f8
4.3 BSD UNIX #3: Mon Dec 29 11:54:56 CST 1986
    tadl@brie:/usr/src/bsd/4.3/sys/GENERIC
real mem  = 8388608
SYSPTSIZE limits number of buffers to 134
avail mem = 7136256
using 134 buffers containing 524288 bytes of memory
mcr0 at tr1
mcr1 at tr2
uba0 at tr3
hk0 at uba0 csr 177440 vec 210, ipl 15
rk0 at hk0 slave 0
rk1 at hk0 slave 1
rk2 at hk0 slave 2
rk3 at hk0 slave 3
uda0 at uba0 csr 172150 vec 774, ipl 15
zs0 at uba0 csr 172520 vec 224, ipl 15
ts0 at zs0 slave 0
dz0 at uba0 csr 160100 vec 300, ipl 15
dz1 at uba0 csr 160110 vec 310, ipl 15
dz2 at uba0 csr 160120 vec 320, ipl 15
dz3 at uba0 csr 160130 vec 330, ipl 15
mba0 at tr8
hp0 at mba0 drive 0
Changing root device to hp0a
Automatic reboot in progress...
Tue Apr  7 13:38:51 PDT 1987
/dev/hp0a: 381 files, 5371 used, 2050 free (10 frags, 255 blocks, 0.1% fragmenta
tion)
/dev/rhp0g: 5131 files, 60483 used, 212723 free (627 frags, 26512 blocks, 0.2% f
ragmentation)
Tue Apr  7 13:38:54 PDT 1987
/dev/hp0a mounted on /
/dev/hp0g mounted on /usr
starting rpc daemons: portmap rpcd.
starting system logger
starting local deamons: routed sendmail biod.
preserving editor files
clearing /tmp
standard daemons: update cron.
starting network daemons: inetd printer.
Tue Apr  7 13:38:57 PDT 1987

Wisconsin UNIX (myname console)
4.3+NFS > V.*

login:

Now we've booted up and you can login as root!

Wisconsin UNIX (myname console)
4.3+NFS > V.*

login: root
Last login: Mon Jan 12 12:44:40 on console
4.3 BSD UNIX #3: Mon Dec 29 11:54:56 CST 1986

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

                         4.3+NFS Wisconsin Unix

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

You have mail.
Don't login as root, use su
myname#

Enabling remote users

Shutdown the OS, and add the following lines into the boot.ini (just make sure they are above the boot command or it'll not work correctly..). This will allow for 8 users to connect on tcp port 8888.

set dz lines=8
att dz 8888
set dz 7b

I would also recommend to windows users, either putty, or syncterm. The default telnet client sucks.

fixing if_de.c

On my SLiRP builds, I've noticed that the interface just generates errors, but it should work. It was easier to 'fix' the BSD device driver...

So in the derecv procedure apply the following fix:

        /* check for errors */
        if(1==2){
/**     if ((rp->r_flags & (RFLG_ERRS|RFLG_FRAM|RFLG_OFLO|RFLG_CRC)) ||
            (rp->r_flags&(RFLG_STP|RFLG_ENP)) != (RFLG_STP|RFLG_ENP) ||
            (rp->r_lenerr & (RERR_BUFL|RERR_UBTO|RERR_NCHN)) ||
            len < ETHERMIN || len > ETHERMTU) {
            ***/

Adding an RA81 disk

I've found the default disktab entry for the RA81 disk to be unsatisfactory. I've found this one to be much more agreeable:

ra81|RA81|DEC RA81 Winchester:\
        :ty=winchester:ns#51:nt#14:nc#1248:\
        :dt=MSCP:\
        :pa#15884:oa#0:ba#8192:fa#1024:\
        :pb#66880:ob#16422:bb#8192:fb#1024:tb=swap:\
        :pc#891072:oc#0:bc#8192:fc#1024:\
        :pd#15884:od#375564:bd#4096:fd#512:\
        :pe#307200:oe#391986:be#8192:fe#1024:\
        :pf#191352:of#699720:bf#8192:ff#1024:\
        :pg#515508:og#375564:bg#8192:fg#1024:\
        :ph#291346:oh#83538:bh#8192:fh#1024: