Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Matt Burke <burkema@RoseVC.Rose-Hulman.Edu>
To: axp-list@redhat.com
Subject: Re: netstat
Date: Mon, 25 May 1998 23:18:56 -0500	[thread overview]
Message-ID: <356A42B0.A5661C77@rosevc.rose-hulman.edu> (raw)
In-Reply-To: Pine.LNX.3.96.980525095226.24982B-100000@nanaimo.island.net

> > I'm running RH5.0 on a UDB and getting
> >
> >   netstat(272): unaligned trap at 0000000000000029: 000000011ffff87c 2d 10
> >   netstat(272): unaligned trap at 0000000000000029: 000000011ffff88c 2d 10
> >   netstat(272): unaligned trap at 0000000000000029: 000000011ffff87c 2d 10
> >   netstat(272): unaligned trap at 0000000000000029: 000000011ffff88c 2d 10
> 
> Get the net-tools update SRPM (net-tools-1.41-2.src.rpm) and build it on
> your system.

Also, it should be pointed out that unaligned traps are not very serious
problems. The following is taken from known bugs section of the
Alpha/Linux FAQ at <http://www.azstarnet.com/~axplinux/FAQ.html>:

-----------------------------

Unaligned accesses:

       The Alpha, like all real RISC CPUs, requires that memory accesses
are naturally aligned. For example, reading a 4 byte integer from memory
requires that the address of the integer be a multiple of 4. Similarly,
8 byte integers need to start at an address that is a multiple of 8. If
the CPU attempts to access a word that is not properly aligned, the CPU
will trap into the kernel and issue a warning message. The kernel will
then go ahead and emulate the unaligned access so that the user-level
process executes as if nothing had happened (except for a substantial
slow-down due to the fault).

       Typically, an unaligned fault message looks like this: 

              X(26738): unaligned trap at 000000012004b6f0:
00000001401b20ca 28 1
                      
       What this means is that the process executing command X (the X11
server) with process id 26738 caused an unaligned fault accessing
address 0x1401b20ca. This access was performed by the instruction
located at address 0x12004b6f0. The other numbers are less important,
but if you check the kernel sources, you'll find that they tell you more
info on what kind of instruction caused the fault (e.g., a load vs. a
store).

       You do not need to be overly alarmed when seeing such a message.
The program causing the faults will work correctly. Eventually, all
unaligned accesses will be fixed, but in the meantime, just ignore these
messages (if you're a programmer, please take a minute and fix the
source of the unaligned access instead...).


--
 Matt


  reply	other threads:[~1998-05-26  4:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-19 15:46 ipfwadm & kernel Bruce, Stephen
1998-05-22 22:45 ` Todd Fleisher
1998-05-25 16:32   ` netstat Colin Coller
1998-05-25 17:01     ` netstat Jim Bourne
1998-05-26  4:18       ` Matt Burke [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-04-27 16:33 netstat Joakim Roubert
1998-04-28  7:28 ` netstat Ian Grant
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