🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

7 total messages Started by Craig Dewick Mon, 10 Jul 1995 00:00
Justification for the use of 9-bit wide RAM modules
#908
Author: Craig Dewick
Date: Mon, 10 Jul 1995 00:00
45 lines
3026 bytes
I'd never really given much time to think about the benefits of parity
checking of RAM, but this afternoon I have come home to find that my 3/80
had self-rebooted at 17:19 when the kernel detected a parity error. I'll
let the log file speak for itself.... 

Jul 10 17:19:57 ppt vmunix: Parity error:
Jul 10 17:19:57 ppt vmunix: 	virtual address 0xffb6b750
Jul 10 17:19:57 ppt vmunix: 	errreg 0xd1	    
Jul 10 17:19:57 ppt vmunix: 	physical address 0x27d750
Jul 10 17:19:57 ppt vmunix: Parity error at SIMM U0603
Jul 10 17:19:57 ppt vmunix: panic:  synchronous parity error - kernel
Jul 10 17:19:57 ppt vmunix: syncing file systems... done
Jul 10 17:19:57 ppt vmunix: 00150 low-memory static kernel pages
Jul 10 17:19:57 ppt vmunix: 00144 additional static and sysmap kernel pages
Jul 10 17:19:57 ppt vmunix: 00000 dynamic kernel data pages
Jul 10 17:19:57 ppt vmunix: 00025 additional user structure pages
Jul 10 17:19:57 ppt vmunix: 00001 segmap kernel pages
Jul 10 17:19:57 ppt vmunix: 00000 segvn kernel pages
Jul 10 17:19:57 ppt vmunix: 00184 current user process pages
Jul 10 17:19:57 ppt vmunix: 00022 user stack pages
Jul 10 17:19:57 ppt vmunix: 00526 total pages (526 chunks)
Jul 10 17:19:57 ppt vmunix: 
Jul 10 17:19:57 ppt vmunix: dumping to vp ff1a7214, offset 33136
Jul 10 17:19:57 ppt vmunix: 526 total pages, dump succeeded
Jul 10 17:19:57 ppt vmunix: rebooting...
Jul 10 17:19:57 ppt vmunix: SunOS Release 4.1.1 (sun3x_80) #2: Sun Jan 22 12:11:09 EST 1995

I never knew that the kernel logged not only the location details but also
the number of the RAM module as shown on the 3/80 schematic! 

Anyway, I'm a little confused as to how this error was actually detected,
and since it hasn't occured again would I be right to assume that it might
have been a random thing and not a *real* RAM problem? I was under the
impression that RAM integrity checking was only ever done as part of the
power-on self test. 

Regards,

Craig.
-- 
     Craig Dewick, located in Sydney, Australia. cdewick@orb.apana.org.au
      Phone: [PSTN] (int. +612, loc. 02)-527-1292, or [GSM] 0411-158-574
 Always striving for a secure long-term future in an insecure short-term world
    "But wait, there's more..." - "Don't send any money, we'll bill you..."
Re: Justification for the use of 9-bit wide RAM modules
#909
Author: Wilko Bulte
Date: Wed, 12 Jul 1995 00:00
25 lines
1553 bytes
cdewick@orb.apana.org.au (Craig Dewick) writes:


>I never knew that the kernel logged not only the location details but also
>the number of the RAM module as shown on the 3/80 schematic! 

neat huh?

>Anyway, I'm a little confused as to how this error was actually detected,
>and since it hasn't occured again would I be right to assume that it might
>have been a random thing and not a *real* RAM problem? I was under the

COuld just be a 'soft' error.

>impression that RAM integrity checking was only ever done as part of the
>power-on self test. 

No, the parity logic is working round the clock. It wouldn't make much
sense on systems who have 100s of days uptimes otherwise.


>Craig.
>     Craig Dewick, located in Sydney, Australia. cdewick@orb.apana.org.au

Wilko
Re: Justification for the use of 9-bit wide RAM modules
#910
Author: Andrew McNamara
Date: Thu, 13 Jul 1995 00:00
28 lines
1898 bytes
cdewick@orb.apana.org.au (Craig Dewick) writes:

>I'd never really given much time to think about the benefits of parity
>checking of RAM, but this afternoon I have come home to find that my 3/80
>had self-rebooted at 17:19 when the kernel detected a parity error. I'll
>let the log file speak for itself.... 

[...]

>Anyway, I'm a little confused as to how this error was actually detected,
>and since it hasn't occured again would I be right to assume that it might
>have been a random thing and not a *real* RAM problem? I was under the
>impression that RAM integrity checking was only ever done as part of the
>power-on self test. 

The whole point of parity ram is that you detect errors while the machine
is running. Dynamic ram, being essentially a capacitor, can be discharged
by radiation - it's actually not that uncommon for single bit errors to
occur.

The NCR machines that I used to use had error correcting ram - they would
log a correction about once every six months (these machines generally had
uptimes in the order of years).

--
Andrew McNamara
System Engineer
connect.com.au Pty Ltd
Re: Justification for the use of 9-bit wide RAM modules
#911
Author: Jim Prescott
Date: Fri, 14 Jul 1995 00:00
19 lines
1876 bytes
In <1995Jul14.030358.28194@taylor.infi.net>, Mark Davis <mark@taylor.infi.net>:
>Parity RAM is next to useless.  It is really a waste of valuable bits.
>The only logical approach is to use no parity, or use ECC RAM.
>Parity memory can't even detect but SOME memory errors, and can't do
>ANYTHING about it, except warn (or as pointed out, just go ahead and
>crash the system anyway).

A Unix system could do much better than just crashing the system.
If the parity error occurs in a clean page the OS could just reload
the page from the FS or swap.  If it occurs in a dirty page the OS
could kill just the affected process(es).  Only parity errors in
the OS itself should require a reboot.

ECC is much better (though it also only detects SOME memory errors)
but it is also more costly.  Parity seems to have a useful niche in
the cost/benefit tradeof.
-- 
Jim Prescott - Systems Staff	jgp@seas.rochester.edu	ur-valhalla!jgp
School of Engineering and Applied Sciences, University of Rochester, NY
Re: Justification for the use of 9-bit wide RAM modules
#912
Author: Mark Davis
Date: Fri, 14 Jul 1995 00:00
45 lines
3090 bytes
andrewm@connect.com.au (Andrew McNamara) writes:

>cdewick@orb.apana.org.au (Craig Dewick) writes:

>>I'd never really given much time to think about the benefits of parity
>>checking of RAM, but this afternoon I have come home to find that my 3/80
>>had self-rebooted at 17:19 when the kernel detected a parity error. I'll
>>let the log file speak for itself.... 

>[...]

>>Anyway, I'm a little confused as to how this error was actually detected,
>>and since it hasn't occured again would I be right to assume that it might
>>have been a random thing and not a *real* RAM problem? I was under the
>>impression that RAM integrity checking was only ever done as part of the
>>power-on self test. 

>The whole point of parity ram is that you detect errors while the machine
>is running. Dynamic ram, being essentially a capacitor, can be discharged
>by radiation - it's actually not that uncommon for single bit errors to
>occur.

Parity RAM is next to useless.  It is really a waste of valuable bits.
The only logical approach is to use no parity, or use ECC RAM.
Parity memory can't even detect but SOME memory errors, and can't do
ANYTHING about it, except warn (or as pointed out, just go ahead and
crash the system anyway).

>The NCR machines that I used to use had error correcting ram - they would
>log a correction about once every six months (these machines generally had
>uptimes in the order of years).

Our Altos 15,000 uses ECC Ram.  In 2.5 years, it has found and corrected
13 single bit errors.  Any one of those errors had the potential to bring
the system down, but ECC prevents it from happening.  The ECC system can
detect a lot more than single bit errors, and can correct single, double, and
some other memory errors (don't have the docs in front of me). The Altos 15000
has an INCREDIBLE uptime- it has never failed and seems to keep running
forever.  ECC RAM is a must for a serious computer system.

-- 
  /--------------------------------------------------------------------------\
  | Mark A. Davis     | Lake Taylor Hospital | Norfolk,VA (804)-461-5001x431 |
  | Director/SysAdmin | Information Systems  |    mark@taylor.infi.net       |
  \--------------------------------------------------------------------------/
Re: Justification for the use of 9-bit wide RAM modules
#913
Author: John DiMarco
Date: Fri, 14 Jul 1995 00:00
23 lines
1891 bytes
mark@taylor.infi.net (Mark Davis) writes:

>Parity RAM is next to useless.  It is really a waste of valuable bits.
>The only logical approach is to use no parity, or use ECC RAM.
>Parity memory can't even detect but SOME memory errors, and can't do
>ANYTHING about it, except warn (or as pointed out, just go ahead and
>crash the system anyway).

I disagree.  Without parity, single-bit errors will silently corrupt data.
This can be very problematic.  A system panic is often preferable.

Of course, ECC memory provides significantly more protection than parity, but 
the extra two bits per byte makes it more costly.  Parity is a reasonable 
compromise for desktop workstations.

Regards,

John
--
John DiMarco <jdd@cdf.toronto.edu>                        Office: EA201B
Computing Disciplines Facility Systems Manager            Phone: 416-978-1928
University of Toronto                                     Fax:   416-978-1931
http://www.cdf.toronto.edu/personal/jdd/jdd.html
Re: Justification for the use of 9-bit wide RAM modules
#914
Author: Casper H.S. Dik - Network Securi...
Date: Mon, 17 Jul 1995 00:00
21 lines
1848 bytes
jgp@stiletto.ceas.rochester.edu (Jim Prescott) writes:

>A Unix system could do much better than just crashing the system.
>If the parity error occurs in a clean page the OS could just reload
>the page from the FS or swap.  If it occurs in a dirty page the OS
>could kill just the affected process(es).  Only parity errors in
>the OS itself should require a reboot.

If SunOS/Solaris detect a parity error, it can recover from those conditions
and I've seen it happen.

It will panic if it can't recover. 
If the page is clean, it will be reloaded.  If it's dirty, the affected
processes will be killed.  The memory location causing the error
will be checked and it will be put out of service if the error is permanent
and it will be put backin service if the error is transient.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads