Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: jestabro@amt.tay1.dec.com <jestabro@amt.tay1.dec.com>
Subject: Re: Unaligned Traps - have they been turned off !!!!
Date: Fri, 03 Oct 1997 12:00:37 +0500	[thread overview]
Message-ID: <199710031600.MAA00903@linux03.amt.tay1.dec.com> (raw)
In-Reply-To: <34350448.9B240178@voicenet.com>

>>> Uncle George said:
>
> I get the impression that unaligned (quadword ) fetches have been fixed
> so that the kern will always attempt to fix the alignment prob (silently).

Well, not just quadword, longword (4 bytes) as well.

And not totally silently; look at the code, it typically logs 4 messages
out of every 5 seconds worth of unaligned traps.

> I have been trying to figure a run-away PC, and have been able to trace
> it to a ldq a1,0(t1) where t1=0x12049123c. apparently (the kern tries)
> fixing this coding error, does not work as expected, and (apparently )
> plugs 0(t1) -1  into the pc.

Are you using alpha-patches-2.0.30-0.1 in your kernel? If so, I think there
was a patch to fix this problem a while ago; it involved fixing a bug in the
trap handling introduced by the EM86 patches. Look around in the axp-list
archives, see if you can find it.

> 1) has unaligned error messages been turned off on the axp ( kern 2.0.30)
>    I occasionally did get them - but now I haven't seen them lately

No, I don't think they've been turned off, they just don't all get logged
(see above; code is in arch/alpha/kernels/traps.c:do_entUnaUser()).

--Jay++

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

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (508) 952-4202 or (DTN) 227-4202
151 Taylor Street - TAY1-2              enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-10-03  7:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <34350448.9B240178@voicenet.com>
1997-10-03  7:00 ` jestabro [this message]
1997-10-03 14:42 Unaligned Traps - have they been turned off !!!! Uncle George
     [not found] <3438F78E.FA0780F2@voicenet.com>
1997-10-06 14:21 ` Stephen Zedalis
1997-10-06 16:57 ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
1997-10-06 14:37 Uncle George
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