Subject: Re: unaligned access: how to track ?
To: Chris G. Demetriou <cgd@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-alpha
Date: 06/07/2000 17:54:41
On Wed, Jun 07, 2000 at 07:49:22AM -0700, Chris G. Demetriou wrote:
> Manuel Bouyer <bouyer@antioche.lip6.fr> writes:
> > I get unalligned access from rpc.statd:
> > pid 146 (rpc.statd): unaligned access: va=0x120119feb pc=0x1200023a4 ra=0x1200021ec op=ldq
> > 
> > What does usually cause this ? How can I track this down ?
> 
> sysctl -w machdep.unaligned_sigbus=1

While we're at it, it shouldn't be hard to move this to a per-process
sysctl, isn't it ? Someone told me FreeBSD and True64 has something to set
this on a per process basis and it looks like a good idea (someone developing
on an alpha may not be able to turn on the global sysctl :)
Any takers ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--