Comment 1 for bug 955624

Revision history for this message
Jim Meyering (meyering) wrote : Re: [Bug 955624] [NEW] md5sum command calculate different code for the same file

Birol Bora wrote:
> Public bug reported:
>
> I'm using Ubuntu 11.10
> When I execute md5sum command its calculate different code for the same file
>
> birol@trax:~/Downloads$ uname -a
> Linux trax 3.0.0-16-generic #28-Ubuntu SMP Fri Jan 27 17:44:39 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> birol@trax:~/Downloads$ ls -l v1.img
> -rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img
>
> birol@trax:~/Downloads$ md5sum v1.img
> e8a2c652770a2da0fd93c981a79a8ba1 v1.img
> birol@trax:~/Downloads$ md5sum -b v1.img
> d692965aa21d43b40e7c6e821f721159 *v1.img
> birol@trax:~/Downloads$ md5sum v1.img
> baa9389d2ecfecf8d405a22565d1565b v1.img
> birol@trax:~/Downloads$ md5sum v1.img
> e683b1e5bba99dee3ecd35765f0fc368 v1.img
> birol@trax:~/Downloads$ md5sum v1.img
> ee0d31564b0a0508e83766c31fc18236 v1.img
> birol@trax:~/Downloads$ md5sum v1.img
> 0c821ea3600f13c5b9d14fc12f329773 v1.img
>
> birol@trax:~/Downloads$ ls -l v1.img
> -rw-rw-r-- 1 birol birol 1796509184 2012-03-15 01:36 v1.img

Thanks for the report.
I've seen this sort of problem a couple of times.
So far, every time it has been due to faulty hardware.

To cross-check try running the openssl command:

    openssl md5 v1.img