* 2.0.34 + patches && 1 question
@ 1998-06-17 0:25 Christopher Curtis
1998-06-17 3:29 ` Quant-X Alpha Linux Support
1998-06-17 6:16 ` Jay.Estabrook
0 siblings, 2 replies; 4+ messages in thread
From: Christopher Curtis @ 1998-06-17 0:25 UTC (permalink / raw)
To: axp-list
Hey gang,
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)
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)?
thanks,
--
Christopher Curtis - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology - System Administrator, Programmer
Melbourne, Florida USA - http://www.lp.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.0.34 + patches && 1 question
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
1 sibling, 0 replies; 4+ messages in thread
From: Quant-X Alpha Linux Support @ 1998-06-17 3:29 UTC (permalink / raw)
To: axp-list
Hi Christopher !
> a) A method to mark this memory "bad/used" at boot time?
Not really. Replace bad memory.
I used "set_bit(PG_reserved, &mem_map[MAP_NR(addr)].flags)" long time ago
in arch/i386/mm/init.c for a special 386-system; should
work similar on AXP systems.
--
Quant-X Service & Ph: (+43) 4212 6004-0
Consulting Ges.m.b.H. Fax: (+43) 4212 600420
http://www.quant-x.com Email: support@quant-x.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.0.34 + patches && 1 question
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
1998-06-17 17:34 ` Christopher Curtis
1 sibling, 1 reply; 4+ messages in thread
From: Jay.Estabrook @ 1998-06-17 6:16 UTC (permalink / raw)
To: axp-list
>>> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.0.34 + patches && 1 question
1998-06-17 6:16 ` Jay.Estabrook
@ 1998-06-17 17:34 ` Christopher Curtis
0 siblings, 0 replies; 4+ messages in thread
From: Christopher Curtis @ 1998-06-17 17:34 UTC (permalink / raw)
To: axp-list
On Wed, 17 Jun 1998 Jay.Estabrook@digital.com wrote:
> 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.
Ack. Me no like.
> 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.
That's what I did, thanks. Just wanted to make sure I was going about
things alright. For anyone interested, all I did was
*) Edit arch/alpha/kernel/lca.c
*) Search for lca_machine_check
*) Recognize (blah)ECC_C in the switch
*) Add "if( blah.code != (blah)ECC_C )" ahead of the next loop/if/switch.
This looks like a good place to put in a bit-filter. =)
--
Christopher Curtis - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology - System Administrator, Programmer
Melbourne, Florida USA - http://www.lp.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-06-17 17:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1998-06-17 17:34 ` Christopher Curtis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox