Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay.Estabrook@digital.com
To: axp-list@redhat.com
Subject: Re: 2.0.34 + patches && 1 question
Date: Wed, 17 Jun 1998 11:16:26 +0500	[thread overview]
Message-ID: <199806171516.LAA05005@linux03.hlo.dec.com> (raw)
In-Reply-To: Your message of Tue, 16 Jun 1998 20:25:54 -0400. <Pine.GSO.3.96.980616202124.2007C-100000@yacht.ee.fit.edu>


>>> Christopher Curtis said:
> 
> I've just finished compiling 2.0.34 with Jay's patches, and all went
> primarily without incident.  Here's the output of stderr:
> 
> osf_sys.c:763: warning: implicit declaration of function `rdfpcr'
> osf_sys.c:765: warning: implicit declaration of function `wrfpcr'
> irq.c: In function `init_IRQ':
> irq.c:1174: warning: unused variable `temp'
> lca.c: In function `lca_machine_check':
> lca.c:474: warning: unknown escape sequence `\p'
> lca.c: In function `lca_clock_print':
> lca.c:520: warning: unsigned int format, different type arg (arg 2)
> lca.c:521: warning: unsigned int format, different type arg (arg 2)

Hmm, I'll look into these, see if I can fix them up.

> Now, LCA has been bugging me lately - it seems that I have some
> questionable memory, and lca_machine_check keeps spewing out errors
> whenever this memory is accessed.  As long as it is corrected (it usually
> is) I don't want it to get thrown to my screen, nor do I want it to get
> logged to syslog.
> 
> Is there,
>   a) A method to mark this memory "bad/used" at boot time?
> or
>   b) A way to shut off the error messages (by commenting stuff out)?
> 

Well, there's easy and there's hard...

Easy: you can tell MILO to limit your memory to a certain amount; this however
is only helpful if the bad memory is at the top of the total installed.

Hard: either modify the kernel to not utilize the offending pages (someplace in
the arch/alpha/mm sources), or modify the LCA machine check handling to ignore
correctible memory errors. The "vector" argument is the machine check "code"
from the table at the end.

Good luck.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Motherboards - LINUX Project
Digital Equipment Corp.                 (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545  Jay.Estabrook@digital.com
-------------------------------------------------------------------------------

Machine checks are of four (4) types, as in the following table:

Code      Reason                  Example or Common Cause
====      ======                  =======================

620     System Correctable        correctable errors in the memory subsystem

630     Processor Correctable     correctable cache and TLB errors

660     System Uncorrectable      unrecoverable memory errors

670     Processor Uncorrectable   unrecoverable cache or TLB errors, or
                                  read of a non-existent I/O space location


  parent reply	other threads:[~1998-06-17 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-17  0:25 2.0.34 + patches && 1 question Christopher Curtis
1998-06-17  3:29 ` Quant-X Alpha Linux Support
1998-06-17  6:16 ` Jay.Estabrook [this message]
1998-06-17 17:34   ` Christopher Curtis
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