Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* unaligned trap help
@ 1998-12-08  5:00 Timothy K Canfield
  1998-12-08  5:00 ` 97117071
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Timothy K Canfield @ 1998-12-08  5:00 UTC (permalink / raw)


I have recently installed RedHat 5.1 on an as200 4/233 (onsale).  When
configuring the network using DHCP i recieve unaligned trap.  This also
happens whenever I try to view man pages:
# man ls
man(430): unaligned trap at 00000155556c22e8: 00000001201190ac 29 1
Segmentation fault

It my guess that this should pop up in other places, but so far
everything else seems good.

I am using the xl kernel which I used to install.  The machine has 16
megs of memory.  96 of swap.  I'm using the onsale s3 video card and an
4.5 gig atlas.  I'm not running X.

Does anyone know what might be causing this?

thanks, 
tim





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

* Re: unaligned trap help
  1998-12-08  5:00 unaligned trap help Timothy K Canfield
@ 1998-12-08  5:00 ` 97117071
  1998-12-08  5:00 ` Charles E Taylor IV
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 10+ messages in thread
From: 97117071 @ 1998-12-08  5:00 UTC (permalink / raw)
  To: Timothy K Canfield

> Hey there

Simple solution: Check out the updates/ directory of your favorite redhat
mirror and install all the necessary rpms...

Cheers, Tobe





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

* Re: unaligned trap help
  1998-12-08  5:00 unaligned trap help Timothy K Canfield
  1998-12-08  5:00 ` 97117071
@ 1998-12-08  5:00 ` Charles E Taylor IV
  1998-12-17  5:00   ` Mike Powers
  1998-12-14  5:00 ` unaligned trap help - same pb Claude R. CIRBA
  1998-12-17  5:00 ` unaligned trap help Tom Michiels
  3 siblings, 1 reply; 10+ messages in thread
From: Charles E Taylor IV @ 1998-12-08  5:00 UTC (permalink / raw)


In article <8qPBZSm00WB40YO1s0@andrew.cmu.edu>,
	Timothy K Canfield <tkc+@andrew.cmu.edu> writes:
| I have recently installed RedHat 5.1 on an as200 4/233 (onsale).  When
| configuring the network using DHCP i recieve unaligned trap.  This also
| happens whenever I try to view man pages:
| # man ls
| man(430): unaligned trap at 00000155556c22e8: 00000001201190ac 29 1
| Segmentation fault

I'm not sure about the DHCP thing (my Alpha has a static IP address),
but the man segfault you describe is a known problem with the RH5.1
Alpha distribution and has been fixed.  Go to Redhat's site and get
the updated RPMs.

| I am using the xl kernel which I used to install.  The machine has 16
| megs of memory.  96 of swap.  I'm using the onsale s3 video card and an
| 4.5 gig atlas.  I'm not running X.

Get more RAM.  Your AS200 will love you for it. :)

-- 
-----------------------------------------------------------------
Charles E. "Rick" Taylor, IV | Replace "nouce" with "net" to mail
charlet@innova.nouce         |--------| me, but not if it's UCE!
http://orangesherbert.eng.clemson.edu |--------------------------
         *** We got the MRxL, and spammers got none! ***



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

* Re: unaligned trap help - same pb
  1998-12-08  5:00 unaligned trap help Timothy K Canfield
  1998-12-08  5:00 ` 97117071
  1998-12-08  5:00 ` Charles E Taylor IV
@ 1998-12-14  5:00 ` Claude R. CIRBA
  1998-12-22  5:00   ` remove_me
  1998-12-17  5:00 ` unaligned trap help Tom Michiels
  3 siblings, 1 reply; 10+ messages in thread
From: Claude R. CIRBA @ 1998-12-14  5:00 UTC (permalink / raw)


Timothy K Canfield wrote:

> I have recently installed RedHat 5.1 on an as200 4/233 (onsale).  When
> configuring the network using DHCP i recieve unaligned trap.  This also
> happens whenever I try to view man pages:
> # man ls
> man(430): unaligned trap at 00000155556c22e8: 00000001201190ac 29 1
> Segmentation fault
>
> It my guess that this should pop up in other places, but so far
> everything else seems good.
>
> I am using the xl kernel which I used to install.  The machine has 16
> megs of memory.  96 of swap.  I'm using the onsale s3 video card and an
> 4.5 gig atlas.  I'm not running X.
>
> Does anyone know what might be causing this?
>
> thanks,
> tim

Hi,

I also get those :

kernel : unaligned trap at ...... (can get it right if usefull)

when I try to install linux, after I insert the root disk, it seems to
work
fine though and I could go up to install the system, but then when I
use dselect to download the package, I invariably get the following suite
:

+50 ....
+51 ....

appearing on the screen after that everything is hanged, I have to switch
off
I had a scsi-3 to scsi-2 adaptor and thought it was the drive, but then
same thing
is happening with a Jaz drive as install.
I am thinking about changing my memory.

Thks for help,
Claude

--
Claude CIRBA (mailto:pastel@vuse.vanderbilt.edu)
Vanderbilt University
Microelectronics Group
6th Floor Stevenson Center
P.O. Box 1683, Sta. B
Nashville, TN 37235
Tel : (615) 343-6736
Fax : (615) 343-6614






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

* Re: unaligned trap help
  1998-12-08  5:00 ` Charles E Taylor IV
@ 1998-12-17  5:00   ` Mike Powers
  0 siblings, 0 replies; 10+ messages in thread
From: Mike Powers @ 1998-12-17  5:00 UTC (permalink / raw)


Hey, I have the same machine but I am using the avanti kernel.  Should I be
using the xl kernel instead?

Charles E Taylor IV wrote in message <6lbj47.i36.ln@romulus.dyn.ml.org>...
>In article <8qPBZSm00WB40YO1s0@andrew.cmu.edu>,
> Timothy K Canfield <tkc+@andrew.cmu.edu> writes:
>| I have recently installed RedHat 5.1 on an as200 4/233 (onsale).  When
>| configuring the network using DHCP i recieve unaligned trap.  This also
>| happens whenever I try to view man pages:
>| # man ls
>| man(430): unaligned trap at 00000155556c22e8: 00000001201190ac 29 1
>| Segmentation fault
>
>I'm not sure about the DHCP thing (my Alpha has a static IP address),
>but the man segfault you describe is a known problem with the RH5.1
>Alpha distribution and has been fixed.  Go to Redhat's site and get
>the updated RPMs.
>
>| I am using the xl kernel which I used to install.  The machine has 16
>| megs of memory.  96 of swap.  I'm using the onsale s3 video card and an
>| 4.5 gig atlas.  I'm not running X.
>
>Get more RAM.  Your AS200 will love you for it. :)
>
>--
>-----------------------------------------------------------------
>Charles E. "Rick" Taylor, IV | Replace "nouce" with "net" to mail
>charlet@innova.nouce         |--------| me, but not if it's UCE!
>http://orangesherbert.eng.clemson.edu |--------------------------
>         *** We got the MRxL, and spammers got none! ***






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

* Re: unaligned trap help
  1998-12-08  5:00 unaligned trap help Timothy K Canfield
                   ` (2 preceding siblings ...)
  1998-12-14  5:00 ` unaligned trap help - same pb Claude R. CIRBA
@ 1998-12-17  5:00 ` Tom Michiels
  1998-12-17  5:00   ` Tom Michiels
  3 siblings, 1 reply; 10+ messages in thread
From: Tom Michiels @ 1998-12-17  5:00 UTC (permalink / raw)


Timothy K Canfield <tkc+@andrew.cmu.edu> wrote:
> configuring the network using DHCP i recieve unaligned trap.  This also

I don't know about redhat, but if it uses - like debian - dhcpcd 0.70,
then these unaligned traps are caused by long-pointer-casts:

u_long foo;
u_char *bar;
...
foo= *((u_long *) bar);

If the char-pointer is not 64-bit aligned, this gives an unaligned 
access violation.  I replaced these instructions by

memcpy(&foo,bar,sizeof(long));

to get rid of the unaligned accesses.  But this is ofcourse not an optimal
way of solving the problem.  Aren't there any macros definedto do this 
type of unaligned long copying?

Tom



















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

* Re: unaligned trap help
  1998-12-17  5:00 ` unaligned trap help Tom Michiels
@ 1998-12-17  5:00   ` Tom Michiels
  1998-12-18  5:00     ` Paul Vlaar
  0 siblings, 1 reply; 10+ messages in thread
From: Tom Michiels @ 1998-12-17  5:00 UTC (permalink / raw)


Tom Michiels <tomm@godard.cs.kuleuven.ac.be> wrote:
> Timothy K Canfield <tkc+@andrew.cmu.edu> wrote:
> > configuring the network using DHCP i recieve unaligned trap.  This also

> I don't know about redhat, but if it uses - like debian - dhcpcd 0.70,
> then these unaligned traps are caused by long-pointer-casts:
...

I looked at the code of dhcpcd 0.70 again, and: one should in fact 
replace all u_long by u_int.  But then again: the pointers casted to 
u_int are not even 32bit-aligned!

Tom
















-- 
--  
Lottery: a tax on people who are bad at math.



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

* Re: unaligned trap help
  1998-12-17  5:00   ` Tom Michiels
@ 1998-12-18  5:00     ` Paul Vlaar
  1998-12-22  5:00       ` Tom Michiels
  0 siblings, 1 reply; 10+ messages in thread
From: Paul Vlaar @ 1998-12-18  5:00 UTC (permalink / raw)


Tom Michiels <tomm@godard.cs.kuleuven.ac.be> wrote:
> Tom Michiels <tomm@godard.cs.kuleuven.ac.be> wrote:
>> Timothy K Canfield <tkc+@andrew.cmu.edu> wrote:
>> > configuring the network using DHCP i recieve unaligned trap.  This also

>> I don't know about redhat, but if it uses - like debian - dhcpcd 0.70,
>> then these unaligned traps are caused by long-pointer-casts:
> ...

> I looked at the code of dhcpcd 0.70 again, and: one should in fact 
> replace all u_long by u_int.  But then again: the pointers casted to 
> u_int are not even 32bit-aligned!

> Tom


Shouldn't your compiler do this for you ?

-- 
Paul Vlaar                           * *      EuroNet Internet
Client Services Team               *     *    Herengracht 208 - 214
                                  *           1016 BS Amsterdam
E-mail: paulwv@nl.euro.net       *            Tel: +31 20 5355 300



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

* Re: unaligned trap help - same pb
  1998-12-14  5:00 ` unaligned trap help - same pb Claude R. CIRBA
@ 1998-12-22  5:00   ` remove_me
  0 siblings, 0 replies; 10+ messages in thread
From: remove_me @ 1998-12-22  5:00 UTC (permalink / raw)


On Mon, 14 Dec 1998 11:51:03 -0600, "Claude R. CIRBA"
<pastel@vuse.vanderbilt.edu> wrote:

>Timothy K Canfield wrote:
>
>> I have recently installed RedHat 5.1 on an as200 4/233 (onsale).  When
>> configuring the network using DHCP i recieve unaligned trap.  This also
>> happens whenever I try to view man pages:
>> # man ls
>> man(430): unaligned trap at 00000155556c22e8: 00000001201190ac 29 1
>> Segmentation fault
>>
>> It my guess that this should pop up in other places, but so far
>> everything else seems good.
>>

yeh i have the same comp, same os. the bins for that version of redhat
are buggy, d/l the slackware source (or the source from the programs
distribution site) for the programs that cause the traps (man, the
bind distribution, etc) and recompile/reinstall. that should take care
of your probs.

the slack source is at 
ftp://sunsite.unc.edu/pub/Linux/distributions/slackware/source

also, if anyone has gotten openBSD to run on a as200 233mhz let me
know, the damned install disk for both 2.3 and 2.4 locks on my comp
and a friends alphastation 200.

shegget



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

* Re: unaligned trap help
  1998-12-18  5:00     ` Paul Vlaar
@ 1998-12-22  5:00       ` Tom Michiels
  0 siblings, 0 replies; 10+ messages in thread
From: Tom Michiels @ 1998-12-22  5:00 UTC (permalink / raw)


Paul Vlaar <paulwv@support.euronet.nl> wrote:

> > I looked at the code of dhcpcd 0.70 again, and: one should in fact 
> > replace all u_long by u_int.  But then again: the pointers casted to 
> > u_int are not even 32bit-aligned!

> Shouldn't your compiler do this for you ?

I think you compiler can't know which asignments are going to be 
unaligned at runtime.  Best he can do is being extremely carefull
and considering all asignments after such casts to be unaligned.
I don't think that is a good idea.  But I am not an expert.

Tom

--  
Lottery: a tax on people who are bad at math.



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

end of thread, other threads:[~1998-12-22  5:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-08  5:00 unaligned trap help Timothy K Canfield
1998-12-08  5:00 ` 97117071
1998-12-08  5:00 ` Charles E Taylor IV
1998-12-17  5:00   ` Mike Powers
1998-12-14  5:00 ` unaligned trap help - same pb Claude R. CIRBA
1998-12-22  5:00   ` remove_me
1998-12-17  5:00 ` unaligned trap help Tom Michiels
1998-12-17  5:00   ` Tom Michiels
1998-12-18  5:00     ` Paul Vlaar
1998-12-22  5:00       ` Tom Michiels

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