From e847fff494e7fceb1a1351a0ff0dfe98976aa083 Mon Sep 17 00:00:00 2001 From: wfjm Date: Thu, 25 May 2017 23:45:40 +0200 Subject: [PATCH] update 211bsd oskits --- doc/CHANGELOG.md | 4 +++ tools/oskit/211bsd_rk/CHANGELOG.md | 31 ++++++++++++++++ tools/oskit/211bsd_rk/README.md | 24 ++++++++----- tools/oskit/211bsd_rl/CHANGELOG.md | 29 +++++++++++++++ tools/oskit/211bsd_rl/README.md | 36 ++++++++++--------- tools/oskit/211bsd_rp/CHANGELOG.md | 57 ++++++++++++++++++++++++++++++ tools/oskit/211bsd_rp/README.md | 38 ++++++++++---------- 7 files changed, 175 insertions(+), 44 deletions(-) create mode 100644 tools/oskit/211bsd_rk/CHANGELOG.md create mode 100644 tools/oskit/211bsd_rl/CHANGELOG.md create mode 100644 tools/oskit/211bsd_rp/CHANGELOG.md diff --git a/doc/CHANGELOG.md b/doc/CHANGELOG.md index 8dd72a6b..005d3e83 100644 --- a/doc/CHANGELOG.md +++ b/doc/CHANGELOG.md @@ -25,6 +25,10 @@ The full set of tests is only run for tagged releases. - RSX11-M uses buffer chaining, will not work ### Summary +- cleanup 211bsd system images (oskits) + - 211bsd_rp, the master, see [CHANGELOG](../tools/oskit/211bsd_rp/CHANGELOG.md) + - 211bsd_rk, see [CHANGELOG](../tools/oskit/211bsd_rl/CHANGELOG.md) + - 211bsd_rl, see [CHANGELOG](../tools/oskit/211bsd_rk/CHANGELOG.md) - Rw11CntlPC11,Rw11CntlDL11: trace received chars - Miscellaneous fixes and changes - Makefile: add all_tcl to all; use njobihtm diff --git a/tools/oskit/211bsd_rk/CHANGELOG.md b/tools/oskit/211bsd_rk/CHANGELOG.md new file mode 100644 index 00000000..3219a7f8 --- /dev/null +++ b/tools/oskit/211bsd_rk/CHANGELOG.md @@ -0,0 +1,31 @@ +# Changelog for 211bsd_rk oskit + +## 2017-05-25: major update +- kernel config unchanged +- kernel rebuild (to reflect node name ect) +- disk set re-build from [211bsd_rp](../211bsd_rp) master + - main change is the group 7 fixup done for 211bsd_rp + +## 2009-xx-xx: initial system setup +- use 211bsd_rp system as base +- configure a kernel RETRONFPRK, as non-networking, main differences + ``` + IDENT RETRONFPNW --> RETRONFPRK + BOOTDEV rm --> rk + DUMPDEV makedev(10,1) --> makedev(6,1) + DUMPROUTINE xpdump --> rkdump + INET YES --> NO + NPTY 16 --> 8 + ``` +- create a set of 4 disks with a absolute minimal non-networking system + ``` + /dev/rk0h / ufs + /dev/rk1h none swap + /dev/rk2h /tmp ufs + /dev/rk3h /bin ufs + /dev/rk4h /usr ufs + ``` +- provisos + - /tmp stays on '/' + - /home is not mounted + - absolute minimal system, suitable for a 'root' user diff --git a/tools/oskit/211bsd_rk/README.md b/tools/oskit/211bsd_rk/README.md index a4c1d838..64c25971 100644 --- a/tools/oskit/211bsd_rk/README.md +++ b/tools/oskit/211bsd_rk/README.md @@ -6,6 +6,8 @@ See notes in [w11a_os_guide.md](../../../doc/w11a_os_guide.md) on 2. FPGA Board setup 3. Rlink and Backend Server setup 4. Legal terms + +For history see [CHANGELOG.md](CHANGELOG.md). ### Installation A disk set is available from @@ -37,14 +39,14 @@ Download, unpack and copy the disk images (*.dsk), e.g. : rk(0,0,0)unix Boot: bootdev=03000 bootcsr=0177404 - 2.11 BSD UNIX #26: Thu Jan 1 19:49:13 PST 2009 - root@curly.2bsd.com:/usr/src/sys/RETRONFPRK + 2.11 BSD UNIX #27: Sat May 20 22:55:12 PDT 2017 + root@w11a:/usr/src/sys/RETRONFPRK phys mem = 3932160 avail mem = 3577856 user mem = 307200 - January 4 16:45:33 init: configure system + May 20 23:02:13 init: configure system dz ? csr 160100 vector 310 skipped: No CSR. lp 0 csr 177514 vector 200 attached @@ -60,6 +62,7 @@ Download, unpack and copy the disk images (*.dsk), e.g. to continue the system startup to multi-user mode: ``` #^D + Fast boot ... skipping disk checks checking quotas: done. Assuming non-networking system ... checking for core dump... @@ -67,12 +70,10 @@ Download, unpack and copy the disk images (*.dsk), e.g. clearing /tmp standard daemons: update cron accounting. starting lpd - starting local daemons:Sun Jan 4 16:46:37 PST 2009 - January 4 16:46:37 init: kernel security level changed from 0 to 1 - January 4 16:46:40 getty: /dev/tty01: Device not configured - ... + starting local daemons:Sat May 20 23:02:20 PDT 2017 + May 20 23:02:20 init: kernel security level changed from 0 to 1 - 2.11 BSD UNIX (curly.2bsd.com) (console) + 2.11 BSD UNIX (w11a) (console) login: ``` @@ -122,3 +123,10 @@ Download, unpack and copy the disk images (*.dsk), e.g. ``` will be visible. Now the server process can be stopped with `^D`. + +### Provisos +- **absolute minimal** system !! Not for practical use !! +- was useful at a time when w11a had only RK11 type disk support +- /tmp stays on '/' +- /home is not mounted +- suitable for a 'root' user, other accounts not supported diff --git a/tools/oskit/211bsd_rl/CHANGELOG.md b/tools/oskit/211bsd_rl/CHANGELOG.md new file mode 100644 index 00000000..f292286c --- /dev/null +++ b/tools/oskit/211bsd_rl/CHANGELOG.md @@ -0,0 +1,29 @@ +# Changelog for 211bsd_rl oskit + +## 2017-05-25: major update +- kernel config unchanged +- kernel rebuild (to reflect node name ect) +- disk set re-build from [211bsd_rp](../211bsd_rp) master + - main change is the group 7 fixup done for 211bsd_rp + +## 2009-xx-xx: initial system setup +- use 211bsd_rp system as base +- configure a kernel RETRONFPRL, as non-networking, main differences + ``` + IDENT RETRONFPNW --> RETRONFPRL + BOOTDEV rm --> rl + DUMPDEV makedev(10,1) --> makedev(7,1) + DUMPROUTINE xpdump --> rldump + INET YES --> NO + NPTY 16 --> 8 + ``` +- create a set of 2 disks with a minimal non-networking system + ``` + /dev/rl0a / ufs + /dev/rl0b none swap + /dev/rl1h /usr ufs + ``` +- provisos + - /tmp stays on '/' + - /home is not mounted + - minimal system, suitable for a 'root' user diff --git a/tools/oskit/211bsd_rl/README.md b/tools/oskit/211bsd_rl/README.md index dae460a6..e34c367a 100644 --- a/tools/oskit/211bsd_rl/README.md +++ b/tools/oskit/211bsd_rl/README.md @@ -6,6 +6,8 @@ See notes in [w11a_os_guide.md](../../../doc/w11a_os_guide.md) on 2. FPGA Board setup 3. Rlink and Backend Server setup 4. Legal terms + +For history see [CHANGELOG.md](CHANGELOG.md). ### Installation A disk set is available from @@ -37,14 +39,14 @@ Download, unpack and copy the disk images (*.dsk), e.g. : rl(0,0,0)unix Boot: bootdev=03400 bootcsr=0174400 - 2.11 BSD UNIX #1: Thu Jan 1 22:05:02 PST 2009 - root@curly.2bsd.com:/usr/src/sys/RETRONFPRL + 2.11 BSD UNIX #2: Sat May 20 22:55:40 PDT 2017 + root@w11a:/usr/src/sys/RETRONFPRL phys mem = 3932160 avail mem = 3577344 user mem = 307200 - January 1 22:44:48 init: configure system + May 20 23:28:34 init: configure system dz ? csr 160100 vector 310 skipped: No CSR. lp 0 csr 177514 vector 200 attached @@ -59,27 +61,22 @@ Download, unpack and copy the disk images (*.dsk), e.g. In first `'#'` prompt the system is in single-user mode. Just enter a `^D` to continue the system startup to multi-user mode: ``` - #^D - + #^D Fast boot ... skipping disk checks checking quotas: done. Assuming non-networking system ... preserving editor files clearing /tmp standard daemons: update cron accounting. - January 1 22:46:13 acctd[51]: open(/usr/adm/acct,O_WRONLY|O_APPEND): 2 starting lpd - starting local daemons:Thu Jan 1 22:46:13 PST 2009 - January 1 22:46:13 init: kernel security level changed from 0 to 1 - January 1 22:46:15 getty: /dev/tty01: Device not configured - January 1 22:46:15 getty: /dev/tty00: Device not configured - January 1 22:46:15 getty: /dev/tty02: Device not configured - January 1 22:46:15 getty: /dev/tty03: Device not configured - - 2.11 BSD UNIX (curly.2bsd.com) (console) + starting local daemons:Sat May 20 23:28:41 PDT 2017 + May 20 23:28:41 init: kernel security level changed from 0 to 1 - login: - ``` + + 2.11 BSD UNIX (w11a) (console) + + login: +``` The login prompt is sometimes mangled with the 'Device not configured' system messages, if its not visible just hit `` to get a fresh one. ``` @@ -123,3 +120,10 @@ Download, unpack and copy the disk images (*.dsk), e.g. ``` will be visible. Now the server process can be stopped with `^D`. + +### Provisos +- **minimal** system !! Maybe useful as recovery system. +- was useful at a time when w11a had only RK11 and RL11 type disk support +- /tmp stays on '/' +- /home is not mounted +- suitable for a 'root' user, other accounts not supported diff --git a/tools/oskit/211bsd_rp/CHANGELOG.md b/tools/oskit/211bsd_rp/CHANGELOG.md new file mode 100644 index 00000000..15cb99dc --- /dev/null +++ b/tools/oskit/211bsd_rp/CHANGELOG.md @@ -0,0 +1,57 @@ +# Changelog for 211bsd_rp oskit + +## 2017-05-25: major update +The oskit was so far an almost 'out-of-the-box' 211bsb tape distribution kit, +updated to version #447 and setup with a kernel including `FPSIM`. +The current revision for a first time brings a system tuned for w11a. + +### Issues with old oskit (all fixed now) +- swap partition too small for a crash dump of a 4 MB system +- `/tmp` and `/home` were on `/` root file system +- many files were in group 7 and should be in group `bin` +### System changes +- system disk repartitioned + ``` + par use size size offset size(kB) comment + a / 50c 20900 0 10450 no tmp for fsck! + b swap 20c 8360 20900 4180 >3840 kB phys mem + c /tmp 25c 10450 29260 5200 + d /home 50c 20900 39710 10450 + e /usr 669c 279642 60610 139821 will be ~68% full + ``` +- kernel rebuild + - slip support enabled (NSL now 1) +- system setup sanitized + - `/etc/ttys`: all DZ11 lines set 'off' for now + - `/etc/printcap`: default printer now `lp0`, others removed +- network setup sanitized + - `/etc/netstart`: now suitable for usage in a 192.169.x.x subnet + ``` + hostname=w11a + netmask=255.255.255.0 + broadcast=192.168.2.255 + default=192.168.2.1 + ``` + - `/etc/resolv.conf` now empty + - `/etc/hosts` now minimal + ``` + 127.0.0.1 localhost + 192.168.2.150 w11a + 192.168.2.25 athome + ``` + - only loopback device `lo0` enabled at boot time + - slip `sl0` is available and working, but must be started after boot +- added user `test` with password `test4W11a` + +## 2009-xx-xx: initial system setup +Setup 211bsd system from tape distribution kit obtained from +[TUHS](http://www.tuhs.org/). +- get tape distribution kit from [UnixArchive/Distributions/UCB/2.11BSD](ftp://www.tuhs.org/UnixArchive/Distributions/UCB/2.11BSD/) +- get patches from [UnixArchive/Distributions/UCB/2.11BSD/Patches](ftp://www.tuhs.org/UnixArchive/Distributions/UCB/2.11BSD/Patches/) +- setup initial system using `simh` + - load tape distribution kit (is version 431) + - install all patches: 432,...,444 + - `FPSIM` didn't work. Fixed with [patch #445](https://wfjm.github.io/blogs/211bsd/2007-01-03-patch-445.html). + - boot from a `RK05` wasn't possible. Fixed with [patch #446+447](https://wfjm.github.io/blogs/211bsd/2009-01-04-patch-446+447.html). +- build a kernel with `FPSIM` enabled (see `/sys/conf/RETRONFPNW`) +- setup oskits for RP06, RL02 and RK05 diff --git a/tools/oskit/211bsd_rp/README.md b/tools/oskit/211bsd_rp/README.md index 0cabda1d..1272743d 100644 --- a/tools/oskit/211bsd_rp/README.md +++ b/tools/oskit/211bsd_rp/README.md @@ -6,6 +6,8 @@ See notes in [w11a_os_guide.md](../../../doc/w11a_os_guide.md) on 2. FPGA Board setup 3. Rlink and Backend Server setup 4. Legal terms + +For history see [CHANGELOG.md](CHANGELOG.md). ### Installation A disk set is available from @@ -37,16 +39,17 @@ Download, unpack and copy the disk images (*.dsk), e.g. : xp(0,0,0)unix Boot: bootdev=05000 bootcsr=0176700 - 2.11 BSD UNIX #9: Wed Dec 10 06:24:37 PST 2008 - root@curly.2bsd.com:/usr/src/sys/RETRONFPNW + 2.11 BSD UNIX #12: Sat May 20 20:00:07 PDT 2017 + root@w11a:/usr/src/sys/RETRONFPNW + attaching sl attaching lo0 phys mem = 3932160 avail mem = 3461952 user mem = 307200 - January 3 23:00:35 init: configure system + May 20 22:59:11 init: configure system dz ? csr 160100 vector 310 skipped: No CSR. lp 0 csr 177514 vector 200 attached @@ -63,29 +66,22 @@ Download, unpack and copy the disk images (*.dsk), e.g. ``` #^D Fast boot ... skipping disk checks - checking quotas: done. + Checking quotas: done. Assuming NETWORKING system ... - ifconfig: ioctl (SIOCGIFFLAGS): no such interface - add host curly.2bsd.com: gateway localhost.2bsd.com - add net default: gateway 206.139.202.1: Network is unreachable + add host w11a: gateway localhost starting system logger checking for core dump... preserving editor files clearing /tmp standard daemons: update cron accounting. - starting network daemons: inetd printer. - January 3 23:00:47 lpd[76]: /dev/ttyS5: No such file or directory - starting local daemons:Sat Jan 3 23:00:47 PST 2009 - January 3 23:00:47 init: kernel security level changed from 0 to 1 - January 3 23:00:49 getty: /dev/tty04: Device not configured - January 3 23:00:49 getty: /dev/tty03: Device not configured - January 3 23:00:49 getty: /dev/tty00: Device not configured - January 3 23:00:49 getty: /dev/tty01: Device not configured - January 3 23:00:49 getty: /dev/tty02: Device not config - - 2.11 BSD UNIX (curly.2bsd.com) (console) + starting network daemons: inetd printer. + starting local daemons:Sat May 20 22:43:49 PDT 2017 + May 20 22:43:49 w11a init: kernel security level changed from 0 to 1 - login: + + 2.11 BSD UNIX (w11a) (console) + + login: ``` The login prompt is sometimes mangled with the 'Device not configured' @@ -110,7 +106,9 @@ Download, unpack and copy the disk images (*.dsk), e.g. 1/ 10 ub_map entries, 10 free, 10 max # {mount} /dev/xp0a on / - /dev/xp0c on /usr + /dev/xp0c on /tmp + /dev/xp0d on /home + /dev/xp0e on /usr # {halt} syncing disks... done halting