At "chunk_found" label I have:

addr: 0x10a981000
key->object_id: 0x100 (GRUB_BTRFS_OBJECT_ID_CHUNK)
key->type: 0xe4 (GRUB_BTRFS_ITEM_TYPE_CHUNK)
key->offset: 0x101c00000
chunk->type: 0x24 (GRUB_BTRFS_CHUNK_TYPE_DUPLICATED + 4)
chunk->size: 0x10000000
chunk->nstripes: 2

off = addr - grub_le_to_cpu64 (key->offset) = 0x10a981000 - 0x101c00000 = 
0x8d81000
stripe_length = grub_divmod64 (grub_le_to_cpu64 (chunk->size),
                                             grub_le_to_cpu16 (chunk->nstripes),
                                             NULL) = 0x8000000
csize = stripe_length - off = 0x8000000 - 0x8d81000

csize will be negative => "couldn't find the chunk descriptor"

Hope this helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/732149

Title:
  [natty] btrfs "grub-probe: error: unknown filesystem"

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to