Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Mar 2005 16:32:10 +0100
From:      Idar Tollefsen <idart@performancedesign.no>
To:        =?windows-1252?Q?Samo_Jelov=B9ek?= <root@samko.org>
Cc:        freebsd-alpha@freebsd.org
Subject:   Re: mysql on alpha?
Message-ID:  <4229D0FA.7090205@performancedesign.no>
In-Reply-To: <1110034406.7374.3.camel@kishta.homeunix>
References:  <1110034406.7374.3.camel@kishta.homeunix>

next in thread | previous in thread | raw e-mail | index | archive | help
What this means is that MySQL is trying to access memory not aligned on 
4-byte boundaries. The system fixes this for you, but prints these warnings.

There are some sysctl variables you can play with here. You can either 
just turn off the messages by setting machdep.unaligned_print to 0 or 
you can debug the problem by compiling MySQL for yourself with debug 
information and force it to crash. You force it to crash by setting 
machdep.unaligned_sigbus to 1.

Printing these messages can also be turned off by setting 
unaligned_print="NO" in rc.conf.

This is for 4.x btw. Not sure if these things works the same on 5.x.


- IT


Samo Jelovšek wrote:
> hello,
> 
> has anyone successfuly qualify MySQL on alpha? I get some weird
> messages:
> 
> pid 31049 (mysql): unaligned access: va=0x120028763 pc=0x160188b80
> ra=0x160188c14 op=ldl
> pid 31049 (mysql): unaligned access: va=0x120028763 pc=0x160188b90
> ra=0x160188c14 op=stl
> pid 31049 (mysql): unaligned access: va=0x120028763 pc=0x160188b80
> ra=0x160188c34 op=ldl
> pid 31049 (mysql): unaligned access: va=0x120028763 pc=0x160188b90
> ra=0x160188c34 op=stl
> pid 31049 (mysql): unaligned access: va=0x120028765 pc=0x160188b80
> ra=0x160188c14 op=ldl
> pid 31049 (mysql): unaligned access: va=0x120028765 pc=0x160188b90
> ra=0x160188c14 op=stl
> pid 31049 (mysql): unaligned access: va=0x120028765 pc=0x160188b80
> ra=0x160188c34 op=ldl
> pid 31049 (mysql): unaligned access: va=0x120028765 pc=0x160188b90
> ra=0x160188c34 op=stl
> pid 31049 (mysql): unaligned access: va=0x120028759 pc=0x160188b80
> ra=0x160188c14 op=ldl
> pid 31049 (mysql): unaligned access: va=0x120028759 pc=0x160188b90
> ra=0x160188c14 op=stl
> pid 31049 (mysql): unaligned access: va=0x120028759 pc=0x160188b80
> ra=0x160188c34 op=ldl
> pid 31049 (mysql): unaligned access: va=0x120028759 pc=0x160188b90
> ra=0x160188c34 op=stl
> pid 31049 (mysql): unaligned access: va=0x120028769 pc=0x160188b80
> ra=0x160188c14 op=ldl
> pid 31049 (mysql): unaligned access: va=0x120028769 pc=0x160188b90
> ra=0x160188c14 op=stl
> .....
> 
> Do anyone know what's the problem here and how to fix this? 
> Best regards,
> Samo
> 
> _______________________________________________
> freebsd-alpha@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-alpha
> To unsubscribe, send any mail to "freebsd-alpha-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4229D0FA.7090205>