Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* unaligned trap messages
@ 1998-11-16 15:39 jmd
  1998-11-16 16:47 ` Robin Stephenson
  1998-11-16 17:33 ` Maurice Hilarius
  0 siblings, 2 replies; 5+ messages in thread
From: jmd @ 1998-11-16 15:39 UTC (permalink / raw)
  To: axp-list@redhat.com

Hi Everyone,
I am getting unaligned trap messages in /var/log/mesages. All of these
are related to X or to an X program (ie GIMP). 

The system;
Cabriolet 275Mhz 2M cache
AHA2940UW
32M (more coming)
Matrox Mill MGA
1-IBM SCSI & 1- Quantum SCSI both 68p
12X Pioneer SCSI CDROM

This is a stock 5.1 Red Hat install. The only eratta for 5.1 is the man
page rpm.

Any ideas?

jeff


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: unaligned trap messages
  1998-11-16 15:39 unaligned trap messages jmd
@ 1998-11-16 16:47 ` Robin Stephenson
  1998-11-17  0:45   ` Bob Taylor
  1998-11-16 17:33 ` Maurice Hilarius
  1 sibling, 1 reply; 5+ messages in thread
From: Robin Stephenson @ 1998-11-16 16:47 UTC (permalink / raw)
  To: axp-list

>>>>> On Mon, 16 Nov 1998 15:39:57 +0000
>>>>> "jmd" == jmd  <jmd@infinet.com> wrote:

jmd> I am getting unaligned trap messages in /var/log/mesages. All of these
jmd> are related to X or to an X program (ie GIMP). 
                                [...]
jmd> Any ideas?

It's `only' a performance problem (and disk space, if your logs get
too big...).  Values need to be aligned on certain boundaries for the
Alpha CPU.  If they're not aligned, it generates a trap, reorders
them, and puts them into the CPU (ie it works around the misalignment
automatically).  To fix it you'll need to get hold of the source code
for whatever's causing the traps and pad the guilty structures to line
their members up on the appropriate boundaries.

-- 
 Robin Stephenson
 Lemon Scented


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: unaligned trap messages
  1998-11-16 15:39 unaligned trap messages jmd
  1998-11-16 16:47 ` Robin Stephenson
@ 1998-11-16 17:33 ` Maurice Hilarius
  1 sibling, 0 replies; 5+ messages in thread
From: Maurice Hilarius @ 1998-11-16 17:33 UTC (permalink / raw)
  To: axp-list

With regards to your message at 03:39 PM 11-16-98 +0000, jmd. Where you
stated:
>Hi Everyone,
>I am getting unaligned trap messages in /var/log/mesages. All of these
>are related to X or to an X program (ie GIMP). 
>
>The system;
>Cabriolet 275Mhz 2M cache
>AHA2940UW
>32M (more coming)
>Matrox Mill MGA
>1-IBM SCSI & 1- Quantum SCSI both 68p
>12X Pioneer SCSI CDROM
>
>This is a stock 5.1 Red Hat install. The only eratta for 5.1 is the man
>page rpm.
>
>Any ideas?
I would get all the update RPMs from the Red Hat site or a mirror. There
are a few bugs in stock 5.1


Best regards,

  Maurice W. Hilarius                   Telephone: 01-403-414-9319
  Hard Data Ltd.                      **FAX:       01-403-456-1510
  11060 - 166 Avenue                    email:maurice@harddata.com
  Edmonton, AB, Canada  - T5X 1Y3       http://www.harddata.com
  


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: unaligned trap messages
  1998-11-16 16:47 ` Robin Stephenson
@ 1998-11-17  0:45   ` Bob Taylor
  1998-11-17  8:59     ` philb
  0 siblings, 1 reply; 5+ messages in thread
From: Bob Taylor @ 1998-11-17  0:45 UTC (permalink / raw)
  To: axp-list

In message <m3emr3k2jl.fsf@fnord.blackwell.co.uk>, Robin Stephenson writes:
> >>>>> On Mon, 16 Nov 1998 15:39:57 +0000
> >>>>> "jmd" == jmd  <jmd@infinet.com> wrote:
> 
> jmd> I am getting unaligned trap messages in /var/log/mesages. All of these
> jmd> are related to X or to an X program (ie GIMP). 
>                                 [...]
> jmd> Any ideas?
> 
> It's `only' a performance problem (and disk space, if your logs get
> too big...).  Values need to be aligned on certain boundaries for the
> Alpha CPU.  If they're not aligned, it generates a trap, reorders
> them, and puts them into the CPU (ie it works around the misalignment
> automatically).  To fix it you'll need to get hold of the source code
> for whatever's causing the traps and pad the guilty structures to line
> their members up on the appropriate boundaries.

Have I been under a false understanding? I *thought* that the compiler
was responsible for aligning (where needed) structures.

Bob

-- 
+---------------------------------------------------------------+
| Bob Taylor             Email: brtaylor@inreach.com            |
|---------------------------------------------------------------|
| Like the ad says, at 300 dpi you can tell she's wearing a     |
| swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you   |
| can tell it's painted on. I suppose at 2400 dpi you can tell  |
| if the paint is giving her a rash. (So says Joshua R. Poulson)|
+---------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: unaligned trap messages
  1998-11-17  0:45   ` Bob Taylor
@ 1998-11-17  8:59     ` philb
  0 siblings, 0 replies; 5+ messages in thread
From: philb @ 1998-11-17  8:59 UTC (permalink / raw)
  To: axp-list

Bob Taylor <brtaylor@inreach.com> wrote:

>Have I been under a false understanding? I *thought* that the compiler
>was responsible for aligning (where needed) structures.

Normally yes, but you can play games with pointer casts and go behind its back.

p.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-11-17 10:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-16 15:39 unaligned trap messages jmd
1998-11-16 16:47 ` Robin Stephenson
1998-11-17  0:45   ` Bob Taylor
1998-11-17  8:59     ` philb
1998-11-16 17:33 ` Maurice Hilarius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox