From: Tom Holroyd <tomh@nibh.go.jp>
To: Jay.Estabrook@digital.com
Cc: axp-list@redhat.com
Subject: Re: Corrected ECC error hangs system (2.2)
Date: Thu, 11 Mar 1999 13:54:18 +0900 (JST) [thread overview]
Message-ID: <Pine.LNX.3.96.990311132659.956A-100000@bhalpha1.nibh.go.jp> (raw)
In-Reply-To: <199903102001.PAA01411@alpha1.estabrook.org>
On Wed, 10 Mar 1999 Jay.Estabrook@digital.com wrote:
>>>> Tom Holroyd said:
>> I'm getting a CIA machine check, vector 0x660, reason = 0x21E = corrected
>> ECC error (this is with pc164 MILO, which uses the eb164 codes, yes?).
>>
>> The trouble is I get an infinite number of them in a row, so apparently,
>> the error is not getting cleared before the handler returns.
>
>Was this with the latest MILO, ie from RH 5.2?
That's a good question. The version of MILO I have says PC164, built
against 2.0.35, Oct. 8. I downloaded it from somewhere inside Digital's
ftp pages; all I remember about that is that the HOWTO points at the wrong
place, and the latest milos are well hidden. The old one I had didn't
work with the latest kernels, this one does. I did have to experiment a
bit because the manual for my box claims it's an AlphaPC164LX, but the
lx164 milos don't work. Anyhow, it certainly has a 21172...
>> I'm assuming of course that this machine check is safe to ignore?
>
>Yes, except when it takes over the machine, of course... :-\
Well, what I did this morning was to clear the COR_ERR bit in the ERR_MASK
register, which means the 21172 will ignore corrected ECC errors. That
seems to have eliminated the problem (at least for now). However, that's
really just a band-aid -- the real problem is that the error wasn't
handled properly in the first place -- it wasn't cleared, and when the
handler returned it was getting called again instantly, locking the
machine. I may experiment later with the proper way to clear the error
(writing zero to the CIA_ERR register is supposed to do it, and that
isn't being done). At least, I could print out the symptom byte, though
I don't know what good that would do. But ignoring it works.
>> Oddly, it's semi-reproducible -- it happens while writing to SCSI disk
>> through an adaptec controller, so perhaps I have a problem there, although
>> I swapped the adaptec for an identical one and the machine check is still
>> reproducible with dd if=/dev/zero of=/tmp/moo count=large over and over.
>> (I only have one internal disk.)
>
>Which Adaptec? kernel?
This is with an Adaptec 2940UW (though I have only narrow devices. :-(
I've had the lockup occur with both 2.0.32 and 2.2.3, and a few others in
between. Not surprising, since the cia_machine_check() routine hasn't
changed much.
The funny thing is the machine check code is coming back as a (platform
specific) MCHK_K_CIA_0 (0x21E) rather than a MCHK_K_ECC_C. The 0x21E
corresponds to IRQ0, IPL 20, according to platform.h. Perhaps it's
not really an ECC error, but some spurious interrupt? In any case the
palcode seems to handle this the wrong way; the code that sets
MCHK_K_ECC_C is never getting called -- but I have no idea what's going on
throughout most of the palcode, so maybe this is correct. :-)
Dr. Tom Holroyd
I would dance and be merry,
Life would be a ding-a-derry,
If I only had a brain.
-- The Scarecrow
prev parent reply other threads:[~1999-03-11 5:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-10 11:06 Corrected ECC error hangs system (2.2) Tom Holroyd
1999-03-10 20:01 ` Jay.Estabrook
1999-03-11 4:54 ` Tom Holroyd [this message]
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