From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 4353 invoked from network); 17 Jun 1998 15:15:37 -0000 Received: from mail11.digital.com (192.208.46.10) by mail2.redhat.com with SMTP; 17 Jun 1998 15:15:37 -0000 Received: from tparch.tay1.dec.com (tparch.tay1.dec.com [16.119.0.10]) by mail11.digital.com (8.8.8/8.8.8/WV1.0f) with SMTP id LAA25149 for ; Wed, 17 Jun 1998 11:15:24 -0400 (EDT) Received: from ives.amt.tay1.dec.com by tparch.tay1.dec.com (5.65/MS-010395) id AA06793; Wed, 17 Jun 1998 11:30:19 -0400 Received: from linux03.hlo.dec.com by ives.amt.tay1.dec.com; (5.65v3.2/1.1.7.2/05Oct95-1258PM) id AA26060; Wed, 17 Jun 1998 11:15:17 -0400 Received: from linux03 (localhost [127.0.0.1]) by linux03.hlo.dec.com (8.8.5/8.8.5) with ESMTP id LAA05005 for ; Wed, 17 Jun 1998 11:16:26 -0400 Message-Id: <199806171516.LAA05005@linux03.hlo.dec.com> X-Mailer: exmh version 1.6.9 05/05/96 To: axp-list@redhat.com From: Jay.Estabrook@digital.com Subject: Re: 2.0.34 + patches && 1 question In-Reply-To: Your message of Tue, 16 Jun 1998 20:25:54 -0400. Mime-Version: 1.0 Content-Type: text/plain Date: Wed, 17 Jun 1998 11:16:26 +0500 Sender: jestabro@amt.tay1.dec.com >>> 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