Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2009 09:16:41 +0600
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        "freebsd-questions@FreeBSD.org" <freebsd-questions@FreeBSD.org>
Subject:   Re: "Checksum mismatch -- will transfer entire file"
Message-ID:  <20091229031641.GA62439@admin.sibptus.tomsk.ru>
In-Reply-To: <20091228210120.GH98917@dan.emsphone.com>
References:  <20091201092938.GA49340@admin.sibptus.tomsk.ru> <20091225064309.GA86796@admin.sibptus.tomsk.ru> <20091228210120.GH98917@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote:
> In the last episode (Dec 25), Victor Sudakov said:
> > > I cvsup the FreeBSD CVS repository daily from cvsup.ru.freebsd.org. 
> > > Both the client and the server run CVSup Software version: SNAP_16_1h,
> > > Protocol version: 17.0.
> > > 
> > > Recently I noticed that there are lots of messages "Checksum mismatch --
> > > will transfer entire file" about all kinds of downloaded files.
> > > 
> > > What could be the reason? Is my CVS repository corrupt or what? Is there
> > > a way to check the integrity of the entiry repository?
> > > 
> > > I have read about there being a "checksum mismatch" problem in CVSup
> > > version before 15.4, but I am using SNAP_16_1h already.
> > > 
> > > If this question is offtopic here, please direct me to a more relevant
> > > mailing list.  TIA.
> >
> > Am I the only one to have this problem?
> 
> I see this too.  Running cvsup -k and looking at the "bad" files shows that
> the differences seem to be commit dates before 2000; one end has them as
> "99", and the other has "1999", which causes the checksum to change.

This is interesting, but I observe different issues. Consider for
example the following diff:


*** #cvs.cvsup-20614.43	2009-12-29 08:56:31.000000000 +0600
--- cpucontrol.c,v	2009-12-29 04:58:12.000000000 +0600
***************
*** 36,41 ****
--- 36,52 ----
  branches;
  next	;
  
+ 1.3.2.1
+ date	2009.08.03.08.13.06;	author kensmith;	state Exp;
+ branches
+ 	1.3.2.1.2.1;
+ next	;
+ 
+ 1.3.2.1.2.1
+ date	2009.10.25.01.10.29;	author kensmith;	state Exp;
+ branches;
+ next	;
+ 
  1.2.2.1
  date	2009.01.12.15.48.22;	author stas;	state Exp;
  branches
***************
*** 52,68 ****
  branches;
  next	;
  
- 1.3.2.1
- date	2009.08.03.08.13.06;	author kensmith;	state Exp;
- branches
- 	1.3.2.1.2.1;
- next	;
- 
- 1.3.2.1.2.1
- date	2009.10.25.01.10.29;	author kensmith;	state Exp;
- branches;
- next	;
- 
  
  desc
  @@
--- 63,68 ----
***************
*** 815,817 ****
--- 815,818 ----
  a233 1
  		WARNX(0, "error opening %s for reading", dev);
  @
+ 

We can observe the following:

1. There is an extra newline near the end of the file.

2. The changes in the file are the same but placed in different
positions in the file.

Any ideas?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:sudakov@sibptus.tomsk.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091229031641.GA62439>