Re: [BUG] Kernel Bug at fs/btrfs/volumes.c:3638

2012-02-29 Thread David Sterba
I just noticed that there's a bugreport from opensuse user tripping over the same BUG() during log replay (and his problem was solved by btrfs-zero-log), probably after some crash. The kernel version was 3.1 ie. without the corruption fixes, so while it happened during normal use (and not via a

Re: [BUG] Kernel Bug at fs/btrfs/volumes.c:3638

2012-02-27 Thread David Sterba
On Sun, Feb 26, 2012 at 11:42:58PM -0500, Jérôme Carretero wrote: At some point, I would appreciate some kind of thorough evaluation using a fuzzer on small disk images. The btrfs developers could for instance: - provide a script to create a filesystem image with a known layout (known

Re: [BUG] Kernel Bug at fs/btrfs/volumes.c:3638

2012-02-26 Thread Jérôme Carretero
On Fri, 24 Feb 2012 16:11:29 +0530 Nageswara R Sastry rnsas...@linux.vnet.ibm.com wrote: Hello, While working with 'fsfuzz - file system fuzzing tool' on 'btrfs' encountered the following kernel bug. I inquired about robustness a while ago and it seems it's at some point on the horizon,

Re: [BUG] Kernel Bug at fs/btrfs/volumes.c:3638

2012-02-26 Thread Nageswara R Sastry
On ఫిబ్రవరి 25 శనివారం 2012 ఉ. 11:42, Liu Bo wrote: Hi, I guess you're mounting a quite small partition. Given that this oops is in such an early stage, could you please show 1) your mkfs.btrfs options and 2) the log of btrfs-debug-tree /dev/loop0? thanks, liubo Here are the steps with

[BUG] Kernel Bug at fs/btrfs/volumes.c:3638

2012-02-24 Thread Nageswara R Sastry
transid 4 /dev/loop0 btrfs: disk space caching is enabled unable to find logical 131072 len 4096 [ cut here ] kernel BUG at fs/btrfs/volumes.c:3638! illegal operation: 0001 [#1] SMP Modules linked in: btrfs zlib_deflate crc32c libcrc32c loop dm_multipath dm_mod qeth_l3 ipv6

Re: [BUG] Kernel Bug at fs/btrfs/volumes.c:3638

2012-02-24 Thread Liu Bo
device fsid 346683e8-0fcc-4440-b421-4535e73d60d6 devid 1 transid 4 /dev/loop0 btrfs: disk space caching is enabled unable to find logical 131072 len 4096 [ cut here ] kernel BUG at fs/btrfs/volumes.c:3638! illegal operation: 0001 [#1] SMP Modules linked in: btrfs