BackupPC-users

Re: [BackupPC-users] Cross-platform bug/inconsistency in rsync digests (File::RsyncP::digest)

2011-02-08 16:58:19
Subject: Re: [BackupPC-users] Cross-platform bug/inconsistency in rsync digests (File::RsyncP::digest)
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 08 Feb 2011 16:56:30 -0500
Jeffrey J. Kosowsky wrote at about 16:07:04 -0500 on Tuesday, February 8, 2011:
 > When I backup files on an arm (armel) architecture with rsync
 > checksums and then transfer the pool over to an x86 architecture, the
 > checksums no longer verify.
 > 
 > In other words checksums that verify properly on the armel platform,
 > don't verify when run on an x86 platform and vice-versa.
 > 
 > This is quite distressing since this means that one can't copy over
 > the pool from one architecture to another and expect it to work
 > properly without lots of checksum errors.
 > 
 > I have double checked this by writing my own routine which uses the
 > subroutines in File::RsyncP::digest to verify digests on both
 > platforms -- and the same file gives *different* results on the
 > different platforms.
 > 
 > I'm really at a loss to explain how and why this happens but it is not
 > a good bug ;)
 > 
 > I am not sure if this is related to the bug I mentioned last week in
 > perl 10.0 where md5sums are miscomputed on the arm platform.
 > 

Here is the bug report identifying the problem with Digest::MD5
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=289884

Apparently, it has to do with arm processors requiring
U32_ALIGNMENT_REQUIRED.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/