From owner-freebsd-questions@FreeBSD.ORG Tue Dec 29 03:16:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA27A1065670 for ; Tue, 29 Dec 2009 03:16:54 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (relay2.tomsk.ru [212.73.124.8]) by mx1.freebsd.org (Postfix) with ESMTP id 0FEFF8FC17 for ; Tue, 29 Dec 2009 03:16:53 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.93.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.13) with ESMTPSA id 13394424 for freebsd-questions@FreeBSD.org; Tue, 29 Dec 2009 09:16:52 +0600 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.13.6/8.13.6) with ESMTP id nBT3Gptc062553 for ; Tue, 29 Dec 2009 09:16:51 +0600 (OMST) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.13.6/8.13.6/Submit) id nBT3GfwF062551 for freebsd-questions@FreeBSD.org; Tue, 29 Dec 2009 09:16:41 +0600 (OMST) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Tue, 29 Dec 2009 09:16:41 +0600 From: Victor Sudakov To: "freebsd-questions@FreeBSD.org" Message-ID: <20091229031641.GA62439@admin.sibptus.tomsk.ru> Mail-Followup-To: Victor Sudakov , "freebsd-questions@FreeBSD.org" References: <20091201092938.GA49340@admin.sibptus.tomsk.ru> <20091225064309.GA86796@admin.sibptus.tomsk.ru> <20091228210120.GH98917@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091228210120.GH98917@dan.emsphone.com> User-Agent: Mutt/1.4.2.3i Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://vas.tomsk.ru/vas.asc Cc: Subject: Re: "Checksum mismatch -- will transfer entire file" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 03:16:55 -0000 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