* Unaligned Traps - What are they?
@ 1998-07-12 4:00 James Hillyerd
1998-07-13 4:00 ` Greg Weeks
0 siblings, 1 reply; 4+ messages in thread
From: James Hillyerd @ 1998-07-12 4:00 UTC (permalink / raw)
I see a lot of unaligned trap errors messages on my console after
leaving my alpha on a few a few days. Most of them are coming from
PostgreSQL.
Can someone tell me what they are, and if they are a bad thing? I'd
like to use PostgreSQL on this machine, but I don't want to put data
in it if it's going to bail on me.
I also see these errors every now and then when I exit fdisk.
Thanks.
-james
--
[] James A. Hillyerd <jamesh@altavista.net> Java Developer
[] Home Page: http://www.pimedia.com/~james/
[] HyperGlyphics: http://www.hyperglyphics.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Unaligned Traps - What are they?
1998-07-12 4:00 Unaligned Traps - What are they? James Hillyerd
@ 1998-07-13 4:00 ` Greg Weeks
1998-07-13 4:00 ` HISAX Driver for a Teles 16.0 Andreas Magnus
0 siblings, 1 reply; 4+ messages in thread
From: Greg Weeks @ 1998-07-13 4:00 UTC (permalink / raw)
In article <6obgg4$iua$1@animal.blarg.net>,
james@animal.blarg.net (James Hillyerd) writes:
> I see a lot of unaligned trap errors messages on my console after
> leaving my alpha on a few a few days. Most of them are coming from
> PostgreSQL.
>
> Can someone tell me what they are, and if they are a bad thing? I'd
> like to use PostgreSQL on this machine, but I don't want to put data
> in it if it's going to bail on me.
>
> I also see these errors every now and then when I exit fdisk.
They aren't REALLY a problem. They do slow things down. The alpha
processor (and most others except x86) require 4 byte load or store to
be 4 byte aligned and an 8 byte load or store to be 8 byte
aligned. When it isn't a trap occurs and the os emulates the
load/store and then restarts at the next instruction. The trap and
emulate takes many times longer than an aligned load or store. The x86
does the emulate of the load or store in hardware and doesn't trap. It
still needs two memory accesses and is slower.
Greg Weeks
--
http://weeks.home.ml.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* HISAX Driver for a Teles 16.0
1998-07-13 4:00 ` Greg Weeks
@ 1998-07-13 4:00 ` Andreas Magnus
1998-07-13 4:00 ` Georg Acher
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Magnus @ 1998-07-13 4:00 UTC (permalink / raw)
Hello,
I have a Alpha XL 266MHz with 32Mb Ram
I have a Teles 16.0 Card and try to get it running under 2.0.33
I use IRQ 9 (I have tried others as well) , Port 0xD80 and Memory 0xC800
(The same like on the Intel Board where the card is working fine)
When I do an insmod hisax id=Tel0 type=1 protocol=EDSS1 irq=9 mem=0xC800
io=0xD80
I get the Info that the Type and Revision is bad.
When I use another Memory-Adress, I get an
Segmentation Fault.
It looks like that the System did not address the MEM-Base correct,
because at the Initialisation It reads the Version and Revision aof the
Card from the Card Memory and get's back uncorrect values.
Any Idea ??
regards Andreas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: HISAX Driver for a Teles 16.0
1998-07-13 4:00 ` HISAX Driver for a Teles 16.0 Andreas Magnus
@ 1998-07-13 4:00 ` Georg Acher
0 siblings, 0 replies; 4+ messages in thread
From: Georg Acher @ 1998-07-13 4:00 UTC (permalink / raw)
In article <Pine.LNX.3.96.980713064618.10660A-100000@C057009.thyssen.com>, Andreas Magnus <andreas@pd.thyssen.com> writes:
|> Hello,
|> I have a Alpha XL 266MHz with 32Mb Ram
|>
|> I have a Teles 16.0 Card and try to get it running under 2.0.33
|>
|> I use IRQ 9 (I have tried others as well) , Port 0xD80 and Memory 0xC800
|> (The same like on the Intel Board where the card is working fine)
|>
|> When I do an insmod hisax id=Tel0 type=1 protocol=EDSS1 irq=9 mem=0xC800
|> io=0xD80
|>
|> I get the Info that the Type and Revision is bad.
|> When I use another Memory-Adress, I get an
|> Segmentation Fault.
|>
|> It looks like that the System did not address the MEM-Base correct,
|> because at the Initialisation It reads the Version and Revision aof the
|> Card from the Card Memory and get's back uncorrect values.
|>
|> Any Idea ??
I don't have expirience with the Teles card, but for the AVM Fritz you have to
patch the kernel. Otherwise you'll get segfaults and deadly crashes...
You can find a patch under http://www.informatik.tu-muenchen.de/~acher/linux,
maybe it helps for the Teles card, too...
--
Bye
Georg Acher, acher@informatik.tu-muenchen.de
http://www.informatik.tu-muenchen.de/~acher/
"Oh no, not again !" The bowl of petunias
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-07-13 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-12 4:00 Unaligned Traps - What are they? James Hillyerd
1998-07-13 4:00 ` Greg Weeks
1998-07-13 4:00 ` HISAX Driver for a Teles 16.0 Andreas Magnus
1998-07-13 4:00 ` Georg Acher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox