Jump to content

PDP-11/20 Troubleshooting Guide

From RetroTechCollection
DEC PDP-11-20 at the Computer History Museum
PDP-11/20 with its KY11-A console (Don DeBold, CC BY 2.0)

Faults on a PDP-11/20 are best worked through from the power supply to the processor, memory and Unibus, with the console lamps as the main instrument. DEC's PDP-11/20 System Manual describes what each combination of console lamps means, the MM11-E Core Memory Manual has a troubleshooting chart for the memory, the H720 Power Supply and Mounting Box Manual explains how the supply protects itself, and the KA11 Processor Manual gives the clock adjustment and the maintenance tools.[1][2][3][4] Measure the supply first: most of the processor's symptoms are also what a sick H720 produces.

Preliminary checks

[edit | edit source]
First checks
Symptom Probable cause Action
Nothing at all, fans silent Mains, fuse F1, the key switch, or (H720-E/F) the remote/local power control Check F1 and the outlet; on E/F models check the circuit breaker and the remote/local setting of the power control
Fans run, no lamps, no +5 V Regulator board fuse, crowbar or overcurrent mode, failed switching transistor See PDP-11/20 Power Supply Service
+5 V low (under about 4.5 V), −15 V near −1 to −2 V The −15 V crowbar has followed the low +5 V Fix +5 V first
Lamps on, machine dead, RUN and BUS both steadily lit Malfunction on the Unibus or in the processor See "Console lamp combinations"

[3][5][1]

Power supply faults

[edit | edit source]
  • +5 V reads zero, or pulses at a low rate. On overload the +5 V regulator switches off until its current falls and then retries; into a short it delivers about 30 A in this mode. If +5 V has risen towards 6 V the crowbar SCR fires and holds the output down until the output capacitors discharge, then the cycle repeats. Either mode looks like a dead supply on a meter. Remove the load (pull the system unit power connectors) and see whether +5 V recovers.[6][5]
  • +5 V crowbar stays fired. If the switching transistor Q1 has failed short, the SCR keeps conducting and fuse F2 on the regulator board eventually opens. Replace Q1 (2N5301) and check the board before fitting a new fuse.[5][7]
  • −15 V missing. The −15 V regulator is turned off and its output crowbarred to about −1 V to −2 V whenever +5 V is below about 4.5 V. DEC did this to protect the core memory. A low or dead +5 V therefore always takes −15 V with it.[5][8]
  • −15 V high. The −15 V regulator has no overvoltage protection; a failed −15 V switch lets the output rise towards the unregulated −22 V to −25 V.[5][9]
  • Only DC LO asserted. This happens when the +5 V crowbar has fired with the mains present.[5]

Measure the supplies at the backplane against the limits in PDP-11/20 General Maintenance.

Power-fail and restart

[edit | edit source]

The KA11 traps to the power-fail routine when the mains falls below 105 V, and needs 2 ms for power-down; the H720 holds up for 2 ms at full load from the moment AC LO is asserted.[9][5] The supply asserts AC LO when its +25 V raw supply falls to about 18 V or its −25 V raw supply to about 20 V, and its hysteresis means that if AC LO is asserted at 100 V mains it is not released until the mains reaches 103 V.[5]

  • Machine halts or restarts at random with no obvious fault. Check the mains voltage under load, then the H720's 22,000 µF reservoir capacitors: a raw supply that sags with load reaches the AC LO threshold early.[5][7]
  • Hangs when an expansion box is switched on or off. The AC LO and DC LO outputs of every H720 are wired together on the Unibus, and DEC requires each extra box's AC LO and DC LO to be connected so that a failure anywhere is seen by the processor. A fault in any box's supply shows up as a system power fail.[10][11]

Console lamp combinations

[edit | edit source]

DEC groups the console lamps into display (ADDRESS REGISTER, DATA), control (RUN, BUS) and major states (FETCH, SOURCE, DESTINATION, EXEC). The steady-state combinations tell you who owns the bus:[1]

RUN and BUS lamps (PDP-11/20 System Manual, section 3.3.1)
RUN BUS Meaning What to check
Faint glow Off Normal running: the processor clock stops and starts with each bus transfer –
Fully on Off WAIT instruction loop, or the processor in control Normal in a WAIT; otherwise a program loop
Off On A peripheral holds the bus through an NPR or BR Normal briefly. DEC notes the BUS lamp is rarely seen except for a bus malfunction or a peripheral holding the bus too long: find the device
Off Off The console has control (HALT, S-INST, S-CYCLE) Normal when halted
On On Malfunction Bus fault: remove peripheral controllers one at a time

[1] On a HALT instruction the console takes control and the DATA display shows register R0, which identifies which halt a program reached; the ADDRESS REGISTER shows the address of the halt, and the program counter is that address plus 2.[1]

Processor and memory

[edit | edit source]
  • Console EXAM of an address shows zero data and the RUN lamp comes on. The address is odd or does not exist; no trap occurs from the console. Clear it with START in the HALT position. If the address should be real memory, the memory unit is not responding.[1]
  • Memory test failures. Deposit and examine patterns from the console in each 4K unit to find which unit fails. The MM11-E is inhibited by its DC OK signal when the supply voltages are low, so check −15 V and +5 V at the memory before condemning it; then work through the MM11-E section below.[9][12]
  • Erratic instruction execution. Check the processor clock: with a WAIT at location 0 running, SCLK L at pin E03F1 on the M728 should have a 280 ns cycle; adjust trimpot R8 on the M728 if not.[13]
  • Fault not obvious from the console. DEC's tools are the MAINDEC diagnostics, with Processor Test 17 as the overall exerciser, and the KM11 maintenance set (W130 and W131 modules), which single-clocks the processor, can disable time-out and supply BUS SSYN, and shows the ISR and BSR time states, MSYN, BSYN, traps and condition codes.[14] To watch the processor step through the service states, single-clock it from the KM11 with ENABLE/HALT at ENABLE; at HALT the console always takes control in the service state.[14]

MM11-E core memory faults

[edit | edit source]

DEC's MM11-E manual says the three memory adjustments rarely need touching unless a module has been replaced, but should be checked before troubleshooting a memory that misbehaves. Before adjusting, check that every module on print MM11-E-06 is in place, look for broken wires and connectors, check that the power buses are not shorted together, and confirm +5 V and −15 V are within 5%. DEC requires the adjustments to be made at 20–30 °C.[12] The adjustment values are on PDP-11/20 General Maintenance.

MM11-E troubleshooting chart (DEC-11-HR3A-D, Table 3-2)
Symptom Affects Possible cause Corrective action
Picks up bits All bits X-Y current too high Check V REF and reset per the set-up procedure
All bits Strobe too early Reset STROBE DEL to 210 ns on the M729
All bits −15 V input low Reset or repair the H720 supply
One bit Inhibit driver inoperative or inhibit winding open Repair the G102
All bits Threshold too low (less than −5.2 V) Reset V SLICE to −5.2 V on the G103
Some bits in one byte Sense amplifier reset inoperative for that byte Repair the M729
8 or 16 bits TINH H inoperative Check the M729 and G225
All bits at high temperature Stack thermistor or resistor Check components and wiring to the G225
Drops bits All bits X-Y current too low Reset V REF or repair the G225
All bits Strobe too early or too late Reset STROBE DEL on the M729
All bits Threshold too high Reset V SLICE on the G103
All bits, 64 locations Open line in memory Ring out the stack (read or write lines)
All bits, 8 locations Bad switch or driver Troubleshoot and repair the G226
One bit, all words Bad sense line or sense chain (bus receiver, latch, sense amplifier or bus driver) Troubleshoot and repair the G102
Some bits, one byte STROBE or LOAD inoperative for that byte Troubleshoot and repair the M729
All bits at low temperature Stack thermistor or resistor Check components and wiring to the G225
No response to MSYN L – No device select Check the M109 jumpers and gates
– MSEL not reset on previous cycle Check the M729 circuits
– SSYN not reset on previous cycle Check the M729 circuits
– SSYN not setting Check the M729 circuits
Memory always performs a DATIP All bits PROTECT L input to the M729 grounded Check and repair

[2] The chart gives V SLICE as −5.2 V, while the adjustment procedure in the same manual specifies −5.3 V ±0.2 V; both figures fall inside the procedure's tolerance.[12][2] Figures 3-2 and 3-3 of the manual show the normal sense, inhibit and drive waveforms with the failure waveforms dotted in.[2]

Loading a program to test the machine

[edit | edit source]

The 11/20 starts from paper tape: the bootstrap loader (DEC-11-L1PA-LA) is toggled into core from the console, it loads the absolute loader, and the absolute loader loads binary programs such as the MAINDECs. The bootstrap has two variables that depend on memory size and the reading device, listed in Table 4-2 of the system manual.[15] To deposit into consecutive locations, LOAD ADDR the start and press DEP repeatedly; the address increments on each deposit after the first.[1]

[edit | edit source]

References

[edit | edit source]
  1. ↑ 1.0 1.1 1.2 1.3 1.4 1.5 1.6 DEC, DEC-11-HR1B-D, chapter 3, Tables 3-1 and 3-2 and section 3.3, console interactions, pp. 3-1 to 3-8.
  2. ↑ 2.0 2.1 2.2 2.3 DEC, DEC-11-HR3A-D, section 3.3, Figures 3-2 and 3-3 and Table 3-2, pp. 3-2 to 3-3.
  3. ↑ 3.0 3.1 Digital Equipment Corporation, H720 Power Supply and Mounting Box Manual, DEC-11-HR5B-D, chapter 2 (File:H720 Power Supply and Mounting Box Manual (DEC-11-HR5B-D).pdf).
  4. ↑ Digital Equipment Corporation, KA11 Processor Manual, DEC-11-HR2B-D, chapter 5 (File:KA11 Processor Manual (DEC-11-HR2B-D).pdf).
  5. ↑ 5.0 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 DEC, DEC-11-HR5B-D, p. 2-4, sections 2.3.3.2 to 2.3.6, crowbar, −15 V regulator, AC LO, DC LO.
  6. ↑ DEC, DEC-11-HR5B-D, pp. 2-2 to 2-3, section 2.3.3.1, overcurrent protection.
  7. ↑ 7.0 7.1 Digital Equipment Corporation, H720 Power Supply and Mounting Box Engineering Drawings, 1971, D-CS-H720-0-1 parts list (File:H720 Power Supply and Mounting Box Engineering Drawings (1971).pdf).
  8. ↑ DEC, DEC-11-HR5B-D, p. 2-7, section 2.4.2.4, −15 V crowbar circuit.
  9. ↑ 9.0 9.1 9.2 Digital Equipment Corporation, PDP-11/20 System Manual, DEC-11-HR1B-D, chapter 2, Tables 2-3, 2-5 and 2-7 (File:PDP-11-20 System Manual (DEC-11-HR1B-D).pdf).
  10. ↑ DEC, DEC-11-HR5B-D, pp. 2-7 to 2-8, sections 2.4.3 and 2.4.4, wired-OR AC LO and DC LO.
  11. ↑ DEC, DEC-11-HR2B-D, section 5.7, multiple box systems.
  12. ↑ 12.0 12.1 12.2 Digital Equipment Corporation, MM11-E Core Memory Manual, DEC-11-HR3A-D, first printing August 1970, chapter 3, sections 3.2 to 3.2.5, pp. 3-1 to 3-2 (File:MM11-E Core Memory Manual (DEC-11-HR3A-D).pdf).
  13. ↑ DEC, DEC-11-HR2B-D, section 5.9, processor clock adjustment.
  14. ↑ 14.0 14.1 DEC, DEC-11-HR2B-D, section 5.11, maintenance tips.
  15. ↑ DEC, DEC-11-HR1B-D, chapter 4, section 4.2, manual loading, and Table 4-2.