Andy Green wrote:
On 01/07/11 15:58, Somebody in the thread at some point said:
> The results are definitely different when using the sha512sum from the
> tar ball.
>
> (/usr/src/arm/rootfs-f12 is a fresh, pristine tarball extract)
>
> Where are our methods diverging?
Dunno, kernel is different though.
[root@ivmon ~]# /tmp/sha512sum /bin/bash
ceea8800ab1258468c76839e42b1457bff8b4888766758420612dc991c04c46ef0f8fc0ea6d0fd0132f00a9666086d18900514632c0f2afe428302e2b2b5b384
/bin/bash
[root@ivmon ~]# /usr/bin/sha512sum /bin/bash
ceea8800ab1258468c76839e42b1457bff8b4888766758420612dc991c04c46ef0f8fc0ea6d0fd0132f00a9666086d18900514632c0f2afe428302e2b2b5b384
/bin/bash
[root@ivmon ~]# ls -l /tmp/sha512sum
-rwxr-xr-x 1 root root 100636 Jan 11 00:41 /tmp/sha512sum
[root@ivmon ~]# ls -l /usr/bin/sha512sum
-rwxr-xr-x 1 root root 103456 Oct 8 2009 /usr/bin/sha512sum
Is your alignment stuff all zeroes still?
[root@ivmon ~]# cat /proc/cpu/alignment
User: 0
System: 0
Skipped: 0
Half: 0
Word: 0
DWord: 0
Multi: 0
User faults: 0 (ignored)
You may be on to something here:
[root@sheeva ~]# uname -a
Linux sheeva 2.6.36.2-vs2.3.0.36.38.2-kw #1 Wed Jan 5 17:54:59 GMT 2011
armv5tel armv5tel armv5tel GNU/Linux
[root@sheeva ~]# cat /proc/cpu/alignment
User: 12230853
System: 1
Skipped: 0
Half: 0
Word: 0
DWord: 1
Multi: 0
User faults: 0 (ignored)
What does that imply, then?
Gordan