Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site x.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!cybvax0!frog!x!rfm From: rfm@x.UUCP (Bob Mabee) Newsgroups: net.bugs.v7,net.unix-wizards Subject: Re: Codata (V7): strange memory faults crash the system Message-ID: <866@x.UUCP> Date: Thu, 12-Dec-85 23:15:53 EST Article-I.D.: x.866 Posted: Thu Dec 12 23:15:53 1985 Date-Received: Sat, 14-Dec-85 08:04:07 EST References: <113@delftcc.UUCP> Reply-To: rfm@x.UUCP (Bob Mabee) Followup-To: net.unix-wizards Organization: Charles River Data Systems, Framingham MA Lines: 26 Keywords: Codata Xref: watmath net.bugs.v7:225 net.unix-wizards:16097 Summary: 68000 bug can cause memory parity errors In article <113@delftcc.UUCP> sam@delftcc.UUCP (Sam Kendall) writes: >The problem: periodically (lately once or twice a day) the system >decides that there should be lots of memory faults. >The system: Codata 3300 (a 68000 box) running Unisis 3.1.1 Are you doing any programming which could cause you to get odd-address traps? There is a little-known defect in the 68000 which can cause it to trash memory pretty thoroughly, even when running in user mode. When the 68000 makes a word reference to an odd address, it begins an external cycle (AS and DS) before noticing the address is odd. Some time later, it simply aborts the cycle by removing AS and DS, and changes the address lines to start the next cycle. However, external logic may be in the middle of a RAM read/writeback cycle and assume that the addresses are stable. Depending on timing, bus interface, and memory card design, you could end up with bad parity (or just bad data) in all of one row of the RAM, which probably maps into a bad word every 256 or 512 words. If you are running into this, then your crashes will generally come right after you run the buggy program, perhaps even before you can get the message that it had an odd-address trap. To avoid this problem you will have to do your debugging at off hours (so the crash won't hurt as much), and try to find the odd address before it gets used (not easy!). -- Bob Mabee @ Charles River Data Systems decvax!frog!rfm