> -----Original Message-----
> From: Uroš Kositer [mailto:[email protected]]
> Sent: 10 December 2009 20:55
> To: Kedar Sovani
> Cc: [email protected]
> Subject: Re: [fedora-arm] Strange error with php on F12
> sheevaplug
> 
> Hi Kedar,
> 
> yes, that fixes the problem. Thank you.
> 
> How can I make this change permanent? By adding this line to
> /etc/rc.local?

Yes sure. Although making this change will cause your system to be a bit slow. 

The right thing to do would be to fix the bug in the php package. 

Could you assist in further debugging by:

Option1:
* echo 3 in /proc/cpu/alignment, this will dump core when the alignment error 
occurs, thus letting know where exactly did it happen.

Option2:
* echo 1 in /proc/cpu/aligment, this will put messages in /var/log/messages 
pointing to where the alignment error might have occurred.


> 
> Kind regards
> Uros
> 

Kedar.

> 2009/12/10 Kedar Sovani <[email protected]>:
> >> -----Original Message-----
> >> From: [email protected] [mailto:fedora-arm-
> >> [email protected]] On Behalf Of Uroš Kositer
> >> Sent: 10 December 2009 03:37
> >> To: [email protected]
> >> Subject: [fedora-arm] Strange error with php on F12
> sheevaplug
> >>
> >> Hello to all,
> >>
> >> I have recently replaced F11 with F12 on my sheevaplug an I
> >> came
> >> across strange php error. Following php script:
> >>
> >> <?
> >> echo 1/4;
> >> ?>
> >>
> >> outputs 5.2894475160536E-315 instead of 0.25.
> >
> > I had noticed a few alignment problems while building the new
> > php. Could you see if this is also because of this?
> >
> > Could you please check if it works after enabling fixups.
> That
> > is:
> >
> > # echo 2 > /proc/cpu/alignment
> >
> > And then check it out?
> >
> >>
> >> On F11 everything worked without problems.
> >>
> >> Thank you for any suggestions an kind regards
> >>
> >> Uros
> >
> >
> > Kedar.
> >
> >>
> >> _______________________________________________
> >> fedora-arm mailing list
> >> [email protected]
> >> https://www.redhat.com/mailman/listinfo/fedora-arm
> >

_______________________________________________
fedora-arm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-arm

Reply via email to