Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@sonera.fi>
To: bryan@terran.org
Cc: axp-list@redhat.com
Subject: Re: Debugging unaligned traps
Date: Sat, 11 Jul 1998 14:12:00 +0300 (EEST)	[thread overview]
Message-ID: <19980711111203Z92216-5230+1@mea.tmt.tele.fi> (raw)
In-Reply-To: <Pine.LNX.3.96.980711004751.3111B-100000@earth.terran.org> from "B. James Phillippe" at "Jul 11, 98 00:57:16 am"

> Hello,
> 
> 	I'd like to learn more about finding and fixing unaligned traps on
> Linux/Alpha.  I'm an accomplished C programmer, but frankly have very
> little know-how on AXP.  I understand the concepts and principles behind
> what an unaligned access is, and I can recognize it in the code if I know
> where to look.  My main hurdle now is knowing where to look.  I understand
> that the two addresses printed in the printk are 1.) the address improperly
> accessed, and 2.) the address of the accessor.  What do the other values
> represent, and how could I use gdb to find the offending line(s) of code?
> I've done some net searches, but turned up very little.

Looking into the kernel sources would have told you something too..

Lets have an example:

X(31263): unaligned trap at 000000012004e50c: 000000012076ddb2 28 1

This means that program called X (pid 31263) has done unaligned
access with Alpha instruction 0x28 (LDL -- 32-bit load) on PC address
0x12004e50c while loading from  0x12076ddb2 into integer register 1.

> thanks,
> -bp
> --
> B. James Phillippe <bryan@terran.org>

/Matti Aarnio <matti.aarnio@sonera.fi>


  reply	other threads:[~1998-07-11 11:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-11  7:57 Debugging unaligned traps B. James Phillippe
1998-07-11 11:12 ` Matti Aarnio [this message]
1998-07-12  9:17   ` Quant-X Alpha Linux Support
1998-07-11 11:39 ` Maciej W. Rozycki
  -- strict thread matches above, loose matches on Subject: below --
1998-07-12 17:43 BT-958 = IRQ 24??? Jay.Estabrook
1998-07-13  3:26 ` debugging unaligned traps Tom Holroyd
1998-07-13  4:26   ` Quant-X Alpha Linux Support
1998-07-13 10:24   ` Tom Holroyd
1998-07-13 14:35     ` Quant-X Alpha Linux Support
1998-07-13 22:54       ` Steven N. Hirsch
1998-07-14  0:32         ` Quant-X Alpha Linux Support
1998-07-14 14:53       ` Jason Lavoie
1998-07-14 18:20         ` Quant-X Alpha Linux Support
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