Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* kernnel error??
@ 1998-04-30  1:50 Michael Chao
  1998-04-30  2:13 ` Paul Mezzanini
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Chao @ 1998-04-30  1:50 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

I have RedHat 5.0 on my DEC UDB.
I got the 2.0.33 source and try to recompile it on UDB.
After I reboot, everything seems fine, but there is a error message appears.

kernel: unaligned trap at fffffc00003903a0:fffffc00004ae11 29 2

Can anybody tell me what is going wrong??
How to fix this error??

[-- Attachment #2: Type: text/html, Size: 1458 bytes --]

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

* Re: kernnel error??
  1998-04-30  1:50 kernnel error?? Michael Chao
@ 1998-04-30  2:13 ` Paul Mezzanini
  1998-04-30  2:26   ` Ian Kinner
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Mezzanini @ 1998-04-30  2:13 UTC (permalink / raw)
  To: axp-list

I get the exact same error... I think it has something to do with em86
but i'm not sure.  Sofar, I've just lived with it, but if anyone out
there can help us out, Please do!  I'm sure its not helping performance
and I need all I can get out of this UDB :)


mezz


At 09:50 AM 4/30/98 +0800, you wrote: 

>>>>

<excerpt><fontfamily><param>Times New Roman</param>I have RedHat 5.0 on
my DEC UDB.

I got the 2.0.33 source and try to recompile it on UDB.

After I reboot, everything seems fine, but there is a error message
appears.

</fontfamily>  

<fontfamily><param>Times New Roman</param>kernel: unaligned trap at
fffffc00003903a0:fffffc00004ae11 29 2

</fontfamily>  

<fontfamily><param>Times New Roman</param>Can anybody tell me what is
going wrong??

How to fix this error??

</fontfamily>

</excerpt><<<<<<<<




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

An idle CPU is the workstation of the Devil.


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

* Re: kernnel error??
  1998-04-30  2:13 ` Paul Mezzanini
@ 1998-04-30  2:26   ` Ian Kinner
  1998-04-30  2:40     ` Paul Mezzanini
  0 siblings, 1 reply; 8+ messages in thread
From: Ian Kinner @ 1998-04-30  2:26 UTC (permalink / raw)
  To: axp-list

At 10:13 PM 4/29/98 -0400, you wrote:


I have recieved the same error in kernels 2.1.86 - 2.1.98, and I don't
run em86. It only occours when I first boot the machine..


>>>> 

<excerpt>I get the exact same error... I think it has something to do
with em86 but i'm not sure.  Sofar, I've just lived with it, but if
anyone out there can help us out, Please do!  I'm sure its not helping
performance and I need all I can get out of this UDB :)


mezz


At 09:50 AM 4/30/98 +0800, you wrote: 

>>>>

<excerpt><fontfamily><param>Times New Roman</param>I have RedHat 5.0 on
my DEC UDB.

I got the 2.0.33 source and try to recompile it on UDB.

After I reboot, everything seems fine, but there is a error message
appears.

</fontfamily>  

<fontfamily><param>Times New Roman</param>kernel: unaligned trap at
fffffc00003903a0:fffffc00004ae11 29 2

</fontfamily>  

<fontfamily><param>Times New Roman</param>Can anybody tell me what is
going wrong??

How to fix this error??

</fontfamily>

</excerpt><<<<<<<<




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

An idle CPU is the workstation of the Devil.

--  To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



</excerpt><<<<<<<<



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

* Re: kernnel error??
  1998-04-30  2:26   ` Ian Kinner
@ 1998-04-30  2:40     ` Paul Mezzanini
  1998-04-30 11:26       ` Pablo A. Godel
  0 siblings, 1 reply; 8+ messages in thread
From: Paul Mezzanini @ 1998-04-30  2:40 UTC (permalink / raw)
  To: axp-list

that blows my theory away  :)   I get them whenever i run emulated
programs (like rftpd, one of the ftp deamons i'm running) and on some
other things.  eg.  IPX threw them like mad, but I took it out and it
calmed down.


At 09:26 PM 4/29/98 -0500, you wrote:

>>>> 

At 10:13 PM 4/29/98 -0400, you wrote:


I have recieved the same error in kernels 2.1.86 - 2.1.98, and I don't
run em86. It only occours when I first boot the machine..


>>>> 

<excerpt>I get the exact same error... I think it has something to do
with em86 but i'm not sure.  Sofar, I've just lived with it, but if
anyone out there can help us out, Please do!  I'm sure its not helping
performance and I need all I can get out of this UDB :)


mezz


At 09:50 AM 4/30/98 +0800, you wrote: 

>>>>

<excerpt><fontfamily><param>Times New Roman</param>I have RedHat 5.0 on
my DEC UDB.

I got the 2.0.33 source and try to recompile it on UDB.

After I reboot, everything seems fine, but there is a error message
appears.

</fontfamily>  

<fontfamily><param>Times New Roman</param>kernel: unaligned trap at
fffffc00003903a0:fffffc00004ae11 29 2

</fontfamily>  

<fontfamily><param>Times New Roman</param>Can anybody tell me what is
going wrong??

How to fix this error??

</fontfamily>

</excerpt></excerpt>



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

An idle CPU is the workstation of the Devil.


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

* Re: kernnel error??
  1998-04-30 11:47 Philippe Girolami
@ 1998-04-30  6:28 ` jestabro
  0 siblings, 0 replies; 8+ messages in thread
From: jestabro @ 1998-04-30  6:28 UTC (permalink / raw)
  To: axp-list


>>> "Philippe Girolami" said:
> 
> I was told a few weeks earlier by someone on this list to just comment out
> the line that prints the message in traps.c and that works just fine...
> I'm wondering if it wouldn't it be possible to just not trap that
> exception? I suppose performance decreases pretty badly when you have four
> of those every five seconds...

1. you MUST trap the exception; I'm not sure there's any way to avoid it, 
   but you wouldn't want to, would you? Think about it...

2. it only *prints* four messages every five seconds, it may be *taking*
   a whole bunch more (check out the code in arch/alpha/traps.c:do_entUnaUser).

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools - LINUX Project
Digital Equipment Corp.                 (978) 506-4202 or (DTN) 226-4202
151 Taylor Street - TAY1-2              enet: Jay.Estabrook@digital.com
Littleton, MA 01460-1407
-------------------------------------------------------------------------------





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

* Re: kernnel error??
  1998-04-30  2:40     ` Paul Mezzanini
@ 1998-04-30 11:26       ` Pablo A. Godel
  1998-04-30 12:11         ` Mark Conway Wirt
  0 siblings, 1 reply; 8+ messages in thread
From: Pablo A. Godel @ 1998-04-30 11:26 UTC (permalink / raw)
  To: axp-list

Paul Mezzanini wrote:

> that blows my theory away :) I get them whenever i run emulated programs (like rftpd, one of the ftp deamons i'm running) and on some other things. eg. IPX threw them like mad, but I took it out and it calmed down.
>
> I have recieved the same error in kernels 2.1.86 - 2.1.98, and I don't run em86. It only occours when I first boot the machine..

It's not related to em86 specific.  Somebody told me that it's related to a 32 Bit memory allocation problem, or something like that. If a program is trying to allocate memory in 32bit mode, the kernel has to relocate with the 64 bit allocation model.

Regards,
Pablo Godel

--
-----------------------------------------------
The Internation Website Construction Co. (IWCC)
           http://www.iwcc.com.ar
Miami  -  Sao Paulo   -   Buenos Aires  -  Lima
-----------------------------------------------



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

* Re: kernnel error??
@ 1998-04-30 11:47 Philippe Girolami
  1998-04-30  6:28 ` jestabro
  0 siblings, 1 reply; 8+ messages in thread
From: Philippe Girolami @ 1998-04-30 11:47 UTC (permalink / raw)
  To: axp-list


> It's not related to em86 specific.  Somebody told me that it's related to
a 32 Bit memory allocation problem, or something like that. If a program is
trying to allocate memory in 32bit mode, the kernel has to relocate with
the 64 bit allocation model.
Yes that's what I heard too.  I have the same problem here on an avanti
with kernel 2.0.33 and patches.  It didn't used to happen with 2.0.30 (hint
hint...)
I was told a few weeks earlier by someone on this list to just comment out
the line that prints the message in traps.c and that works just fine...
I'm wondering if it wouldn't it be possible to just not trap that
exception? I suppose performance decreases pretty badly when you have four
of those every five seconds...

Philippe Girolami


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

* Re: kernnel error??
  1998-04-30 11:26       ` Pablo A. Godel
@ 1998-04-30 12:11         ` Mark Conway Wirt
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Conway Wirt @ 1998-04-30 12:11 UTC (permalink / raw)
  To: axp-list

On Thu, 30 Apr 1998, Pablo A. Godel wrote:

> > I have recieved the same error in kernels 2.1.86 - 2.1.98, and I don't
> run em86. It only occours when I first boot the machine.. 
> 
> It's not related to em86 specific.  Somebody told me that it's related
> to a 32 Bit memory allocation problem, or something like that. If a
> program is trying to allocate memory in 32bit mode, the kernel has to
> relocate with the 64 bit allocation model. 


From the Alpha FAQ:

"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...)."

--Mark


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

end of thread, other threads:[~1998-04-30 15:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-30  1:50 kernnel error?? Michael Chao
1998-04-30  2:13 ` Paul Mezzanini
1998-04-30  2:26   ` Ian Kinner
1998-04-30  2:40     ` Paul Mezzanini
1998-04-30 11:26       ` Pablo A. Godel
1998-04-30 12:11         ` Mark Conway Wirt
  -- strict thread matches above, loose matches on Subject: below --
1998-04-30 11:47 Philippe Girolami
1998-04-30  6:28 ` jestabro

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