Using P11 emulator (was 2.11BSD installation problems)

Greg Lehey grog at lemis.com
Thu May 7 10:08:49 AEST 1998


On Thu,  7 May 1998 at  6:43:56 +1000, Warren Toomey wrote:
> Matthias,
> 	Here are some instructions on getting that RP disk image working
> with the Begemot P11 2.3 emulator. These should supplement Greg's email.

Hey, I thought you were in freezing Tasmania :-)

>     	  Running the 2.11BSD RP disk image on the P11 Emulator
>
> Ok, here's how I got P11-2.3 running. Firstly, I extracted the source code
> for P11 from the tarball, and built the emulator in the extracted emu
> directory. Note: you need lots of virtual memory to build instab.o.
>
> With p11 built, I went into ../run, and copied the following files here:
>
> total 16
> -rw-------  1 root  wheel  1562 Apr 22 19:56 mon.help
> -rw-------  1 root  wheel   648 Apr 22 19:55 p11conf
> -rw-------  1 root  wheel  4096 Dec 12  1994 qna.rom
> -rw-------  1 root  wheel   512 Apr 22 19:41 rp.boot
>
> All except p11conf came from ../emu. I had a hard time getting the p11conf
> configuration file working, what with the cpp path etc. So I basically made
> a p11conf file which doesn't use any #defines. Here it is:
>
>
> libdir = .
> ctrl rl 017774400 0160 4 4000
> end
> ctrl rp 017776700 0254 5 4000
> 	0 /usr/local/src/RP_211bsd_root 12
> end
> ctrl kl
> 	017777560  060  064 4 ../emu/IOProgs/tty_net  -7 -t 10002
> 	017776500 0300 0304 4 ../emu/IOProgs/tty_net  -7 -t 10003
> end
> ctrl mr 017777520 ./rp.boot
> end
> ctrl lp 017777514 0200 4
> end
> ctrl tm 017772520 0224 5
> end
>
> Note that the emulated RP disk image is at /usr/local/src/RP_211bsd_root.
> The number 12 after this is arbitrary, I have no idea what it does.
>
> Now, to run the emulator using the p11conf above from the run directory,
> do ../emu/p11 -d &. You can run it in the background as it doesn't require
> any keyboard interaction. Then telnet localhost 10002, and hit Return a few
> times. You will see:

In fact, you can use any port from 10000 to 10003.  They map to
/dev/console and /dev/ttyl1 through /dev/ttyl3 (though for some reason
/etc/ttys doesn't contain entries for the latter two).

>> telnet localhost 10002
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> -----
> 					<---- Hit Return once or twice here
> : xp(0,0,0)unix
> Boot: bootdev=05000 bootcsr=0176700
>
> 2.11 BSD UNIX #11: Tue Jan 6 16:57:02 MET 1998
>     root at pdp11.begemot.com:/usr/src/sys/HIPPON
>
> attaching lo0
>
> phys mem  = 2097152
> avail mem = 1668352
> user mem  = 307200
>
> January  8 08:25:02 init: configure system
>
> lp 0 csr 177514 vector 200 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
> cn 2 csr 176510 vector 310 skipped:  No CSR.
> cn 3 csr 176520 vector 320 skipped:  No CSR.
> cn 4 csr 176530 vector 330 skipped:  No CSR.
> erase, kill ^U, intr ^C
> #
>
> That's it!!

Well, no, at this point you're in single-user mode.  To continue,
enter ^D:

# Fast boot ... skipping disk checks
checking quotas: done.
Assuming NETWORKING system ...
add host 192.109.197.211: gateway 127.1
add net default: gateway freebie.lemis.com
starting system logger
preserving editor files
clearing /tmp
standard daemons: update cron accounting.
starting network daemons: inetd rwhod printer.
starting local daemons:.
Wed May  6 10:45:41 CST 1998
May  6 10:45:42 pdp11 init: kernel security level changed from 0 to 1


2.11 BSD UNIX (pdp11.lemis.com) (console)

login: 

I've forgotten what the standard password on root is; I fear it has
*not* been removed.  It could be 'begemot' or 'begemot1'.  To change
it, you will need to rebuild passwd, which will not work otherwise.
Do that in /usr/src/bin/passwd.  If you have trouble, I can send you a
passwd binary.

Greg
--
See complete headers for address and phone numbers
finger grog at lemis.com for PGP public key

Received: (from major at localhost)
	by minnie.cs.adfa.oz.au (8.8.8/8.8.8) id JAA09714
	for pups-liszt; Thu, 7 May 1998 09:53:29 +1000 (EST)


More information about the TUHS mailing list