In atricle by Milo Velimirovic:
>
> Hi,
>
> I'm still alive and well. Thanks for hte note.
>
> I have precious little time to spend with my pdp11's. I'm still looking for
> a legal Unix to run on either my 11/34 or 11/44. In the meantime I make do
> with a NeXT cube.
>
> If possible please make your paper publicly available.
You can now get it at http://minnie/Seminars :-)
I'm still working on licences.
Warren
Hi all,
I thought I'd mail to the old unix list to see if you were all
still alive & hope the new year goes well for you. It's been a quiet few
months. I've not heard back from Keith Bostic about his archive. However,
I'm presenting a paper about PDP Unixes at the local Australian Unix Users
Group summer conference next week, should be fun.
Cheers,
Warren wkt(a)cs.adfa.oz.au
Greetings:
I've been playing with the mail system. Mailing to root brings up
can't find usr/lonex/xmail
This in itself is not a problem, as I only tried this to see what would
happen. However, I am curious as to what the lonex directory is (was).
It does not appear in my listing of the contents of tape 2.
Cheers!
*************************************************************************
* A Personal Message from * BASILISK *
* Danny R. Brown * "Try our other fine flavors!" *
* ( sysyphus(a)crl.com ) * (404) 392-1691 *
* Pager:(404)397-0516 * LYNC host mode *
*************************************************************************
>From "Steven M. Schultz" <sms(a)wlv.iipo.gtegsc.com> Tue Dec 19 13:59:39 1995
Received: from wlv.iipo.gtegsc.com by minnie.cs.adfa.oz.au (8.6.8/8.3) with ESMTP id PAA16920; Tue, 19 Dec 1995 15:01:03 +1100
Received: (from sms@localhost) by wlv.iipo.gtegsc.com (8.6.10/8.6.12) id TAA04159; Mon, 18 Dec 1995 19:59:39 -0800
Date: Mon, 18 Dec 1995 19:59:39 -0800
From: "Steven M. Schultz" <sms(a)wlv.iipo.gtegsc.com>
Message-Id: <199512190359.TAA04159(a)wlv.iipo.gtegsc.com>
To: oldunix(a)minnie.cs.adfa.oz.au, sysyphus(a)crl.com
Subject: Re: What is lonex?
Hi -
> From: "Danny R. Brown" <sysyphus(a)crl.com>
> Subject: What is lonex?
LONEX _was_ "Laboratory Office Network EXperiment" - a project
I worked on for many years (we started with V7) and which just ended
a couple or three years ago. We used 11/44s and 70s right up till
the end - by which point they were all running 2.11BSD. It was a
really neat system - had a common user namespace (YP before there was
YP;-)) amoungst all systems, a (for the time) spiffy text-mode menuing
interface to shield users from the fact it was Unix and so on.
> I've been playing with the mail system. Mailing to root brings up
> can't find usr/lonex/xmail
The sendmail.cf as distributed in the 'GENERIC' system kit wasn't
cleaned up enough. That reference to a local mailer that I use
should have been removed.
Several things to note:
1) the sendmail.fc file does not exist - on purpose. You'll need to
perform step 2 and then do a "/usr/lib/sendmail -bz" to freeze
(pre-process for faster loading) the config file.
2) the sendmail.cf file is not suitable for use without customizing
(filling in the domain name, relay system, etc).
3) The aliases database (/usr/lib/aliases.{dir,pag}) are not present,
on purpose. You'll want to edit /usr/lib/aliases to suit local
tastes and then do "/usr/lib/sendmail -bi" to create the dbm
aliases database.
> This in itself is not a problem, as I only tried this to see what would
> happen. However, I am curious as to what the lonex directory is (was).
It's a directory I keep local works of art such as the local mailer
'xmail' which knew the details about routing mail within the "Office
Network" we ran.
> It does not appear in my listing of the contents of tape 2.
It shouldn't have been there at all.
You should have something like:
# Mlocal, P=/bin/mail, F=rlsDFMmn, S=10, R=20, A=mail -d $u
Mlocal, P=/usr/lonex/bin/xmail, F=lsSDFMmn, S=10, R=20, A=xmail -f $g $u
in sendmail.cf. Simply reverse the commented status of the two
lines to be:
Mlocal, P=/bin/mail, F=rlsDFMmn, S=10, R=20, A=mail -d $u
# Mlocal, P=/usr/lonex/bin/xmail, F=lsSDFMmn, S=10, R=20, A=xmail -f $g $u
And you'll be all set.
Steven Schultz
sms(a)wlv.iipo.gtegsc.com
I just thought I'd share a few more of my experiences with you in the
hope that they may help someone out....
Over the weekend, I finally succeeded in ftping Tapes/Torsten/v7.gz -
version 7 as an RL02 image. (International ftp to the UK is terrible
at present!).
I have no RL02, so I booted the image on Bob Supnic's pdp11 emulator,
built a kernel to support both RL and RK05 drives and set about
transferring the vital parts of the system to an RK05 image, with the
kernel source, games and other non-essentials going to a second
image. The two RK05 images are pretty full!
I built kernels for the 11/40 (m40.o) and 11/34 (smch.o), to support
just the RK05, and added a second DL-11 as previously discussed on
this list.
Kermiting the root image to an RK05 on my 11/34 was no trouble. My
11/34 will booth the m40.o image just fine, but the smch.o image
caused much disk activity, but no console output. Version 7 thus can
be persuaded to work on an 11/34a, with a single RK05. The second DL11
is recognised and works as expected. Version 7 seems significantly
slower than version 6, when multi-user mode is entered.
Thus, I think I'd recommend version 6 for a small system ...
Cheers,
Bob.
--
----------------------------------------------------------------------------
Robert Manners Osney Laboratory
rjm(a)swift.eng.ox.ac.uk Dept of Engineering Science
University of Oxford
01865 288762
Try: http://swift.eng.ox.ac.uk Linux - the only choice
This message brought to you from an entirely Microsoft free system.
----------------------------------------------------------------------------
As Warren says, you don't want to sync after an fsck run has made
changes to the disk. Simply turn off and reboot. One gotcha Warren
omitted was the process /etc/update, which is usually started at
boot-time from /etc/rc. This process does a sync every 30 secs
automatically. Before fscking a live filesystem, kill update first!
If fsck finds anything wrong, shutdown immediately without a sync.
Of course, fscking unmounted filesystems is far safer, but not always
possible for the root partition ...
Cheers,
Bob.
--
----------------------------------------------------------------------------
Robert Manners Osney Laboratory
rjm(a)swift.eng.ox.ac.uk Dept of Engineering Science
University of Oxford
01865 288762
Try: http://swift.eng.ox.ac.uk Linux - the only choice
This message brought to you from an entirely Microsoft free system.
----------------------------------------------------------------------------
Hmm, while we're on the topic of fsck, the RL02 image of 7th Edition that was
given to me by Torsten Hippe had an fsck for v7 filesystems, but no source code.
Torsten did say that Johnny Billquist had the original tape, but Johnny says
he's not in a position to read the tape.
Anyway, does anybody have the source code to this or another v7 fsck? Any clues
as to who wrote it etc.?
Thanks,
Warren
Howdy -
> From: "Danny R. Brown" <sysyphus(a)crl.com>
>
> When I do a "reboot" the system declares that /dev/ra0f has an
> undefined inconsistency (during fsck). It tells me to run fsck
> manually, then aborts before starting the daemons.
What aborts? If by 'abort' you mean that the process of the system
coming up ceases and you get dropped into a single user shell then
that's exactly what should happen.
> I have dchecked, ichecked and fscked /dev/ra0f, and it seems to
> be a happy partition.
Ok - at that point if a manual "fsck /dev/rra0f" (and you should be
using the raw (rra) form of the device) works, then all you need to
do is hit a ^D and the system will finish coming up to a multi user
state.
Hmmm - I think we'll need some more information before hazarding a
guess as to what's not working right. The contents of /etc/fstab
and the current disklabel would be good starting points.
> ra0f starts on an even cylinder boundary. It has one file which
> occupies some 54% of the space on it.
> reboot -f brings everything up normally.
Well, yes, it will - by bypassing all filesystem checks. Usually
that'll work ok - but it's not something to do after a crash or
a power failure.
> this boo-boo. Looking through the man pages did not point me in
> any yet untried direction. I did encounter a 'bad block' on /dev/ra0d,
Hmmm - a bad block? Shouldn't be related to anything in ra0f unless
you've accidentally created overlapping partitions. If that were
the case though I'd expect massive and widespread corruption.
What was the error when the bad block was encountered? If this is
an MSCP disk you'll need to find the MicroPDP-11 Formatter and
see if it will revector the bad sector for you (BSD MSCP drivers
can not do this - probably just as well because I've heard it's
fiendishly difficult and if you get it wrong you've hosed your
drive).
Steven Schultz
sms(a)wlv.iipo.gtegsc.com
I've recently been deluging the list with problems and obseervations
concerning the v6 kernel. Most recently, I discussed the putchar()
routine in /usr/sys/ken/prf.c, which prints messages only if the front
panel switches are set appropriately. I modified that routine by
commenting out an if, so the messages would always be sent to the
console regardless.
Having edited prf.c and rebuilt the kernel, I was suprised to find no
change in the behavior on bootup. Comparing the 'new' and 'old'
kernels (with cmp) showed them to be the same. The problem then is
that the kernel was not being rebuilt correctly.
Accordingly I removed all .o files, and the files /usr/sys/lib1 and
/usr/sys/lib2. I rebuilt again. The lib1 and lib2 files do not build
directly from the /usr/sys/run script, but rather use "ar r" to
replace the files in the libraries with the newly-built object
files. Thus I had to manually build the libraries. NOTE: it is
important to get the object files into the library in the correct
order -- I simply copied the order as for the distributed files...
I remember using tsort and lorder for Minix to determine library
component ordering, but I forget how that works ;)
Having rebuilt everything, not only did the messages print, but also
the second KL11 magically worked. Thus what I had been doing all along
was OK, but the kernel was not being properly built using all the new
object files.
Summary - to set up a second DL11 (configured as the first "local"
interface):
1) ed /usr/sys/dmr/kl.c
changing NKL11 to 2
2) modify /usr/sys/run to call mkconf with the additional
parameter:
1kl
3) Bob, so to speak, is your uncle.
Be sure everyhing is rebuilt.
I wonder if there is a bug in "ar r", whereby certain files fail to be
inserted into the library, so that old versions persist. Using the "ar
rv" verbose option may be wise ...
Hope this info is useful to those mad enough to want to use v6 ;)
Thanks for all your help.
Next project --- port the v7 shell to v6. Hmmmmmmmmm.
Bob
--
----------------------------------------------------------------------------
Robert Manners Osney Laboratory
rjm(a)swift.eng.ox.ac.uk Dept of Engineering Science
University of Oxford
01865 288762
Try: http://swift.eng.ox.ac.uk Linux - the only choice
"I'd rather stay a child
and keep my self respect,
if being an adult
means being like you" Jello Biafra
----------------------------------------------------------------------------
>From "Danny R. Brown" <sysyphus(a)crl.com> Thu Dec 7 11:31:36 1995
Received: from mail.crl.com by minnie.cs.adfa.oz.au (8.6.8/8.3) with SMTP id MAA18472; Thu, 7 Dec 1995 12:41:59 +1059
Received: from crl14.crl.com by mail.crl.com with SMTP id AA27551
(5.65c/IDA-1.5 for <oldunix(a)minnie.cs.adfa.oz.au>); Wed, 6 Dec 1995 17:40:00 -0800
Received: by crl14.crl.com id AA00417
(5.65c/IDA-1.5 for oldunix(a)minnie.cs.adfa.oz.au); Wed, 6 Dec 1995 17:31:37 -0800
Date: Wed, 6 Dec 1995 17:31:36 -0800 (PST)
From: "Danny R. Brown" <sysyphus(a)crl.com>
To: oldunix(a)minnie.cs.adfa.oz.au
Subject: Undefined Inconsistency
Message-Id: <Pine.SUN.3.91.951206171925.116A-100000(a)crl14.crl.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Greetings:
When I do a "reboot" the system declares that /dev/ra0f has an
undefined inconsistency (during fsck). It tells me to run fsck
manually, then aborts before starting the daemons.
I have dchecked, ichecked and fscked /dev/ra0f, and it seems to
be a happy partition.
ra0f starts on an even cylinder boundary. It has one file which
occupies some 54% of the space on it.
reboot -f brings everything up normally.
reboot worked at least twice without finding any faults prior to
this boo-boo. Looking through the man pages did not point me in
any yet untried direction. I did encounter a 'bad block' on /dev/ra0d,
the /usr partition, while doing a make clean in usr/src/sys, but this
turned out to be bogus, and did not involve ra0f. Coincidence or ?
All hints appreciated...
*************************************************************************
* A Personal Message from * BASILISK *
* Danny R. Brown * "Try our other fine flavors!" *
* ( sysyphus(a)crl.com ) * (404) 392-1691 *
* Pager:(404)397-0516 * LYNC host mode *
*************************************************************************
I've found out the reason for the non-printing printf's. The code in
prf.c only actually outputs to the console if the contents of the
switch register are non-zero... the code in question is the function
putchar() in /usr/sys/ken/prf.c
Still can't get the second DL11 going though ;)
--
----------------------------------------------------------------------------
Robert Manners Osney Laboratory
rjm(a)swift.eng.ox.ac.uk Dept of Engineering Science
University of Oxford
01865 288762
Try: http://swift.eng.ox.ac.uk Linux - the only choice
"There's more to life than books you know, but not much more"
----------------------------------------------------------------------------
OK, I'm still attempting kernel builds of v6 to support my 2nd DL11-W.
Thanks to everyone who's given me advice so far -- sadly it doesn't
work yet ...
I have two DL11-Ws, one as the console (CSR=0177560, VEC=0060), one as
the first local interface (CSR=0176500, VEC=0300). Under RT11, I'm
able to use both interfaces without trouble (using CONSOL.MAC to
switch from one to the other, since I haven't SYSGENed for
multi-terminal support). Thus I know the hardware works and is
correctly configured.
According to the docs in /usr/docs/start, all I need do to get support
for the second DL11-W is edit /usr/sys/dmt/kl.c to increase NKL11 from
1 to 2. (As far as the KL/DL driver is concerned the only difference
between the two types of interface is the base addresses, and it
happens to be configured so that the first KL11 other than the console
will have a CSR of 0176500, so I choose that one.) I can then rebuild
everything and run /usr/sys/conf/mkconf. At the mkconf prompt I enter
"rk", and "1kl", as stated in the docs. /usr/sys/conf/c.c and
/usr/sys/conf/l.s are built. Inspection of l.s suggests that the
correct interrupt vector of 300 is used ... Inspection of c.c implies
that the KL11 character devices will all have major device number
0. Looking at kl.c, it seems that:
c 0 0 Console 177560
c 0 1 1st KL11 176500
c 0 2 2nd KL11 176510
...
c 0 3 1st DL11 175610
c 0 4 2nd DL11 etc. 175620
I then finish building the kernel and boot from it --- no errors.
Creating the character devices as shown, I get:
echo fred >/dev/tty0 (the console) works fine
echo fred >/dev/tty1 (1st DL11) gives ...
/dev/tty1: cannot create
So I'm back to square one. As a test I set NKL11 and NDL11 to 4 and
ran mkconf with rk and 8kl. Still doesn't work. What am I doing wrong?
I'm out of ideas ...
Another interesting thing caught my eye as I was looking at the
docs. Apparently, the system should print out memory size as it
boots. Looking at /usr/sys/ken/main.c, I can see a whole bunch of
"printf"s which print out a copyright message and memory
details. Nothing is actually displayed on the console during boot!
_main is called from m40.s, and printf is a function defined within
the kernel code itself (of course ;)
Any ideas?
Cheers, Bob.
--
----------------------------------------------------------------------------
Robert Manners Osney Laboratory
rjm(a)swift.eng.ox.ac.uk Dept of Engineering Science
University of Oxford
01865 288762
Try: http://swift.eng.ox.ac.uk Linux - the only choice
"There's more to life than books you know, but not much more"
----------------------------------------------------------------------------