* unaligned traps?
@ 1998-05-01 4:00 Paul Tomblin
1998-05-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
0 siblings, 1 reply; 4+ messages in thread
From: Paul Tomblin @ 1998-05-01 4:00 UTC (permalink / raw)
I have RedHat 5.0, with all the patches from their web site installed on my
UDB. I see a huge number of "unaligned trap" messages in /var/log/messages,
even on stuff that I've compiled myself. How do I get rid of them? I've
tried installing egcs and compiling with that, but I still have the same
problem (maybe the problem is in a library?).
I also see lots of <sc 347(0,0,0)> messages too, which I believe is the kernel
equivalent of the same thing.
--
Paul Tomblin, ptomblin@xcski.com.
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners" - Ernst Jan Plugge
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unaligned traps?
1998-05-01 4:00 unaligned traps? Paul Tomblin
@ 1998-05-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-05-02 4:00 ` Paul Tomblin
0 siblings, 1 reply; 4+ messages in thread
From: His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated @ 1998-05-01 4:00 UTC (permalink / raw)
>>>>> "PT" == Paul Tomblin <ptomblin@canoe.xcski.com> writes:
PT> I have RedHat 5.0, with all the patches from their web site
PT> installed on my UDB. I see a huge number of "unaligned trap"
PT> messages in /var/log/messages, even on stuff that I've
PT> compiled myself. How do I get rid of them? I've tried
PT> installing egcs and compiling with that, but I still have the
PT> same problem (maybe the problem is in a library?).
The only thing unaligned accesses are going to do is slow down your
machine. They don't represent anything other than a performance
problem (although I've got a AS200 with RHS Linux 5.0 installed and I
haven't had problems...are you running kernel 2.0.30, as there might
be some unaligned acesses in that somewhere).
PT> I also see lots of <sc 347(0,0,0)> messages too, which I
PT> believe is the kernel equivalent of the same thing.
Nope. The 'sc' messages indicate an attempt to use an unimplemented
system call (347 is something modutils related that was introduced
around 2.1.18 or so, IIRC).
--
His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
Discordian Episkopos of Ambidextrous Thinking and Licensed SubGenius Minister
'Salted Litter' of rhit.gas.stations.bigfoot / mhm 21x16 / K-RAD D00D
"I'M SORRY MONKEYBOY, I'M AFRAID YOU CAN'T TOUCH THAT MONOLITH" -MegaHAL
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: unaligned traps?
1998-05-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
@ 1998-05-02 4:00 ` Paul Tomblin
1998-05-02 4:00 ` Joachim Wesner
0 siblings, 1 reply; 4+ messages in thread
From: Paul Tomblin @ 1998-05-02 4:00 UTC (permalink / raw)
In a previous article, econommx@rose-hulman.edu said:
>The only thing unaligned accesses are going to do is slow down your
>machine. They don't represent anything other than a performance
>problem (although I've got a AS200 with RHS Linux 5.0 installed and I
>haven't had problems...are you running kernel 2.0.30, as there might
>be some unaligned acesses in that somewhere).
Yeah, it's 2.0.30 all right.
--
Paul Tomblin, ptomblin@xcski.com.
"The day Microsoft makes something that doesn't suck is probably the day they
start making vacuum cleaners" - Ernst Jan Plugge
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: unaligned traps?
1998-05-02 4:00 ` Paul Tomblin
@ 1998-05-02 4:00 ` Joachim Wesner
0 siblings, 0 replies; 4+ messages in thread
From: Joachim Wesner @ 1998-05-02 4:00 UTC (permalink / raw)
Paul Tomblin wrote:
>
> In a previous article, econommx@rose-hulman.edu said:
> >The only thing unaligned accesses are going to do is slow down your
> >machine. They don't represent anything other than a performance
> >problem (although I've got a AS200 with RHS Linux 5.0 installed and I
> >haven't had problems...are you running kernel 2.0.30, as there might
> >be some unaligned acesses in that somewhere).
>
> Yeah, it's 2.0.30 all right.
>
Also 2.0.33 can cause unaligned traps unfortunatelly, probably it
depends on what option you include when make-ing. In my opinion,
unaligned acceses should be fixed pretty soon, as they do not only slow
down the system by many orders of magnitude at that point, but often
indicate "unclean" code that may cause errors under different
architectures and it probably only worked "by accident" before, so
nobody cared. It's the same as with pointer conversion warnings and the
like that people often like to simply ignore.
I hope I will find some time to look more deeply in the origin of the
unaligned acesses I see in 2.0.33, it's anoying and an "unsave feeling"
remains.
Joachim
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-05-02 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-01 4:00 unaligned traps? Paul Tomblin
1998-05-01 4:00 ` His Holiness the Reverend Doktor Xenophon Fenderson, the Carbon(d)ated
1998-05-02 4:00 ` Paul Tomblin
1998-05-02 4:00 ` Joachim Wesner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox