From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id 7D40A3F769 for ; Wed, 16 Oct 2002 21:49:44 -0400 (EDT) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id g9H1nib03029 for axp-list@listman.redhat.com; Wed, 16 Oct 2002 21:49:44 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id g9H1nhf03020 for ; Wed, 16 Oct 2002 21:49:44 -0400 Received: from mylaptop.gatworks.com (pool-68-161-17-137.ny325.east.verizon.net [68.161.17.137]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id g9H1T0w12414 for ; Wed, 16 Oct 2002 21:29:00 -0400 Received: from voicenet.com (mylaptop.gatworks.com [127.0.0.1]) by mylaptop.gatworks.com (8.11.6/8.11.6) with ESMTP id g9H1lwv02756 for ; Wed, 16 Oct 2002 21:47:59 -0400 Message-ID: <3DAE16CE.93DBCF71@voicenet.com> Date: Wed, 16 Oct 2002 21:47:58 -0400 From: Uncle George X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.18-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: unaligned traps question References: <01da01c273e4$d5c57320$35de2b09@Viswanadha> <3DAB7754.F6F5D8B0@voicenet.com> <02101511393604.01593@shadowfax.middleearth> <20021015104643.A19134@ellpspace.math.ualberta.ca> <3DAC5D76.3060101@iplink.net> <3DAC6EF2.BC962839@voicenet.com> <3DADACDB.8000401@iplink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: This has the smell of being possible. I you have a (older) machine that was unable to fetch bytes/shorts because there was no machine lang instructions to do so. The gcc compiler would have to generate the appropriate extract/insert code for each usage of byte/short. Not sure how the code would handle the odd address though. But none-the-less those kernels would only see faults for ints,or longs ( as there were no short fetches on a machine level ) Now there are machines that can fetch shorts, and bytes on a single instruction level. I suspect that there wont be an alignment problem with byte, but there is the possibility that the alignment fault correction code in the kernel as it relates to the new 'short' load/store's may not have been extensively tested. A Hypothesis to be sure. In either case, can u post some of the particulars. ie machine type, gcc version, gcc compile options? /gat BTW do u get an alignment messages in syslogd's /var/log/messages file? alvin wrote: > > > I spent a lot of time tracking this one down and could only come to the > conclusion that the unaligned trap handler was not working correctly.