[fedora-arm] Broken sha512sum in coreutils
Gordan Bobic
gordan at bobich.net
Fri Jan 7 16:50:56 UTC 2011
Gordan Bobic wrote:
> 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
More information about the arm
mailing list