Having given up trying to work out why v6 runs on my /34a, and v5
doesn't, I've turned my mind to the problem of trying to get a second
DL11 up and running so I can use a terminal as well as my trusty
teletype.
I've set up a second DL11 on CSR address 176500, vector 300. This
device is set for 96008N1, for what it's worth, and works just fine
under RT11.
I rebuilt the v6 kernel to enable a second DL11 interface. I have no
guide to the source, so all this is based on my guesswork. Needless to
say, it doesn't work, and I'm now out of ideas:
Modified /usr/sys/dmr/kl.c, the KL/DL-11 driver source. I'm assured
that the KL11 is an ancient serial interface ...
Extract from said file ...
/* base address */
#define KLADDR 0177560 /* console */
#define KLBASE 0176500 /* kl and dl11-a */
#define DLBASE 0175610 /* dl-e */
#define NKL11 1
#define NDL11 0
#define DSRDY 02
#define RDRENB 01
I simply changed the number of KL11's from one to two:
#define NKL11 2
A further comment in the code says:
* set up minor 0 to address KLADDR
* set up minor 1 thru NKL11-1 to address from KLBASE
* set up minor NKL11 on to addresss from DLBASE
What this is saying is that minor 0 will be 0177560 (my console, which
works fine), minor 1 will be 0176500 (which should be my second
DL11). The code even does what the comment says ... ;)
So I rebuild the kernel, reboot.
Now, /etc/mknod /dev/tty1 c 0 1
makes the device, and
echo Hi >/dev/tty1
gives:
/dev/tty1: cannot create
What is up? Naturally if I set up a login for that terminal by editing
/etc/ttys, the process loops and causes a great deal of disk
thrashing. Something is clearly up with the configuration of the
device drivers here ...
Does anyone know how I'm supposed to do this properly? Advice and
guidance would be much appreciated ...
*********************************************************************
On a completely different note, would someone be so kind as to give me
the source for a very small Bourne shell and accompanying utilities
(/bin/test etc...) that I could port to v6 without too much difficulty?
*********************************************************************
Thanks,
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
"Wall Street or Crack Dealer Avenue,
the last routes left to the American Dream" - Jello Biafra
----------------------------------------------------------------------------
>From "Danny R. Brown" <sysyphus(a)crl.com> Sat Dec 2 00:03:50 1995
Received: from mail.crl.com by minnie.cs.adfa.oz.au (8.6.8/8.3) with SMTP id BAA07165; Sat, 2 Dec 1995 01:12:02 +1100
Received: from crl10.crl.com by mail.crl.com with SMTP id AA20411
(5.65c/IDA-1.5 for <oldunix(a)minnie.cs.adfa.oz.au>); Fri, 1 Dec 1995 06:10:08 -0800
Received: by crl10.crl.com id AA04477
(5.65c/IDA-1.5 for oldunix(a)minnie.cs.adfa.oz.au) Fri, 1 Dec 1995 06:03:51 -0800
Date: Fri, 1 Dec 1995 06:03:50 -0800 (PST)
From: "Danny R. Brown" <sysyphus(a)crl.com>
To: oldunix(a)minnie.cs.adfa.oz.au
Subject: Followup to compiling BSD2.11 w/Deqna
Message-Id: <Pine.SUN.3.91.951201055825.4424A-100000(a)crl10.crl.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Uh, sorry... I rebuilt the unmodified GENERIC kernal. It also terminates
abnormally, same point, same message. I'm going to sleep for a while
and then go out and buy another Unix book.
*************************************************************************
* 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> Sat Dec 2 14:05:36 1995
Received: from wlv.iipo.gtegsc.com by minnie.cs.adfa.oz.au (8.6.8/8.3) with ESMTP id PAA08538; Sat, 2 Dec 1995 15:13:32 +1100
Received: (from sms@localhost) by wlv.iipo.gtegsc.com (8.6.10/8.6.12) id UAA17751; Fri, 1 Dec 1995 20:05:36 -0800
Date: Fri, 1 Dec 1995 20:05:36 -0800
From: "Steven M. Schultz" <sms(a)wlv.iipo.gtegsc.com>
Message-Id: <199512020405.UAA17751(a)wlv.iipo.gtegsc.com>
To: oldunix(a)minnie.cs.adfa.oz.au, sysyphus(a)crl.com
Subject: Re: Followup to compiling BSD2.11 w/Deqna
Hello -
> From: "Danny R. Brown" <sysyphus(a)crl.com>
> Subject: Followup to compiling BSD2.11 w/Deqna
>
>
> Uh, sorry... I rebuilt the unmodified GENERIC kernal. It also terminates
> abnormally, same point, same message. I'm going to sleep for a while
> and then go out and buy another Unix book.
That is strange. The GENERIC kernel should build with no problems -
efforts were made to keep the Make.* files in /sys/conf in sync with
the GENERIC system.
Alas, it sounds like I didn't keep the template Makefiles current
enough ;-(
I doubt there are any books out there that know anything about
overlays - it's a a lost art from what I've seen.
I'll follow up with a mini tutorial on how to build a kernel. One
note for now: it is 99.999% certain that after configuring a
non-GENERIC kernel you will get a size error from the linker and you
will have to adjust the overlay layout in your kernel build directory.
Steven Schultz
sms(a)wlv.iipo.gtegsc.com
Greetings:
All I did was add 1 DEQNA, 3 DLV's (total 4), 1 DLV. Has anyone tried
this? The Makefile proceeds without errors until the final (massive)
link run. Then it says
too big for type 431
and exits code 2.
I tried playing with Makefile, deleted some modules, like the rk, which
I do not have, and moved a couple around. Same result.
Obviously I'm new at this. Any assistance 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 *
*************************************************************************