From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id C35A02EFEA for ; Thu, 26 Jul 2001 09:33:13 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f6QDQuG23896 for axp-list@listman.redhat.com; Thu, 26 Jul 2001 09:26:56 -0400 Received: from zcamail05.zca.compaq.com (zcamail05.zca.compaq.com [161.114.32.105]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f6QDQug23892 for ; Thu, 26 Jul 2001 09:26:56 -0400 Received: by zcamail05.zca.compaq.com (Postfix, from userid 12345) id 94DEF8E2; Thu, 26 Jul 2001 06:36:53 -0700 (PDT) Received: from mailrelay01.cce.cpqcorp.net (mailrelay01.cce.cpqcorp.net [16.47.68.171]) by zcamail05.zca.compaq.com (Postfix) with ESMTP id 5C5D990C for ; Thu, 26 Jul 2001 06:36:53 -0700 (PDT) Received: by mailrelay01.cce.cpqcorp.net (Postfix, from userid 12345) id 75A80612; Thu, 26 Jul 2001 08:33:06 -0500 (CDT) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by mailrelay01.cce.cpqcorp.net (Postfix) with ESMTP id 2FC314C5 for ; Thu, 26 Jul 2001 08:33:06 -0500 (CDT) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.9.3/8.9.3) id JAA19084 for axp-list@redhat.com; Thu, 26 Jul 2001 09:29:28 -0400 Date: Thu, 26 Jul 2001 09:29:28 -0400 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: Unaligned accesses Message-ID: <20010726092928.A19079@linux04.mro.cpqcorp.net> Mail-Followup-To: axp-list@redhat.com References: <3B5E197B.50ED0967@iplink.net> <20010725114713.C17679@linux04.mro.cpqcorp.net> <3B5F2EFD.1440F426@Iplink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <3B5F2EFD.1440F426@Iplink.net>; from alvin@iplink.net on Wed, Jul 25, 2001 at 03:41:33PM -0500 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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 -----------------------------------------------------------------------------