4.1 KiB
Notes on oskit: 2.11BSD system on RK05 volumes
General remarks
See notes in w11a_os_guide.md on
- I/O emulation setup
- FPGA Board setup
- Rlink and Backend Server setup
- Legal terms
For history see CHANGELOG.md.
Installation
A disk set is available from http://www.retro11.de/data/oc_w11/oskits/211bsd_rkset.tgz
Download, unpack and copy the disk images (*.dsk), e.g.
cd $RETROBASE/tools/oskit/211bsd_rk/
wget http://www.retro11.de/data/oc_w11/oskits/211bsd_rkset.tgz
tar -xzf 211bsd_rkset.tgz
Usage
-
Start backend server and boot system (see section Rlink in w11a_os_guide.md)
boot script: 211bsd_rk_boot.tcl example: ti_w11 <opt> @211bsd_rk_boot.tcl where <opt> is the proper option set for the board. -
Hit
<ENTER>in thextermwindow to connnect to backend server. The boot dialog in the consolextermwindow will look like (required input is in{..}, with{<CR>}denoting a carriage return:70Boot from rk(0,0,0) at 0177404 : {<CR>} : rk(0,0,0)unix Boot: bootdev=03000 bootcsr=0177404 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 May 20 23:02:13 init: configure system dz ? csr 160100 vector 310 skipped: No CSR. lp 0 csr 177514 vector 200 attached rk 0 csr 177400 vector 220 attached rl 0 csr 174400 vector 160 attached tm 0 csr 172520 vector 224 attached xp 0 csr 176700 vector 254 attached cn 1 csr 176500 vector 300 attached erase, kill ^U, intr ^CIn first
'#'prompt the system is in single-user mode. Just enter a^Dto 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... preserving editor files clearing /tmp standard daemons: update cron accounting. starting lpd 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 (w11a) (console) login:The login prompt is sometimes mangled with system messages, if its not visible just hit
<ENTER>to get a fresh one.login: {root} erase, kill ^U, intr ^CNow the system is in multi-user mode, daemons runnng. You can explore the system, e.g. with a
pstat -Tor amountcommand. The secondxtermcan be activated too, it will connect to a second emulated DL11. At the end is important to shutdown properly with ahalt:# {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 1/ 10 ub_map entries, 10 free, 10 max # {mount} /dev/rk0h on / /dev/rk2h on /tmp /dev/rk3h on /bin /dev/rk4h on /usr # {halt} syncing disks... done haltingWhile the system was running the server process display the
cpu0>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 R0: 177560 R1: 161322 R2: 053436 R3: 000010 R4: 003000 R5: 147510 SP: 147466 PC: 000014will 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