Thread (4 messages) 4 messages, 2 authors, 2001-02-22

Re: do md5sums differ across architectures?

From: Jeffrey Hawkins <hidden>
Date: 2001-02-22 20:09:22

Kevin,


Don't know what is going on with your md5sum, but
I ran it on a LinuxPPC 2.2.17 System and a SunOS 5.6,
and got the same results ??????  The version of md5sum
on Linux was 1.22, and the version on Sun was 2.0.


Jeff

,"Kevin B. Hendricks" wrote:
Hi,

Just to have a bit of fun, how about this (3 different systems)
Each generates a different md5sum but all generate the same cksum!
(and adding -b to md5sum makes no difference)

Darwin khendricksmac 1.2 Darwin Kernel Version 1.2: Wed Aug 30 23:32:53 PDT 2000; root:xnu/xnu-103.obj~1/RELEASE_PPC  Power Macintosh powerpc

[khendricksmac:~] kbhend% md5sum oo619b_src.tar.bz2
9c6a44ad66572c834e282eb1ec665374  oo619b_src.tar.bz2
[khendricksmac:~] kbhend% cksum oo619b_src.tar.bz2
2458761606 56057947 oo619b_src.tar.bz2

SunOS crunch 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-250

kbhend$ md5sum oo619b_src.tar.bz2
278c21a764126027cba9cb685b7e96cf  oo619b_src.tar.bz2
kbhend$ cksum oo619b_src.tar.bz2
2458761606      56057947        oo619b_src.tar.bz2

Linux localhost 2.2.17pre10-ben2 #3 Sun Aug 13 13:03:45 EDT 2000 ppc unknown

[kbhend@localhost /src2]$ md5sum oo619b_src.tar.bz2
c4a5d7bda6973f6b56e725295d1b3dfb  oo619b_src.tar.bz2
[kbhend@localhost /src2]$ cksum oo619b_src.tar.bz2
2458761606 56057947 oo619b_src.tar.bz2

I guess md5sum is not a very reliable or consistent checksum measure for moving
files between ppc linux, MacOSX, and Solaris 7 Sparc.

Back to the old cksum for me.

Kevin
--
************************************************

Jeffrey Hawkins
Senior Staff Software Engineer
Motorola Wireless Data Solutions Engineering

Address: DEPT:  DQ525
         MS:    IL-02-1055A              .-.
         1301 East Algonquin Road        /v\
         Schaumburg, IL 60196           // \\
                                       /(   )\
Phone:   (847)576-7463                  ^^ ^^
FAX:     (847)576-7737

************************************************

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help