From: mark@cita.toronto.edu (Mark Bartelt)
Subject: fun and games with 11/40 microcode (was Re: pow() Alpha problem (from Risks Digest, InfoWorld))
Date: 1997/08/28 [thread overview]
Message-ID: <EFMKBH.JJC@utcc.utoronto.ca> (raw)
In-Reply-To: 3404E7D1.D6483F95@bcl-anon.co.nz
[ Dave Green ]
>> Hey, these things happen ... back in my techie days I worked on a
>> PDP11/40 running RSX that would boot up perfectly OK but as soon as any
>> command was typed in and <cr> pressed RSX came back with a command
>> syntax error message. No commands could be entered.
>>
>> Running the trusty CPU diags revealed an error with the setting of the
>> overflow (V) bit.
>>
>> I was able to setup a microcode trap using the ucode stepper card and
>> step through the code that set the bit. Scoping out the relevant chip
>> saw the correct inputs but incorrect output.
>>
>> Replacing the chip fixed the problem (you could do that on an 11/40).
>>
>> Best fix I ever did.
Heh, that *does* bring back memories. One of the most amazing examples of
hardware wizardry that I remember from those days involved an 11/40 which
had been sitting around unused for a few years, until someone in the group
I was working with at the time decided to resurrect it.
However, it had a tendency to crash randomly. Not often, but enough to be
annoying. And, seemingly, randomly. However, the person who intended to
use this machine was astoundingly talented, so he got out the schematics
(yes, remember when we got full schematics with every DEC machine we got?)
and started poring over them. The schematics included not only the circuit
diagrams, but also a complete listing of the microcode. (I no longer recall
whether the microcode listings were in octal or binary, though. ;-)
Anyway, to make a very long story short, he determined that these crashes
would occur only when ...
(1) A "negate" instruction was immediately followed by a "jump" instruction.
(2) There was a DMA transfer in progress during the time that the "negate"
and "jump" were executed.
When this combination of conditions occurred, the "jump" would jump to the
wrong address!
Don't ask me how he managed to characterize the problem to this degree. As
I said, he's a sharp guy. And from the microcode listings, he found the bug
which was causing the misbehaviour. So he called somebody in DEC's central
engineering world, and found out that DEC had discovered this bug themselves
a few years previously, and had issued an ECO. But because this machine had
just been sitting around unused, it hadn't been covered by a service contract,
so the ECO never got installed on it.
Mark Bartelt 416/978-5619
Canadian Institute for mark@cita.utoronto.ca
Theoretical Astrophysics http://www.cita.utoronto.ca/~mark
"Clothes not busy being worn are busy drying." -- Dylan, on laundry day
[ singing "It's all right, ma (I'm only bleaching)" ]
next prev parent reply other threads:[~1997-08-28 4:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5tkqjn$a14@usenet.pa.dec.com>
1997-08-27 4:00 ` pow() Alpha problem (from Risks Digest, InfoWorld) Chris Chiesa
1997-08-28 4:00 ` Dave Green
1997-08-28 4:00 ` Mark Bartelt [this message]
[not found] ` <3406047E.F469FE7F@bcl-anon.co.nz>
[not found] ` <tater-skins-ya023180003008971305560001@news.patriot.net>
1997-09-02 4:00 ` fun and games with 11/40 microcode (was Re: pow() Alpha problem (from Risks Digest, InfoWorld)) Dave Green
[not found] ` <5uk5ap$spq@milo.mcs.anl.gov>
1997-09-04 4:00 ` fun and games with 11/40 microcode (was Re: pow() Alpha problem Joe Landis
1997-09-05 4:00 ` Alan Frisbie
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