From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fdd80,984fa3368c4b0956 X-Google-Thread: 1164f8,984fa3368c4b0956 X-Google-Attributes: gidfdd80,gid1164f8,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!news1.optus.net.au!optus!news.usyd.edu.au!not-for-mail From: John Holden Newsgroups: alt.sys.pdp11,comp.sys.dec Subject: Re: 11/40 misbehaviour Date: Mon, 16 Aug 2004 09:13:42 +1000 Organization: The University of Sydney, Australia Message-ID: References: <1040804230752.7326D-100000@Ives.egh.com> <221a1b70.0408111139.609c3d3f@posting.google.com> NNTP-Posting-Host: g4-cubix.psych.usyd.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: spacebar.ucc.usyd.edu.au 1092611622 3656 129.78.83.38 (15 Aug 2004 23:13:42 GMT) X-Complaints-To: usenet@news.usyd.edu.au NNTP-Posting-Date: 15 Aug 2004 23:13:42 GMT User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7b) Gecko/20040316 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news1.google.com alt.sys.pdp11:302 comp.sys.dec:456 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)