Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* UNALIGNED TRAPS!!!!!!!?
@ 1996-09-11 17:15 C. Thatcher
  0 siblings, 0 replies; 6+ messages in thread
From: C. Thatcher @ 1996-09-11 17:15 UTC (permalink / raw)


I've got going on the Redhat 3.0.3 installation, all the way into the actual
setup program.  Hoooraaahh!  However, when I try 'ls' in MILO on any HDisk
or run FDISK, from VConsole2, i get 'unaligned trap at ...' errors.

-----------------------------------------------------------------------------
In MILO (running ls on a hdisk device) and starting up Fdisk I get:

kernel: unaligned trap at 'big HEX number': 'big HEX number' 28 3
kernel: unaligned trap at 'big HEX number': 'big HEX number' 28 2

Has anyone seen these.  They don't seem to panic the kernel but they keep
popping up!  Are they a sign of danger?

Please help....[Thanks in advance]

Chad.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: UNALIGNED TRAPS!!!!!!!?
@ 1996-09-11 18:02 David Mosberger-Tang
  0 siblings, 0 replies; 6+ messages in thread
From: David Mosberger-Tang @ 1996-09-11 18:02 UTC (permalink / raw)


>>>>> On Wed, 11 Sep 1996 18:48:22 GMT, David A Rusling <rusling@linux.reo.dec.com> said:

  David> Don't Panic!  They are what they sound like, unaligned
  David> accesses (eg read 32 bits from address 0xXXX2).  The kernel
  David> is just muttering rather than complaining as it has to fix
  David> them up - don't forget that early AXP CPUs cannot do any
  David> memory access other than 32 bit aligned ones...

But wouldn't be nice if somebody who actually uses fdisk would take
the time to fix them?  I think it's wrong to have new users face those
ugly warnings (and turning the warnings off is decidedly the wrong
thing to do).

In fact, with gcc-2.7.x, you can simply declare the offending
structure as "packed" and aligned to 1 byte and gcc will take care of
the rest (I forgot the exact syntax, it's documented as part of the
__attribute__ discussion and it does work---the generated code isn't
efficient, but that hardly matters for fdisk).

Besides, even the newer Alpha chips don't do unaligned accesses in hw.

	--david

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: UNALIGNED TRAPS!!!!!!!?
@ 1996-09-11 18:48 David A Rusling
  0 siblings, 0 replies; 6+ messages in thread
From: David A Rusling @ 1996-09-11 18:48 UTC (permalink / raw)


Don't Panic!

They are what they sound like, unaligned accesses (eg read 32 bits from address 0xXXX2).
The kernel is just muttering rather than complaining as it has to fix them up - don't
forget that early AXP CPUs cannot do any memory access other than 32 bit aligned
ones...

Dave

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* Re: UNALIGNED TRAPS!!!!!!!?
@ 1996-09-11 20:40 C. Thatcher
  0 siblings, 0 replies; 6+ messages in thread
From: C. Thatcher @ 1996-09-11 20:40 UTC (permalink / raw)


Thanks for the quick replies...

David Rusling said --> The kernel is just muttering rather than complaining
as it has to fix...

      Does this slow the kernel's performance?  Will it show up after the
installation aswell?

David Mosberger-Tang --> But wouldn't be nice if somebody who actually uses
fdisk would take...

      It also showed up when I executed 'ls -t msdos hda1' in MILO.  Does
this mean that other programs will         kick up this error?   Oh yes,
also, even though MILO sees hda, fdisk doesn't.  Will a kernel recompile 
      sort this out once the installation is complete?

Thanks...

Chad.

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null

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

* unaligned traps?
  1998-11-19 14:05 Help. Linux support for Powerstorm? y0000218
@ 1998-11-19 17:38 ` Miller, Scott K.
  1998-11-19 19:52   ` Brendan Miller
  0 siblings, 1 reply; 6+ messages in thread
From: Miller, Scott K. @ 1998-11-19 17:38 UTC (permalink / raw)
  To: axp-list

Anybody else get these unaligned traps with netstat -a?  I've seen this
now on both RH5.0/multia and RH5.1/lx.

Log off an AS200 4/233:

Nov 19 09:34:41 simone kernel: netstat(896): unaligned trap at
00000155556b75fc: 000000011ffff4ec 2d 10
Nov 19 09:34:41 simone kernel: netstat(896): unaligned trap at
00000155556b75fc: 000000011ffff4fc 2d 10
Nov 19 09:34:41 simone kernel: netstat(896): unaligned trap at
00000155556b75fc: 000000011ffff4ec 2d 10
Nov 19 09:34:41 simone kernel: netstat(896): unaligned trap at
00000155556b75fc: 000000011ffff4fc 2d 10

skm


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

* Re: unaligned traps?
  1998-11-19 17:38 ` unaligned traps? Miller, Scott K.
@ 1998-11-19 19:52   ` Brendan Miller
  0 siblings, 0 replies; 6+ messages in thread
From: Brendan Miller @ 1998-11-19 19:52 UTC (permalink / raw)
  To: axp-list

On Thu, Nov 19, 1998 at 09:38:33AM -0800, Miller, Scott K. wrote:
> Anybody else get these unaligned traps with netstat -a?  I've seen this
> now on both RH5.0/multia and RH5.1/lx.
> 
> Log off an AS200 4/233:
> 
> Nov 19 09:34:41 simone kernel: netstat(896): unaligned trap at
> 00000155556b75fc: 000000011ffff4ec 2d 10
> Nov 19 09:34:41 simone kernel: netstat(896): unaligned trap at
> 00000155556b75fc: 000000011ffff4fc 2d 10
> Nov 19 09:34:41 simone kernel: netstat(896): unaligned trap at
> 00000155556b75fc: 000000011ffff4ec 2d 10
> Nov 19 09:34:41 simone kernel: netstat(896): unaligned trap at
> 00000155556b75fc: 000000011ffff4fc 2d 10
> 

Not with netstat -a on my 5.1/UDB.  netstat -a is fine for me.

Brendan Miller


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

end of thread, other threads:[~1998-11-19 20:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-11 20:40 UNALIGNED TRAPS!!!!!!!? C. Thatcher
  -- strict thread matches above, loose matches on Subject: below --
1998-11-19 14:05 Help. Linux support for Powerstorm? y0000218
1998-11-19 17:38 ` unaligned traps? Miller, Scott K.
1998-11-19 19:52   ` Brendan Miller
1996-09-11 18:48 UNALIGNED TRAPS!!!!!!!? David A Rusling
1996-09-11 18:02 David Mosberger-Tang
1996-09-11 17:15 C. Thatcher

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