Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jlothian@castle.ed.ac.uk (J Lothian)
Subject: HELP: BSD4.3 / vax11/750 PCS problem (long)
Date: Sat, 25 Feb 1995 18:48:38 GMT	[thread overview]
Message-ID: <D4KK92.11A@festival.ed.ac.uk> (raw)

[I'm posting this to comp.unix.internals & comp.unix.bsd because
it's partly a BSD bootstrap problem, and to comp.sys.dec because 
it's partly a vax hardware problem.]

I've got a really nasty 4.3bsd / vax11/750 hardware problem here. 
Here's the story:

A few years ago, a university department that I was then working 
for, which had recently switched from vax hardware to suns, threw 
out a set of vax 4.3 bsd distribution tapes and 4.3bsd manuals. I 
decided to grab them on the off-chance that they might one day come 
in handy.

A couple of weeks ago, the university for which I currently work
threw out a vax 11/750. It currently runs VMS 5.2. I have print-sets
for most of the processor boards, with the exception of the L0008-YA
patchable control store and the L0022 memory controller. I noticed
when poking around the VMS startup file that the command for loading
the PCS had been commented out. Attempting to execute that command
caused the machine to freeze with a control store parity error 
(front-panel 'Error' LED lit). However, the machine seems to run
VMS quite happily without the PCS loaded.

In the past few days, I've been attempting to install BSD on the 
machine off the distribution tapes I salvaged earlier. I've got to 
the stage of having copied the mini root file system off the first 
tape onto the RA60 that I'm initially going to use as system disk.
However, when I try to boot off the mini root, BSD loads the PCS from 
pcs750.bin and the machine promptly freezes with a CS parity error. 
It looks as though the PCS is faulty. And I haven't got the circuit 
diagram. Shit!

Here's what I've tried doing so far:
1) disabled CS parity circuit on data-path module (just in case it was
'in error reporting the fault'). This caused the machine
to get very slightly further and then halt with a code that the 11/750
installation manual describes as 'interrupt stack invalid'. Presumably
it's being led astray by bad microcode in the PCS ram.

2) Dug out the 4.4BSD Lite cdrom and had a look at the old vax code
on it. The code in boot.c in the stand directory suggests that the
PCS ram is mapped into the machine's address space as a block of 
longwords starting at f08000. Each control word is split into four 
20-bit blocks apparently occupying consecutive longword addresses. 
The remaining 12 bits of each longword are apparently flags of some sort. 
It looks as though BSD will continue with the boot if it doesn't find
the pcs750.bin file -- if I could somehow get the machine to boot just 
once and rename the file, the problem would be at least partly solved.

I've tried dropping bits into the control store from the console and
reading them back. Every third and fourth longword comes back 
severely mangled, with the topmost of the 20 bits jammed at 1 and 
several of the lower bits jammed at 0. The bits jammed at 0 seem to 
vary randomly.

I've tried reverse-engineering the PCS board, but with very little 
success.

As far as I can see, I'm going to have to do one of the following 
to get past this problem:
1) fix the PCS;
2) persuade BSD not to load it. 

Anybody got any ideas? It's a bit of a bummer to have gone through
all the business of dismantling the machine, hauling it home, sticking
the bits back together, fixing all the niggly things that happen when
you move these things, and then have it fall over at the last hurdle 
like this. Does anybody have a PCS (L0008-YA) print-set that I could 
buy a photocopy of?

Help!

Email replies appreciated,
james

PS I realise that what I'm doing here is perhaps a bit iffy legally 
speaking -- pseudo-unlicensed BSD distribution &c. -- but I'm doing 
this purely for the sheer because-it's-thereness of it all, and am 
in no danger at all of profiting from it.


-------------------------------------------------------
James Lothian        |      "It's life, Jim, 
james@uk.ac.ed.caad  |   but not as we know it"
-------------------------------------------------------
          These opinions have nothing to do 
             with Edinburgh University.


             reply	other threads:[~1995-02-25 18:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-02-25 18:48 J Lothian [this message]
1995-02-26  5:45 ` HELP: BSD4.3 / vax11/750 PCS problem (long) Terry Kennedy, Operations Mgr.
1995-03-02 19:42   ` Tad Hunt 
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox