1
0
mirror of https://github.com/wfjm/w11.git synced 2026-03-06 11:34:31 +00:00

update 211bsd system images (oskits) [skip ci]

- apply fpsim+tcsh patch
- support dz11 lines
- update network setup
This commit is contained in:
wfjm
2019-05-31 09:03:31 +02:00
parent 1aaee6a4fd
commit 30bfaece92
20 changed files with 440 additions and 127 deletions

View File

@@ -25,6 +25,10 @@ The full set of tests is only run for tagged releases.
### Summary
- add m9312 boot prom emulation
- add dz11 8 line serial port multiplexer
- update 211bsd system images (oskits)
- apply fpsim+tcsh patch (see [w11a blog 2017-06-06](https://wfjm.github.io/blogs/211bsd/2017-06-06-kernel-panic-here-doc-tcsh.html))
- support dz11 lines
- update network setup
### New features
- new components
@@ -39,6 +43,7 @@ The full set of tests is only run for tagged releases.
- new test and demonstration codes under tools/mcode
- m9312/bootw11.mac: w11 boot for m9312
- sys/noboot.mac: boot blocker code for block 0 of disks
- dz11/dz11echo.mac: port multiplexer echo tester and traffic generator
### Changes
- tools changes
@@ -49,6 +54,12 @@ The full set of tests is only run for tagged releases.
- Rw11UnitTermBase: add AttachDone(),DetachDone()
- Rw11VirtDiskRam: add noboot attach option
- renamed kw11p tbench from w11a_kw11p to kw11p
- oskit updates
- 211bsd_rp, see [CHANGELOG](../tools/oskit/211bsd_rp/CHANGELOG.md)
- 211bsd_rpeth, see [CHANGELOG](../tools/oskit/211bsd_rpeth/CHANGELOG.md)
- 211bsd_rpmin, see [CHANGELOG](../tools/oskit/211bsd_rpmin/CHANGELOG.md)
- 211bsd_rk, see [CHANGELOG](../tools/oskit/211bsd_rk/CHANGELOG.md)
- 211bsd_rl, see [CHANGELOG](../tools/oskit/211bsd_rl/CHANGELOG.md)
### Bug Fixes
- ReventLoop: fixed a design error in the `RemovePollHandler` flow, which

View File

@@ -1,5 +1,23 @@
# Changelog for 211bsd_rk oskit
## 2019-05-30: fpsim-bug + dz11 update
### Apply fpsim+tcsh patch
- for details see [w11a blog 2017-06-06](https://wfjm.github.io/blogs/211bsd/2017-06-06-kernel-panic-here-doc-tcsh.html)
- patch `/usr/src/sys/pdp/mch_fpsim.s`
- rebuild `RETRONFPRK` kernel
- patch `sh.dol.c` and `sh.glob.c` in `/usr/src/bin/tcsh`
- rebuild `tcsh`
### System changes
- enable login on first two dz11 lines
`/etc/ttys` contains now
```
tty00 "/usr/libexec/getty std.9600" vt100 on secure
tty01 "/usr/libexec/getty std.9600" vt100 on secure
```
## 2017-05-25: major update
- kernel config unchanged
- kernel rebuild (to reflect node name ect)
@@ -7,8 +25,8 @@
- 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
- use [211bsd_rp](../211bsd_rp/README.md) system as base
- configure a kernel `RETRONFPRK`, as non-networking, main differences
```
IDENT RETRONFPNW --> RETRONFPRK
BOOTDEV rm --> rk
@@ -25,7 +43,28 @@
/dev/rk3h /bin ufs
/dev/rk4h /usr ufs
```
`/bin' contains the absolute mininal set of basic Unix tools
```
[ csh grep mt sed true
adb date hostid mv sh tty
ar dd hostname nice size uname
as df install nm sleep vi
awk diff iostat od sort view
basename disklabel jove pagesize strip vmstat
cat du kermit passwd stty wall
cc e kill patch su wc
chflags echo ld ping sync which
chfn ed less pr sysctl who
chgrp egrep ln printenv tar write
chmod ex login ps tcsh xargs
chpass expr lost+found pwd tee
chsh false ls rcp test
cmp file mail rm time
copyh find make rmail touch
cp fstat mkdir rmdir tp
```
- provisos
- /tmp stays on '/'
- /home is not mounted
- `/tmp` stays on `/`
- `/home` is not mounted
- absolute minimal system, suitable for a 'root' user

View File

@@ -20,6 +20,13 @@ Download, unpack and copy the disk images (*.dsk), e.g.
tar -xzf 211bsd_rkset.tgz
```
### System properties and intended usage
- **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
### Usage
- Start backend server and boot system
@@ -39,16 +46,16 @@ Download, unpack and copy the disk images (*.dsk), e.g.
: rk(0,0,0)unix
Boot: bootdev=03000 bootcsr=0177404
2.11 BSD UNIX #27: Sat May 20 22:55:12 PDT 2017
2.11 BSD UNIX #28: Wed May 29 22:28:06 PDT 2019
root@w11a:/usr/src/sys/RETRONFPRK
phys mem = 3932160
avail mem = 3577856
user mem = 307200
May 20 23:02:13 init: configure system
May 29 22:29:10 init: configure system
dz ? csr 160100 vector 310 skipped: No CSR.
dz 0 csr 160100 vector 310 attached
lp 0 csr 177514 vector 200 attached
rk 0 csr 177400 vector 220 attached
rl 0 csr 174400 vector 160 attached
@@ -91,12 +98,12 @@ Download, unpack and copy the disk images (*.dsk), e.g.
At the end is important to shutdown properly with a `halt`:
```
# {pstat -T}
7/186 files
39/208 inodes
11/150 processes
6/ 46 texts active, 28 used
2/135 swapmap entries, 366 kB used, 2069 kB free, 2063 kB max
33/150 coremap entries, 2960 kB free, 2867 kB max
10/186 files
44/208 inodes
10/150 processes
7/ 46 texts active, 30 used
2/135 swapmap entries, 496 kB used, 1939 kB free, 1933 kB max
35/150 coremap entries, 2828 kB free, 2744 kB max
1/ 10 ub_map entries, 10 free, 10 max
# {mount}
/dev/rk0h on /
@@ -123,10 +130,3 @@ 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

View File

@@ -1,4 +1,4 @@
# $Id: 211bsd_rl_boot.tcl 1151 2019-05-24 16:25:26Z mueller $
# $Id: 211bsd_rl_boot.tcl 1154 2019-05-30 13:21:01Z mueller $
#
# Setup file for 211bsd RL02 based system
#
@@ -16,7 +16,7 @@ rutil::dohook "preinithook"
puts [rlw]
# setup tt,lp (211bsd uses parity -> use 7 bit mode)
rw11::setup_tt "cpu0" dlrxrlim 5 ndz 2 dzrxrlim 5 to7bit 1
rw11::setup_tt "cpu0" ndl 2 dlrxrlim 5 ndz 2 dzrxrlim 5 to7bit 1
rw11::setup_lp
# mount disks

View File

@@ -1,5 +1,21 @@
# Changelog for 211bsd_rl oskit
### Apply fpsim+tcsh patch
- for details see [w11a blog 2017-06-06](https://wfjm.github.io/blogs/211bsd/2017-06-06-kernel-panic-here-doc-tcsh.html)
- patch `/usr/src/sys/pdp/mch_fpsim.s`
- rebuild `RETRONFPRK` kernel
- patch `sh.dol.c` and `sh.glob.c` in `/usr/src/bin/tcsh`
- rebuild `tcsh`
### System changes
- enable login on first two dz11 lines
`/etc/ttys` contains now
```
tty00 "/usr/libexec/getty std.9600" vt100 on secure
tty01 "/usr/libexec/getty std.9600" vt100 on secure
```
## 2017-05-25: major update
- kernel config unchanged
- kernel rebuild (to reflect node name ect)
@@ -21,7 +37,7 @@
```
/dev/rl0a / ufs
/dev/rl0b none swap
/dev/rl1h /usr ufs
/dev/rl1h /usr ufs
```
- provisos
- /tmp stays on '/'

View File

@@ -20,6 +20,13 @@ Download, unpack and copy the disk images (*.dsk), e.g.
tar -xzf 211bsd_rlset.tgz
```
### System properties and intended usage
- **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
### Usage
- Start backend server and boot system
@@ -39,16 +46,16 @@ Download, unpack and copy the disk images (*.dsk), e.g.
: rl(0,0,0)unix
Boot: bootdev=03400 bootcsr=0174400
2.11 BSD UNIX #2: Sat May 20 22:55:40 PDT 2017
2.11 BSD UNIX #3: Wed May 29 22:28:05 PDT 2019
root@w11a:/usr/src/sys/RETRONFPRL
phys mem = 3932160
avail mem = 3577344
user mem = 307200
May 20 23:28:34 init: configure system
May 29 22:29:16 init: configure system
dz ? csr 160100 vector 310 skipped: No CSR.
dz 0 csr 160100 vector 310 attached
lp 0 csr 177514 vector 200 attached
rk 0 csr 177400 vector 220 attached
rl 0 csr 174400 vector 160 attached
@@ -69,8 +76,8 @@ Download, unpack and copy the disk images (*.dsk), e.g.
clearing /tmp
standard daemons: update cron accounting.
starting lpd
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
starting local daemons:Wed May 29 22:29:26 PDT 2019
May 29 22:29:26 init: kernel security level changed from 0 to 1
2.11 BSD UNIX (w11a) (console)
@@ -90,12 +97,12 @@ Download, unpack and copy the disk images (*.dsk), e.g.
At the end is important to shutdown properly with a `halt`:
```
# {pstat -T}
7/186 files
40/208 inodes
13/186 files
49/208 inodes
11/150 processes
6/ 46 texts active, 31 used
2/135 swapmap entries, 420 kB used, 2139 kB free, 2133 kB max
34/150 coremap entries, 2906 kB free, 2818 kB max
8/ 46 texts active, 35 used
3/135 swapmap entries, 655 kB used, 1904 kB free, 1897 kB max
33/150 coremap entries, 2659 kB free, 2556 kB max
1/ 10 ub_map entries, 10 free, 10 max
# {mount}
/dev/rl0a on /
@@ -120,10 +127,3 @@ 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

View File

@@ -1,4 +1,4 @@
# $Id: 211bsd_rp_boot.tcl 1151 2019-05-24 16:25:26Z mueller $
# $Id: 211bsd_rp_boot.tcl 1154 2019-05-30 13:21:01Z mueller $
#
# Setup file for 211bsd RP06 based system
#
@@ -8,6 +8,7 @@
# console_starter -d DL1 &
# console_starter -d DZ0 &
# console_starter -d DZ1 &
#
# ti_w11 -xxx @211bsd_rp_boot.tcl ( -xxx depends on sim or fpga connect)
#
@@ -16,7 +17,7 @@ rutil::dohook "preinithook"
puts [rlw]
# setup tt,lp (211bsd uses parity -> use 7 bit mode)
rw11::setup_tt "cpu0" ndl 2 ndz 2 dlrxrlim 5 to7bit 1
rw11::setup_tt "cpu0" ndl 2 dlrxrlim 5 ndz 2 dzrxrlim 5 to7bit 1
rw11::setup_lp
# mount disks

View File

@@ -1,6 +1,46 @@
# Changelog for 211bsd_rp oskit
## 2017-05-25: major update
## 2019-05-30: fpsim-bug + dz11 update
### Apply fpsim+tcsh patch
- for details see [w11a blog 2017-06-06](https://wfjm.github.io/blogs/211bsd/2017-06-06-kernel-panic-here-doc-tcsh.html)
- patch `/usr/src/sys/pdp/mch_fpsim.s`
- rebuild `RETRONFPNW` kernel
- patch `sh.dol.c` and `sh.glob.c` in `/usr/src/bin/tcsh`
- rebuild `tcsh`
### System changes
- enable login on first four dz11 lines
`/etc/ttys` contains now
```
tty00 "/usr/libexec/getty std.9600" vt100 on secure
tty01 "/usr/libexec/getty std.9600" vt100 on secure
tty02 "/usr/libexec/getty std.9600" vt100 on secure
tty03 "/usr/libexec/getty std.9600" vt100 on secure
```
- update network context
- use 192.168.178.* instead of 192.168.2.*
- slip `sl0` started at boot time on dz11 line `/dev/tty07`
`/etc/hosts` contains now
```
127.0.0.1 localhost
192.168.178.150 w11a
192.168.178.20 athome
```
`/etc/netstart` contains now
```
hostname=w11a
netmask=255.255.255.0
broadcast=192.168.178.255
default=192.168.178.1
...
ifconfig sl0 inet 192.168.178.150 192.168.178.20 ...
slattach /dev/tty07 9600
```
## 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.
@@ -13,7 +53,7 @@ The current revision for a first time brings a system tuned for w11a.
- system disk repartitioned
```
par use size size offset size(kB) comment
a / 50c 20900 0 10450 no tmp for fsck!
a / 50c 20900 0 10450 no tmp needed for fsck!
b swap 20c 8360 20900 4180 >3840 kB phys mem
c /tmp 25c 10450 29260 5200
d /home 50c 20900 39710 10450
@@ -25,7 +65,7 @@ The current revision for a first time brings a system tuned for w11a.
- `/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
- `/etc/netstart`: now suitable for usage in a 192.168.2.* subnet
```
hostname=w11a
netmask=255.255.255.0
@@ -43,11 +83,11 @@ The current revision for a first time brings a system tuned for w11a.
- slip `sl0` is available and working, but must be started after boot
- added user `test` with password `test4W11a`
## 2009-xx-xx: initial system setup
## 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/)
[TUHS](https://www.tuhs.org/).
- get tape distribution kit from [UnixArchive/Distributions/UCB/2.11BSD](https://www.tuhs.org/Archive/Distributions/UCB/2.11BSD/)
- get patches from [UnixArchive/Distributions/UCB/2.11BSD/Patches](https://www.tuhs.org/Archive/Distributions/UCB/2.11BSD/Patches/)
- setup initial system using `simh`
- load tape distribution kit (is version 431)
- install all patches: 432,...,444

View File

@@ -20,6 +20,17 @@ Download, unpack and copy the disk images (*.dsk), e.g.
tar -xzf 211bsd_rpset.tgz
```
### System properties and intended usage
This system is created for multi-user usage without Ethernet. The
`RETRONFPNW` kernel is configured with
```
INET YES # networking available
NETHER 0 # no Ethernet
NSL 1 # Serial Line IP enabled
```
See [211bsd_rpeth](../211bsd_rpeth/README.md) for a system with `DEUNA` support
and [211bsd_rpmin](../211bsd_rpmin/README.md) for a minimal memory system.
### Usage
- Start backend server and boot system
@@ -30,7 +41,7 @@ Download, unpack and copy the disk images (*.dsk), e.g.
where <opt> is the proper option set for the board.
```
- Hit `<ENTER>` in the `xterm` window to connnect to backend server.
- Hit `<ENTER>` in the `xterm` window to connect to backend server.
The boot dialog in the console `xterm` window will look like
(required input is in `{..}`, with `{<CR>}` denoting a carriage return:
```
@@ -39,7 +50,7 @@ Download, unpack and copy the disk images (*.dsk), e.g.
: xp(0,0,0)unix
Boot: bootdev=05000 bootcsr=0176700
2.11 BSD UNIX #12: Sat May 20 20:00:07 PDT 2017
2.11 BSD UNIX #13: Wed May 29 22:05:40 PDT 2019
root@w11a:/usr/src/sys/RETRONFPNW
attaching sl
@@ -49,9 +60,9 @@ Download, unpack and copy the disk images (*.dsk), e.g.
avail mem = 3461952
user mem = 307200
May 20 22:59:11 init: configure system
May 29 22:25:35 init: configure system
dz ? csr 160100 vector 310 skipped: No CSR.
dz 0 csr 160100 vector 310 attached
lp 0 csr 177514 vector 200 attached
rk 0 csr 177400 vector 220 attached
rl 0 csr 174400 vector 160 attached
@@ -75,8 +86,8 @@ Download, unpack and copy the disk images (*.dsk), e.g.
clearing /tmp
standard daemons: update cron accounting.
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
starting local daemons:Wed May 29 22:25:49 PDT 2019
May 29 22:25:49 w11a init: kernel security level changed from 0 to 1
2.11 BSD UNIX (w11a) (console)
@@ -91,19 +102,23 @@ Download, unpack and copy the disk images (*.dsk), e.g.
erase, kill ^U, intr ^C
```
Now the system is in multi-user mode, daemons runnng. You can explore
the system, e.g. with a `pstat -T` or a `mount` command. The second
`xterm` can be activated too, it will connect to a second emulated DL11.
Now the system is in multi-user mode, daemons running. You can explore
the system, e.g. with a `pstat -T` or a `mount` command.
The second DL11 and the first four DZ11 lines can me activated too.
Also simple networking via SLIP and a DZ11 line, for details see
[using SLIP with 211bsd](../doc/211bsd_slip.md).
At the end is important to shutdown properly with a `halt`:
```
# {pstat -T}
7/186 files
40/208 inodes
11/150 processes
6/ 46 texts active, 31 used
2/135 swapmap entries, 420 kB used, 2139 kB free, 2133 kB max
34/150 coremap entries, 2906 kB free, 2818 kB max
1/ 10 ub_map entries, 10 free, 10 max
49/186 files
65/208 inodes
16/150 processes
11/ 46 texts active, 37 used
3/135 swapmap entries, 530 kB used, 3649 kB free, 3642 kB max
33/150 coremap entries, 2599 kB free, 2520 kB max
1/ 10 ub_map entries, 8 free, 8 max
# {mount}
/dev/xp0a on /
/dev/xp0c on /tmp
@@ -121,7 +136,6 @@ Download, unpack and copy the disk images (*.dsk), e.g.
prompt. When the w11 has halted after 211bsd shutdown a message like
```
CPU down attention
Processor registers and status:
PS: 030350 cm,pm=k,u s,p,t=0,7,0 NZVC=1000 rust: 01 HALTed

View File

@@ -1,4 +1,4 @@
# $Id: 211bsd_rpeth_boot.tcl 1151 2019-05-24 16:25:26Z mueller $
# $Id: 211bsd_rpeth_boot.tcl 1154 2019-05-30 13:21:01Z mueller $
#
# Setup file for 211bsd RP06 based system with ethernet
#
@@ -19,7 +19,7 @@ rutil::dohook "preinithook"
puts [rlw]
# setup tt,lp (211bsd uses parity -> use 7 bit mode)
rw11::setup_tt "cpu0" dlrxrlim 5 ndz 2 dzrxrlim 5 to7bit 1
rw11::setup_tt "cpu0" ndl 2 dlrxrlim 5 ndz 4 dzrxrlim 5 to7bit 1
rw11::setup_lp
# mount disks

View File

@@ -1,5 +1,41 @@
# Changelog for 211bsd_rpeth oskit
## 2019-05-30: fpsim-bug + dz11 update
### Apply fpsim+tcsh patch
- for details see [w11a blog 2017-06-06](https://wfjm.github.io/blogs/211bsd/2017-06-06-kernel-panic-here-doc-tcsh.html)
- patch `/usr/src/sys/pdp/mch_fpsim.s`
- rebuild `RETRONFPETH` kernel
- patch `sh.dol.c` and `sh.glob.c` in `/usr/src/bin/tcsh`
- rebuild `tcsh`
### System changes
- enable login on first four dz11 lines
`/etc/ttys` contains now
```
tty00 "/usr/libexec/getty std.9600" vt100 on secure
tty01 "/usr/libexec/getty std.9600" vt100 on secure
tty02 "/usr/libexec/getty std.9600" vt100 on secure
tty03 "/usr/libexec/getty std.9600" vt100 on secure
```
- update network context
- use 192.168.178.* instead of 192.168.2.*
`/etc/hosts` contains now
```
127.0.0.1 localhost
192.168.178.150 w11a
192.168.178.20 athome
```
`/etc/netstart` contains now
```
hostname=w11a
netmask=255.255.255.0
broadcast=192.168.178.255
default=192.168.178.1
```
## 2017-05-26: initial system setup
Derived from the [211bsd_rp](../211bsd_rp/CHANGELOG.md). A new kernel with
```

View File

@@ -9,7 +9,7 @@ See notes in [w11a_os_guide.md](../../../doc/w11a_os_guide.md) on
### System properties and intended usage
This system is build with Ethernet based networking via a DEUNA network
interface. The kernel is configured with
interface. The `RETRONFPETH` kernel is configured with
```
NETHER 1 # ethernet support
NDE 1 # DEUNA interface driver
@@ -50,16 +50,16 @@ Download, unpack and copy the disk images (*.dsk), e.g.
: xp(0,0,0)unix
Boot: bootdev=05000 bootcsr=0176700
2.11 BSD UNIX #1: Fri May 26 12:50:05 PDT 2017
2.11 BSD UNIX #2: Thu May 30 10:29:00 PDT 2019
root@w11a:/usr/src/sys/RETRONFPETH
phys mem = 3932160
avail mem = 3451968
user mem = 307200
May 26 12:53:10 init: configure system
May 30 11:34:36 init: configure system
dz ? csr 160100 vector 310 skipped: No CSR.
dz 0 csr 160100 vector 310 attached
lp 0 csr 177514 vector 200 attached
rk 0 csr 177400 vector 220 attached
rl 0 csr 174400 vector 160 attached
@@ -84,9 +84,9 @@ Download, unpack and copy the disk images (*.dsk), e.g.
clearing /tmp
standard daemons: update cron accounting.
starting network daemons: inetd printer.
starting local daemons:Fri May 26 12:53:20 PDT 2017
May 26 12:53:20 w11a init: kernel security level changed from 0 to 1
starting local daemons:Thu May 30 11:34:48 PDT 2019
May 30 11:34:48 w11a init: kernel security level changed from 0 to 1
2.11 BSD UNIX (w11a) (console)
@@ -106,12 +106,12 @@ Download, unpack and copy the disk images (*.dsk), e.g.
At the end is important to shutdown properly with a `halt`:
```
# {pstat -T}
43/186 files
59/208 inodes
11/150 processes
10/ 46 texts active, 36 used
2/135 swapmap entries, 525 kB used, 3654 kB free, 3648 kB max
32/150 coremap entries, 2661 kB free, 2586 kB max
48/186 files
66/208 inodes
16/150 processes
11/ 46 texts active, 38 used
3/135 swapmap entries, 669 kB used, 3510 kB free, 3504 kB max
34/150 coremap entries, 2417 kB free, 2339 kB max
1/ 10 ub_map entries, 7 free, 7 max
# {mount}
/dev/xp0a on /
@@ -130,7 +130,6 @@ Download, unpack and copy the disk images (*.dsk), e.g.
prompt. When the w11 has halted after 211bsd shutdown a message like
```
CPU down attention
Processor registers and status:
PS: 030350 cm,pm=k,u s,p,t=0,7,0 NZVC=1000 rust: 01 HALTed

View File

@@ -1,11 +1,11 @@
# $Id: 211bsd_rpmin_boot.tcl 1139 2019-04-27 14:00:38Z mueller $
# $Id: 211bsd_rpmin_boot.tcl 1154 2019-05-30 13:21:01Z mueller $
#
# Setup file for 211bsd RP06 based minimal memory system
#
# Usage:
#
# console_starter -d DL0 &
# console_starter -d DL1 &
# console_starter -d DZ0 &
# ti_w11 -xxx @211bsd_rpmin_boot.tcl ( -xxx depends on sim or fpga connect)
#
@@ -14,7 +14,7 @@ rutil::dohook "preinithook"
puts [rlw]
# setup tt,lp (211bsd uses parity -> use 7 bit mode)
rw11::setup_tt "cpu0" dlrxrlim 5 to7bit 1
rw11::setup_tt "cpu0" ndl 1 dlrxrlim 5 ndz 1 dzrxrlim 5 to7bit 1
rw11::setup_lp
# mount disks

View File

@@ -1,11 +1,32 @@
# Changelog for 211bsd_rpmin oskit
## 2019-05-30: fpsim-bug + dz11 update
### Apply fpsim+tcsh patch
- for details see [w11a blog 2017-06-06](https://wfjm.github.io/blogs/211bsd/2017-06-06-kernel-panic-here-doc-tcsh.html)
- patch `/usr/src/sys/pdp/mch_fpsim.s`
- rebuild `RETRONFPNW` kernel
- patch `sh.dol.c` and `sh.glob.c` in `/usr/src/bin/tcsh`
- rebuild `tcsh`
### System changes
- enable login on console and first dz11 line
`/etc/ttys` contains now
```
console "/usr/libexec/getty std.9600" vt100 on secure
ttyl1 "/usr/libexec/getty std.9600" vt100 off secure
tty00 "/usr/libexec/getty std.9600" vt100 on secure
tty01 "/usr/libexec/getty std.9600" vt100 off secure
...
```
## 2017-05-26: initial system setup
Derived from the [211bsd_rp](../211bsd_rp/CHANGELOG.md). Just a new kernel with
```
NBUF 40 # was 160
MAXUSERS 10 # was 10
MAXUSERS 10 # was 20
NPTY 8 # was 16
INET NO # was YES, no networking
NSL 1 # was 1, remove network drivers
INET NO # was YES, remove networking
NSL 0 # was 1, remove network drivers
```

View File

@@ -9,7 +9,7 @@ See notes in [w11a_os_guide.md](../../../doc/w11a_os_guide.md) on
### System properties and intended usage
This system is created for usage on systems with limited memory. The
kernel is configured with
`RETRONFPMIN` kernel is configured with
```
NBUF 40 # only 60 blocks disk cache (usual is 160)
MAXUSERS 10 # this reduces number of file, process, ... slots
@@ -54,16 +54,16 @@ Download, unpack and copy the disk images (*.dsk), e.g.
: xp(0,0,0)unix
Boot: bootdev=05000 bootcsr=0176700
2.11 BSD UNIX #1: Fri May 26 12:48:54 PDT 2017
2.11 BSD UNIX #2: Thu May 30 12:47:59 PDT 2019
root@w11a:/usr/src/sys/RETRONFPMIN
phys mem = 524288
avail mem = 313536
user mem = 307200
May 26 12:49:35 init: configure system
May 30 12:55:30 init: configure system
dz ? csr 160100 vector 310 skipped: No CSR.
dz 0 csr 160100 vector 310 attached
lp 0 csr 177514 vector 200 attached
rk 0 csr 177400 vector 220 attached
rl 0 csr 174400 vector 160 attached
@@ -85,7 +85,7 @@ Download, unpack and copy the disk images (*.dsk), e.g.
clearing /tmp
standard daemons: update cron accounting.
starting lpd
starting local daemons:Fri May 26 12:50:44 PDT 2017
starting local daemons:Thu May 30 12:55:43 PDT 2019
2.11 BSD UNIX (w11a) (console)
@@ -106,10 +106,10 @@ Download, unpack and copy the disk images (*.dsk), e.g.
At the end is important to shutdown properly with a `halt`:
```
# {pstat -T}
15/122 files
47/128 inodes
9/ 80 processes
8/ 36 texts active, 32 used
16/122 files
50/128 inodes
10/ 80 processes
9/ 36 texts active, 34 used
6/ 72 swapmap entries, 475 kB used, 3704 kB free, 3673 kB max
15/ 80 coremap entries, 107 kB free, 43 kB max
1/ 10 ub_map entries, 25 free, 25 max
@@ -130,7 +130,6 @@ Download, unpack and copy the disk images (*.dsk), e.g.
prompt. When the w11 has halted after 211bsd shutdown a message like
```
CPU down attention
Processor registers and status:
PS: 030350 cm,pm=k,u s,p,t=0,7,0 NZVC=1000 rust: 01 HALTed

View File

@@ -217,7 +217,7 @@ a root file system, but not yet a hardward boot block. In the following
June 8 21:21:24 init: configure system
dz ? csr 160100 vector 310 skipped: No CSR.
dz 0 csr 160100 vector 310 attached
lp 0 csr 177514 vector 200 attached
rk 0 csr 177400 vector 220 attached
rl 0 csr 174400 vector 160 attached

View File

@@ -2,19 +2,30 @@ This directory tree contains **OS disk/tape image kits** and is organized in
| Directory | Content |
| --------- | ------- |
| [211bsd_rk](211bsd_rk) | 2.11BSD system on RK05 volumes |
| [211bsd_rl](211bsd_rl) | 2.11BSD system on RL02 volumes |
| [211bsd_rp](211bsd_rp) | 2.11BSD system on RP06 volume |
| [211bsd_rpeth](211bsd_rpeth) | 2.11BSD system on RP06 volume with Ethernet |
| [211bsd_rpmin](211bsd_rpmin) | 2.11BSD system on RP06 volume - minimal memory system |
| [211bsd_tm](211bsd_tm) | 2.11BSD system on a TM11 tape distribution kit |
| [doc](doc) | auxiliary documentation |
| [hook](hook) | `ti_w11` startup hook files |
| [rsx11m-31_rk](rsx11m-31_rk) | RSX-11M V3.1 system on RK05 volumes |
| [rsx11m-40_rk](rsx11m-40_rk) | RSX-11M V4.0 system on RK05 volumes |
| [rsx11mp-30_rp](rsx11mp-30_rp) | RSX-11Mpuls V3.0 system on RP06 volume |
| [rt11-40_rk](rt11-40_rk) | RT-11 V4.0 system on RK05 volumes |
| [rt11-53_rl](rt11-53_rl) | RT-11 V5.3 system on a RL02 volume |
| [u5ed_rk](u5ed_rk) | Unix 5th Edition system on RK05 volumes |
| [u7ed_rp](u7ed_rp) | Unix 7th Edition system on RP04 volume |
| [xxdp_rl](xxdp_rl) | XXDP V2.2 and V2.5 system on RL02 volumes |
| [doc](doc) | auxiliary documentation |
| [hook](hook) | `ti_w11` startup hook files |
| _all other_ | folders with individual OS kits |
The available OS kits are summarized in the table below with
- **DL**: number of DL11 lines supported by OS (for bsd also with active ttys)
- **DZ**: number of DZ11 lines supported by OS (for bsd also with active ttys)
- **PC**: PC11 (paper tape reader/puncher) support
- **XU**: DEUNA support
- **MinMem**: minimal required memory size
| Directory | DL | DZ | PC | XU | MinMem | Content |
| --------- | --: | --: | --: | --: | -----: | :------ |
| [211bsd_rk](211bsd_rk) | 2/2 | 2/8 | n | n | 1024k | 2.11BSD system on RK05 volumes |
| [211bsd_rl](211bsd_rl) | 2/2 | 2/8 | n | n | 1024k | 2.11BSD system on RL02 volumes |
| [211bsd_rp](211bsd_rp) | 2/2 | 4/8 | n | n | 1024k | 2.11BSD system on RP06 volume |
| [211bsd_rpeth](211bsd_rpeth) | 2/2 | 4/8 | n | y | 1024k | 2.11BSD system on RP06 volume with Ethernet |
| [211bsd_rpmin](211bsd_rpmin) | 1/2 | 1/8 | n | n | 512k | 2.11BSD system on RP06 volume - minimal memory system |
| [211bsd_tm](211bsd_tm) | 1/2 | 0/8 | n | n | 1024k | 2.11BSD system on a TM11 tape distribution kit |
| [rsx11m-31_rk](rsx11m-31_rk) | 2 | 8 | y | n | 176k | RSX-11M V3.1 system on RK05 volumes |
| [rsx11m-40_rk](rsx11m-40_rk) | 2 | 8 | y | n | 176k | RSX-11M V4.0 system on RK05 volumes |
| [rsx11mp-30_rp](rsx11mp-30_rp) | 2 | 8 | y | n | 672k | RSX-11Mplus V3.0 system on RP06 volume |
| [rt11-40_rk](rt11-40_rk) | 1 | - | y | n | 64k | RT-11 V4.0 system on RK05 volumes |
| [rt11-53_rl](rt11-53_rl) | 1 | - | y | n | 64k | RT-11 V5.3 system on a RL02 volume |
| [u5ed_rk](u5ed_rk) | 1 | - | n | n | 672k | Unix 5th Edition system on RK05 volumes |
| [u7ed_rp](u7ed_rp) | 1 | - | n | n | 672k | Unix 7th Edition system on RP04 volume |
| [xxdp_rl](xxdp_rl) | 1 | - | y | n | 64k | XXDP V2.2 and V2.5 system on RL02 volumes |

View File

@@ -2,9 +2,9 @@
### Basic setup
The w11a uses an emulated `DEUNA` interface which interacts via a _tap_
device with the linux host system. The _tap_ device in turn is usually
device with the Linux host system. The _tap_ device in turn is usually
connected to an internal _bridge_. This way the w11a can exchange packets
with the linux host as well as with any other node.
with the Linux host as well as with any other node.
### Setup of _tap_ and _bridge_
The _tap_ device should be created such that it is accessible by the
@@ -32,7 +32,7 @@ The MAC addresses used by w11a are
```
which are in the range of locally administered MAC addresses. The first
five bytes mean in ASCII "Retro", easy to pick out in tcpdump -xx traces.
five bytes mean in ASCII "Retro", easy to pick out in _tcpdump -xx_ traces.
### Setup in ti_w11
Is contained in the boot tcl files, just three lines
@@ -45,19 +45,81 @@ Is contained in the boot tcl files, just three lines
to select DEUNA emulation, the MAC address, and connect to _tap0_.
### Setup in 211bsd
The current setup is very simple, expects to live in a 192.168.2.* subnet,
and does not use DNS, /etc/resolv.conf is empty, uses only /etc/hosts
The current setup is very simple, expects to live in a 192.168.178.* subnet,
and does not use
[DNS](https://en.wikipedia.org/wiki/Domain_Name_System),
`/etc/resolv.conf` is empty, uses only `/etc/hosts`
```
127.0.0.1 localhost
192.168.2.150 w11a
192.168.2.25 athome
127.0.0.1 localhost
192.168.178.150 w11a
192.168.178.20 athome
```
The parameters in /etc/netstart are
The parameters in `/etc/netstart` are
```
hostname=w11a
netmask=255.255.255.0
broadcast=192.168.2.255
default=192.168.2.1
broadcast=192.168.178.255
default=192.168.178.1
```
### Usage from 211bsd
Since name resolution is not yet activated and only the backend host
_athome_ is defined in `/etc/hosts` all other nodes must be specified
by IP-Address, which can be inquired via `nslookup`
```
ping athome
PING athome (192.168.178.20): 56 data bytes
64 bytes from 192.168.178.20: icmp_seq=0 ttl=64 time=40 ms
64 bytes from 192.168.178.20: icmp_seq=1 ttl=64 time=20 ms
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=56 time=40 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=20 ms
nslookup www.cern.ch 8.8.8.8
Server: google-public-dns-a.google.com
Address: 8.8.8.8
Non-authoritative answer:
Name: webrlb02.cern.ch
Address: 188.184.9.235
Aliases: www.cern.ch
telnet 188.184.9.235 80
Trying...
Connected to 188.184.9.235.
Escape character is '^]'.
GET / HTTP/1.0
HTTP/1.1 302 Found
Content-Type: text/html; charset=utf-8
Location: http://home.web.cern.ch/
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Date: Thu, 30 May 2019 10:13:27 GMT
Connection: close
Content-Length: 141
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://home.web.cern.ch/">here</a>.</h2>
</body></html>
Connection closed by foreign host.
```
### Usage from Linux
Simply use `telnet`:
```
telnet 192.168.178.150
Trying 192.168.178.150...
Connected to 192.168.178.150.
Escape character is '^]'.
2.11 BSD UNIX (w11a)
login: root
erase, kill ^U, intr ^C
#
```

View File

@@ -0,0 +1,64 @@
## Using SLIP (Serial-line-IP) with 211bsd
### Basic setup
[SLIP](https://en.wikipedia.org/wiki/Serial_Line_Internet_Protocol) provides
a point-to-point IP connection between two nodes via a serial line.
On the w11a side a DL11 line or a DZ11 line is connected with a
`slattach` command to a free `sl` device unit.
On the host side the serial line is attached to a
[pty](https://en.wikipedia.org/wiki/Pseudoterminal) which is in turn
connected with a `slattach` command to the Linux host network stack.
The current setup assumes
- w11 and host located on subnet 192.168.178.*
- w11 system has IP address 192.168.178.150
- host system has IP address 192.168.178.20
### Setup in 211bsd
In the [211bsd_rp](../211bsd_rp/README.md) system the last DZ11 line
`/dev/tty07` is already setup at startup time via the
` /etc/netstart` lines
```
ifconfig sl0 inet 192.168.178.150 192.168.178.20 -arp -trailers ...
slattach /dev/tty07 9600
```
The setup can be verified with a `netstat` command
```
netstat -I
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
sl0 1006 192.168.178 192.168.178.150 0 0 0 0 0
lo0 1536 localnet 127.0.0.1 4600 0 4600 0 0
```
### Setup in ti_w11
To attach the last DZ11 line `cpu0dza7` to a pty use
```
cpu0dza7 att pty:
cpu0dza7 set to7bit 0
cpu0dza7 get channelid
```
The last command returns the Linux pty device name in the form `/dev/pts/nn`.
### Setup in Linux
To connect the pty to the Linux host network stack use
```
sudo slattach -d -v -p slip /dev/pts/<unit>
sudo ifconfig sl0 192.168.178.20 pointopoint 192.168.178.150 up
```
where `<unit>` is the pty unit number return by `cpu0dza7 get channelid`.
The setup can be verified with a `route` command
```
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default fritz.box 0.0.0.0 UG 0 0 0 br0
192.168.2.150 * 255.255.255.255 UH 0 0 0 sl0
192.168.178.0 * 255.255.255.0 U 0 0 0 br0
```
### Usage
The setup is currently very minimalistic, no name resolution, no routing.
Simplest way to use the SLIP connection is to `telnet` from the host system
to the 211bsd system with
```
telnet 192.168.178.150
```

View File

@@ -80,5 +80,5 @@ Download, unpack and copy the disk images (*.dsk), e.g.
Now you are at the MCR prompt and can exercise the system.
At the end it is important to shutdown properly with a `run $shutup`.
The simululaor (or the rlink backend) can be stopped when the
The simulator (or the rlink backend) can be stopped when the
CPU has halted.