bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

md5sum: md5sum -c gives variable results


From: Tarje Killingberg
Subject: md5sum: md5sum -c gives variable results
Date: Sat, 15 Mar 2008 17:37:07 +0100

Hi

I am getting variable results from md5sum with the -c switch. I suppose a
bug in md5sum is unlikely, but maybe you have some ideas for what I can do
to find out what is going on. I have included some commands and their output
to describe the situation and some other information.

# md5sum -c test06.avi.md5 ; md5sum -c test06.avi.md5 ; md5sum -c
test06.avi.md5 ; md5sum -c test06.avi.md5 ; md5sum -c test06.avi.md5 ;
md5sum -c test06.avi.md5 ; md5sum -c test06.avi.md5 ; md5sum -c
test06.avi.md5 ; md5sum -c test06.avi.md5
test06.avi: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
test06.avi: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
test06.avi: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
test06.avi: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
test06.avi: OK
test06.avi: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
test06.avi: OK
test06.avi: OK
test06.avi: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
# cat test06.avi.md5
002bf7b936439242c8b8c85a3d37a5de  test06.avi
# uname -a
Linux tkill-desktop 2.6.22-3-686 #1 SMP Sun Feb 10 20:20:49 UTC 2008 i686
GNU/Linux
# date
Sat Mar 15 17:16:52 CET 2008
# pwd
/mnt/data/privat/video/import/test
# df -h /mnt/data/
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             163G  151G  3.8G  98% /mnt/data
# md5sum --version
md5sum (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Ulrich Drepper, Scott Miller, and David Madore.
# file test06.avi
test06.avi: RIFF (little-endian) data, AVI, 720 x 576, 25.00 fps, video:,
audio: uncompressed PCM (stereo, 32000 Hz)





>From dmesg:
scsi 0:0:0:0: Direct-Access     Seagate  FreeAgentDesktop 100F PQ: 0 ANSI: 4
usb-storage: device scan complete
...
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2 sda3
sd 0:0:0:0: [sda] Attached SCSI disk
sd 1:0:0:0: [sdb] Attached SCSI removable disk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]