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

From: Nageswara R Sastry
Date: Mon Feb 27 2012 - 00:56:42 EST


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 options,

1. dd if=/dev/zero of=<filename.img> bs=1M count=16

2. mkfs.btrfs <filename.img>

3. Corrupt the <filename.img> using 'mangle'

4. mount -t btrfs -o loop <filename.img> <mount point>

5. # btrfs-debug-tree <filename.img>
Couldn't map the block 3221392384
Couldn't read chunk root
unable to open <filename.img>
# btrfs-debug-tree /dev/loop0
Couldn't map the block 3221392384
Couldn't read chunk root
unable to open /dev/loop0

Regards,
R.Nageswara Sastry

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/