Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752136Ab0GQEz5 (ORCPT ); Sat, 17 Jul 2010 00:55:57 -0400 Received: from qmta09.emeryville.ca.mail.comcast.net ([76.96.30.96]:49193 "EHLO qmta09.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751645Ab0GQEzz (ORCPT ); Sat, 17 Jul 2010 00:55:55 -0400 Message-ID: <4C4137D9.80003@xyzw.org> Date: Fri, 16 Jul 2010 21:55:53 -0700 From: Brian Rogers User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 MIME-Version: 1.0 To: Chris Mason , Johannes Hirte , linux-kernel@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: Re: csum errors References: <201007081627.24654.johannes.hirte@fem.tu-ilmenau.de> <201007152030.18431.johannes.hirte@fem.tu-ilmenau.de> <20100715190309.GI8623@think> <201007152132.13701.johannes.hirte@fem.tu-ilmenau.de> <20100715193551.GM8623@think> In-Reply-To: <20100715193551.GM8623@think> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1739 Lines: 39 On 07/15/2010 12:35 PM, Chris Mason wrote: > On Thu, Jul 15, 2010 at 09:32:12PM +0200, Johannes Hirte wrote: > >> Am Donnerstag 15 Juli 2010, 21:03:09 schrieb Chris Mason: >> >>> On Thu, Jul 15, 2010 at 08:30:17PM +0200, Johannes Hirte wrote: >>> >>>> Am Dienstag 13 Juli 2010, 14:23:58 schrieb Johannes Hirte: >>>> >>>>> ino 1959333 off 898342912 csum 4271223884 private 4271223883 > Great. The bad csums are all just one bit off, that can't be an > accident. When were they written (which kernel?). Did you boot a 32 > bit kernel on there at any time? > I've seen this as well, with three files. In all instances, csum == *private + 1. Here are the unique lines from dmesg: [32700.980806] btrfs csum failed ino 320113 off 55889920 csum 2415136266 private 2415136265 [32735.751112] btrfs csum failed ino 1731630 off 24776704 csum 1385284137 private 1385284136 [32738.777624] btrfs csum failed ino 2495707 off 171790336 csum 1385781806 private 1385781805 All three files are from when I first transitioned to btrfs (or more accurately, they are clones of those files I made to hold onto a copy of the corrupted version). Since the vast majority of my disk usage comes from the transition anyway, I can't be sure this is due to a problem only present at that time. I believe I was running 2.6.34 when I copied my files over to my new btrfs partition, but I'm going from memory here. My btrfs partition has never been touched by a 32-bit kernel. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/