Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: John Holden <johnh@psych.usyd.edu.au>
Subject: Re: 11/40 misbehaviour
Date: Mon, 16 Aug 2004 09:13:42 +1000	[thread overview]
Message-ID: <cfoqn6$3i8$1@spacebar.ucc.usyd.edu.au> (raw)
In-Reply-To: <mddvffp2oe4.fsf@panix5.panix.com>

Rich Alderson wrote:

> Runs intermittently.  Was running for hours at a time, now dies in under 2
> hours.
> 

When it 'dies', does it halt, or lock up so that none of the console
switches work unless you press the 'start' key to do a bus reset. If the
latter, then it's hanging up in the microcode. If it runs for a couple
of hours, then halts, then a strong possibility is memory (remember that
every memory access is destructive, and the data must be written back).

Try zeroing all memory (assuming 64Kb)

		175770	5000	clr r0
		177772	5020	clr (r0)+
		177774	776	br .-2

Start at 175770, and let it run until it halts (a faction of a second).

Then, load a trap catcher http://www.psych.usyd.edu.au/pdp-11/hints.html
and finally a continuous loop:-

	0774	12706	mov #770,sp	set the stack
	0776	00770
	1000	000777	br .		infinite loop


Start at 0774, then wait. When it halts, look at the adddress to see if
it trapped or halted. The display will show the halt adrress + 2, and if
it was via the 'trap catcher', then the display will show the vector + 4

If the address is 10, then it was a bus error trap. Examine the stack at
address 766, which will be the address of where it was when the trap
happened.

If the address is 14, then it's a reserved instruction. Check as above.

If the address displayed at halt was 30, then there was a power fail
interrupt and you have power supply problems

If the address is above 1006, then check if it contains only a single
bit after correcting the location by subtracting 2. So a halt at 10002
or 20002 might indicate problems with an address line (or decoding in
a memory module).

Also, check the original contents of location 1000, which should still
be 000777. If it has changed (usually by one bit), then it's a memory
problem. You may pick up or loose a memory bit depending on the memory
design and where the fault is (data latch, memory timing, noise margin
etc)


      parent reply	other threads:[~2004-08-15 23:13 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-04 23:32 11/40 misbehaviour Rich Alderson
2004-08-05  3:26 ` John Santos
2004-08-05  9:34   ` jmfbahciv
2004-08-05 14:34     ` RHB
2004-08-05 21:54       ` John Holden
2004-08-05 23:03         ` Eric Smith
2004-08-06  6:18           ` RHB
2004-08-06  6:18           ` RHB
2004-08-06 13:41             ` RHB
2004-08-11  0:35     ` Rich Alderson
2004-08-11  9:47       ` jmfbahciv
2004-08-13  1:24         ` Stuart Fuller
2004-08-11  0:43   ` Rich Alderson
2004-08-11 19:39     ` RHB
2004-08-12  0:25       ` Rich Alderson
2004-08-12 14:49         ` RHB
2004-08-12 19:14           ` Rich Alderson
2004-08-24  9:31           ` alphadoc
2004-08-15 23:13         ` John Holden [this message]
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