[fedora-arm] Fwd: Re: Broken sha512sum in coreutils
Andy Green
andy at warmcat.com
Fri Jan 7 16:49:19 UTC 2011
-------- Original Message --------
Subject: Re: [fedora-arm] Broken sha512sum in coreutils
Date: Fri, 07 Jan 2011 16:36:37 +0000
From: Gordan Bobic <gordan at bobich.net>
To: andy at warmcat.com
Andy Green wrote:
> On 01/07/11 16:15, Somebody in the thread at some point said:
>
>> [root at sheeva ~]# cat /proc/cpu/alignment
>> User: 12230853
>> System: 1
>> Skipped: 0
>> Half: 0
>> Word: 0
>> DWord: 1
>> Multi: 0
>> User faults: 0 (ignored)
>
> I wrote about the alignment issue here on ARM:
>
> http://warmcat.com/_wp/2007/05/25/the-alignment-monster/
>
> If I understood it, you have a bazillion alignment faults in your user
> code that aren't being fixed up, which will cause exactly this kind of
> symptom with sha512sum.
>
> Try
>
> echo 2 > /proc/cpu/alignment
>
> (take care to keep the spaces as shown) and try the tests again.
Yup, that fixes it! :)
So what is the correct/permanent solution to avoid problems like this?
*goes to RTFA* ;)
Gordan
P.S.
Deliberately off-list?
More information about the arm
mailing list