1 |
30 |
wfjm |
# $Id: README_211bsd_rpset.txt 680 2015-05-14 13:29:46Z mueller $
|
2 |
|
|
|
3 |
|
|
Notes on oskit: 2.11BSD system on a RP06 volume
|
4 |
|
|
|
5 |
|
|
Table of content:
|
6 |
|
|
|
7 |
|
|
1. General remarks
|
8 |
|
|
2. Installation
|
9 |
|
|
3. Usage
|
10 |
|
|
|
11 |
|
|
1. General remarks ---------------------------------------------------
|
12 |
|
|
|
13 |
|
|
See notes on
|
14 |
|
|
|
15 |
|
|
1. I/O emulation setup
|
16 |
|
|
2. FPGA Board setup
|
17 |
|
|
3. Rlink and Backend Server setup
|
18 |
|
|
4. Legal terms
|
19 |
|
|
|
20 |
|
|
in $RETROBASE/doc/w11a_os_guide.txt
|
21 |
|
|
|
22 |
|
|
2. Installation ------------------------------------------------------
|
23 |
|
|
|
24 |
|
|
- A disk set is available from
|
25 |
|
|
http://www.retro11.de/data/oc_w11/oskits/211bsd_rpset.tgz
|
26 |
|
|
Download, unpack and copy the disk images (*.dsk), e.g.
|
27 |
|
|
|
28 |
|
|
cd $RETROBASE/tools/oskit/211bsd_rp/
|
29 |
|
|
wget http://www.retro11.de/data/oc_w11/oskits/211bsd_rpset.tgz
|
30 |
|
|
tar -xzf 211bsd_rpset.tgz
|
31 |
|
|
|
32 |
|
|
3. Usage -------------------------------------------------------------
|
33 |
|
|
|
34 |
|
|
- Start backend server and boot system (see section 3 in w11a_os_guide.txt)
|
35 |
|
|
boot script: 211bsd_rp_boot.tcl
|
36 |
|
|
example: ti_w11 @211bsd_rp_boot.tcl
|
37 |
|
|
where is the proper option set for the board.
|
38 |
|
|
|
39 |
|
|
- Hit in the xterm window to connnect to backend server.
|
40 |
|
|
The boot dialog in the console xterm window will look like
|
41 |
|
|
(required input is in {..}, with {} denoting a carriage return:
|
42 |
|
|
|
43 |
|
|
70Boot from xp(0,0,0) at 0176700
|
44 |
|
|
: {}
|
45 |
|
|
: xp(0,0,0)unix
|
46 |
|
|
Boot: bootdev=05000 bootcsr=0176700
|
47 |
|
|
|
48 |
|
|
2.11 BSD UNIX #9: Wed Dec 10 06:24:37 PST 2008
|
49 |
|
|
root@curly.2bsd.com:/usr/src/sys/RETRONFPNW
|
50 |
|
|
|
51 |
|
|
attaching lo0
|
52 |
|
|
|
53 |
|
|
phys mem = 3932160
|
54 |
|
|
avail mem = 3461952
|
55 |
|
|
user mem = 307200
|
56 |
|
|
|
57 |
|
|
January 3 23:00:35 init: configure system
|
58 |
|
|
|
59 |
|
|
dz ? csr 160100 vector 310 skipped: No CSR.
|
60 |
|
|
lp 0 csr 177514 vector 200 attached
|
61 |
|
|
rk 0 csr 177400 vector 220 attached
|
62 |
|
|
rl 0 csr 174400 vector 160 attached
|
63 |
|
|
tm ? csr 172520 vector 224 skipped: No CSR.
|
64 |
|
|
xp 0 csr 176700 vector 254 attached
|
65 |
|
|
cn 1 csr 176500 vector 300 attached
|
66 |
|
|
erase, kill ^U, intr ^C
|
67 |
|
|
|
68 |
|
|
In first '#' prompt the system is in single-user mode. Just enter a ^D
|
69 |
|
|
to continue the system startup to multi-user mode:
|
70 |
|
|
|
71 |
|
|
#^D
|
72 |
|
|
Fast boot ... skipping disk checks
|
73 |
|
|
checking quotas: done.
|
74 |
|
|
Assuming NETWORKING system ...
|
75 |
|
|
ifconfig: ioctl (SIOCGIFFLAGS): no such interface
|
76 |
|
|
add host curly.2bsd.com: gateway localhost.2bsd.com
|
77 |
|
|
add net default: gateway 206.139.202.1: Network is unreachable
|
78 |
|
|
starting system logger
|
79 |
|
|
checking for core dump...
|
80 |
|
|
preserving editor files
|
81 |
|
|
clearing /tmp
|
82 |
|
|
standard daemons: update cron accounting.
|
83 |
|
|
starting network daemons: inetd printer.
|
84 |
|
|
January 3 23:00:47 lpd[76]: /dev/ttyS5: No such file or directory
|
85 |
|
|
starting local daemons:Sat Jan 3 23:00:47 PST 2009
|
86 |
|
|
January 3 23:00:47 init: kernel security level changed from 0 to 1
|
87 |
|
|
January 3 23:00:49 getty: /dev/tty04: Device not configured
|
88 |
|
|
January 3 23:00:49 getty: /dev/tty03: Device not configured
|
89 |
|
|
January 3 23:00:49 getty: /dev/tty00: Device not configured
|
90 |
|
|
January 3 23:00:49 getty: /dev/tty01: Device not configured
|
91 |
|
|
January 3 23:00:49 getty: /dev/tty02: Device not config
|
92 |
|
|
|
93 |
|
|
2.11 BSD UNIX (curly.2bsd.com) (console)
|
94 |
|
|
|
95 |
|
|
login:
|
96 |
|
|
|
97 |
|
|
The login prompt is sometimes mangled with the 'Device not configured'
|
98 |
|
|
system messages, if its not visible just hit to get a fresh one.
|
99 |
|
|
|
100 |
|
|
login: {root}
|
101 |
|
|
erase, kill ^U, intr ^C
|
102 |
|
|
|
103 |
|
|
Now the system is in multi-user mode, daemons runnng. You can explore
|
104 |
|
|
the system, e.g. with a 'pstat -T' or a 'mount' command. The second
|
105 |
|
|
xterm can be activated too, it will connect to a second emulated DL11.
|
106 |
|
|
At the end is important to shutdown properly with a 'halt':
|
107 |
|
|
|
108 |
|
|
# {pstat -T}
|
109 |
|
|
7/186 files
|
110 |
|
|
40/208 inodes
|
111 |
|
|
11/150 processes
|
112 |
|
|
6/ 46 texts active, 31 used
|
113 |
|
|
2/135 swapmap entries, 420 kB used, 2139 kB free, 2133 kB max
|
114 |
|
|
34/150 coremap entries, 2906 kB free, 2818 kB max
|
115 |
|
|
1/ 10 ub_map entries, 10 free, 10 max
|
116 |
|
|
# {mount}
|
117 |
|
|
/dev/xp0a on /
|
118 |
|
|
/dev/xp0c on /usr
|
119 |
|
|
# {halt}
|
120 |
|
|
syncing disks... done
|
121 |
|
|
halting
|
122 |
|
|
|
123 |
|
|
While the system was running the server process display the
|
124 |
|
|
cpumon>
|
125 |
|
|
prompt. When the w11 has halted after 211bsd shutdown a message like
|
126 |
|
|
|
127 |
|
|
CPU down attention
|
128 |
|
|
Processor registers and status:
|
129 |
|
|
Processor registers and status:
|
130 |
|
|
PS: 030350 cm,pm=k,u s,p,t=0,7,0 NZVC=1000 rust: 01 HALTed
|
131 |
|
|
R0: 177560 R1: 010330 R2: 056172 R3: 000010
|
132 |
|
|
R4: 005000 R5: 147510 SP: 147466 PC: 000014
|
133 |
|
|
|
134 |
|
|
will be visible. Now the server process can be stopped with ^D.
|