From owner-freebsd-current@FreeBSD.ORG Thu Jul 3 10:22:37 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4A0B37B401 for ; Thu, 3 Jul 2003 10:22:37 -0700 (PDT) Received: from mail.komquats.com (h24-67-204-31.gv.shawcable.net [24.67.204.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0ED643FE5 for ; Thu, 3 Jul 2003 10:22:36 -0700 (PDT) (envelope-from Cy.Schubert@komquats.com) Received: from cwsys.cwsent.com (cwsys [10.1.1.1]) by mail.komquats.com (Postfix) with ESMTP id C06F97A194; Thu, 3 Jul 2003 10:22:33 -0700 (PDT) Received: from cwsys (localhost [127.0.0.1]) by cwsys.cwsent.com (8.12.9/8.12.8) with ESMTP id h63HMVhk001185; Thu, 3 Jul 2003 10:22:33 -0700 (PDT) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Message-Id: <200307031722.h63HMVhk001185@cwsys.cwsent.com> From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: John Polstra Date: Thu, 03 Jul 2003 10:22:31 -0700 Sender: Cy.Schubert@komquats.com cc: current@freebsd.org Subject: Re: Corroupted CVS File (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Cy Schubert List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 17:22:38 -0000 The fsck discovered an unexpectd softupdate inconsistency, listing the file in question. Case closed. Cheers, -- Cy Schubert http://www.komquats.com/ BC Government . FreeBSD UNIX Cy.Schubert@osg.gov.bc.ca . cy@FreeBSD.org http://www.gov.bc.ca/ . http://www.FreeBSD.org/ ------- Forwarded Message Date: Thu, 03 Jul 2003 09:22:25 -0700 From: Cy Schubert To: John Polstra Subject: Re: Corroupted CVS File (fwd) In message <200307031611.h63GBLRf009280@strings.polstra.com>, John Polstra writes: > In article <200307031602.h63G20HN071272@cwsys.cwsent.com>, > Cy Schubert wrote: > > > It appears I may not be going insane after all. > > I never suspected you of insanity. :-) I know you didn't. It's just my way of putting it. :) > > > The file is received OK from cvsup7 and from cvsup10. When I check > > out (using cvs co) from my local repo or rsync the repo to another > > machine on my network here at home, the file is corrupted. Looks > > like I've found some kind of issue with -CURRENT. I'm running > > 5.1-REL. > > Next time you find a corrupted RCS file, save it somewhere. Not a problem. I can reproduce this problem at will. > Take a > look at it in an editor and see if you can spot what's going on. The > typical kinds of corruption I've seen over the years when people have > reported these things to me have been: > > - Single-bit errors in the RCS file. These are always caused by > HW problems, and they always go away if ECC RAM is installed. I doubt this > > - Either a region of zeroes or a portion of an unrelated file > splatted somewhere into the middle of the corrupted RCS file. Possible. I'll have to look more closely > This kind of corruption is always page-aligned or filesystem > block aligned. It is probably caused by kernel software bugs. > I used to see a lot of these back around FreeBSD-3.x, but I > haven't heard of any for a long time now. Interestingly, my repo exists on my /opt2 filesystem and /opt2 appears somewhere in the middle of the file. It's the only intelligible string in the file. Could I have some kind of single bit error (h/w) or storage overlay (h/w or s/w)? I guess I'm stating the obvious. I suspect what I'm seeing is either random data on disk because when the inode is rewritten to update the access time it's corrupted.... hmmm.... could I have some filesystem corruption?? I think I'll shut down and force an fsck. > > John > -- > John Polstra > John D. Polstra & Co., Inc. Seattle, Washington USA > "Two buttocks cannot avoid friction." -- Malawi saying Cheers, - -- Cy Schubert http://www.komquats.com/ BC Government . FreeBSD UNIX Cy.Schubert@osg.gov.bc.ca . cy@FreeBSD.org http://www.gov.bc.ca/ . http://www.FreeBSD.org/ ------- End of Forwarded Message