lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 16 Jul 2010 21:55:53 -0700
From:	Brian Rogers <brian@...w.org>
To:	Chris Mason <chris.mason@...cle.com>,
	Johannes Hirte <johannes.hirte@....tu-ilmenau.de>,
	linux-kernel@...r.kernel.org, linux-btrfs@...r.kernel.org
Subject: Re: csum errors

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ