From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: axp-list@redhat.com
Subject: Re: Unaligned accesses
Date: Thu, 26 Jul 2001 09:29:28 -0400 [thread overview]
Message-ID: <20010726092928.A19079@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <3B5F2EFD.1440F426@Iplink.net>; from alvin@iplink.net on Wed, Jul 25, 2001 at 03:41:33PM -0500
On Wed, Jul 25, 2001 at 03:41:33PM -0500, alvin wrote:
>
> Any quick pointer to the rule that is used for deciding
> what to flag and not?
I think it is more of a "print max of 4 every so many seconds", rather
than a decision... ;-}
As Chris said, the pertinent code is in arch/alpha/kernel/traps.c
> but my feeling is that if there are a number of unaligned
> accesses that are back to back that is when the code breaks.
>
> The effect that I am seeing is that a 2 byte variable is not getting
> both bytes updated reliably. This problem appears or goes away depending
> on the alignment of the data.
>
>
> > So, a little more about the problem you saw, and the machine you are
> > running on, please...
>
> I am running this on 2 systems a UP1100(last to show the problem) and a
> noname.
> They are running serial consoles with RedHat 6.2 and kernel version:
>
> Linux version 2.2.19-6.2.1 (root@sws1) (gcc version egcs-2.91.66
> 19990314/Linux (egcs-1.1.2 release)) #6 Thu Jul 5 02:22:34 EDT 2001
OK; first off, you'll not get the EGCS 1.1.2 compiler fixed for this, if
it turns out to be the compiler's fault.
Second, if you can make a small test program that shows the problem under
EGCS, then we can do two things:
1. suggest work-around code for EGCS
2. test the latest compilers to make sure that it is fixed in them
Good luck.
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
next prev parent reply other threads:[~2001-07-26 13:33 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-25 0:02 Archives on www.lib.uaa.alaska.edu Mike Tibor
2001-07-25 0:04 ` James Fowler
2001-07-25 1:41 ` Larry Snyder
2001-07-25 20:28 ` Mike Tibor
2001-07-25 0:57 ` Unaligned accesses alvin
2001-07-25 15:47 ` Jay Estabrook
2001-07-25 20:41 ` alvin
2001-07-25 21:08 ` Christopher C. Chimelis
2001-07-25 21:15 ` Michal Jaegermann
2001-07-26 12:39 ` Ivan Kokshaysky
2001-07-26 12:40 ` Ivan Kokshaysky
2001-07-26 13:29 ` Jay Estabrook [this message]
2001-07-26 17:21 ` alvin
2001-07-26 18:45 ` Frank Palmieri
2001-07-27 2:17 ` 164SX memory Eric Brown
2001-07-27 4:48 ` kirk uriksun
2001-07-27 5:18 ` Maurice Hilarius
2001-08-06 9:59 ` Iso-H
2001-08-06 12:33 ` Rich Payne
2001-08-06 12:52 ` Iso-H
-- strict thread matches above, loose matches on Subject: below --
2001-07-25 11:56 Unaligned accesses Rick Gorton
1998-07-05 0:54 B. James Phillippe
1997-09-23 9:39 Sheer Panic
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