All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jay Sullivan <jaythomassullivan@gmail.com>
To: dm-crypt@saout.de
Subject: [dm-crypt] btrfs and "requested offset is beyond real size of device"
Date: Sun, 15 Feb 2015 17:43:22 -0500	[thread overview]
Message-ID: <CANvLvzALpr-s1S4D+vAf7UdAyxcO2n3E+Hg9HgjesSh4aioV4w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1477 bytes --]

Hi,

I don't know if this belongs on the btrfs, GRUB, or LUKS mailing list, but
it is a cryptsetup error, so I figure maybe someone here can help me
understand what this error means.

*What I'm doing*

I'm trying to set up a system with a btrfs /boot partition, and a few
encrypted btrfs-over-LUKS partitions. Nothing special, except that I'm
using btrfs for all of my partitions.

*The Problem*

I did get the setup "working", I'm able to successfully boot into it.
Here's the weird part: it only successfully boots about half of the time.

The other half of the time,  I see this error just after I successfully
enter my password:

    requested offset is beyond real size of device

When this happens, it continues to fail when it prompts me again for my
password, until I reboot.  It seems to fall into this issue about 50% of
the boots.

The culprit seems to be when the /boot partition is btrfs. If I use ext4 as
/boot, everything works fine and dandy.

This should be reproducible on any machine, I've tried several times on
different machines to rule out hardware. I can give complete instructions
to reproduce if someone wants it, but before I go through the effort, has
anyone heard of this behavior before? Does anyone have any insight on why
this may be happening, especially why it only happens sometimes.

I'm using Ubuntu 14.10's LiveCD to install the operating system, where
cryptsetup's version says 1.6.1, and btrfs's version is 3.14.1.

Thanks,
Jay Sullivan

[-- Attachment #2: Type: text/html, Size: 1765 bytes --]

             reply	other threads:[~2015-02-15 22:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-15 22:43 Jay Sullivan [this message]
2015-02-16  7:24 ` [dm-crypt] btrfs and "requested offset is beyond real size of device" Arno Wagner
2015-02-16  8:31 ` Milan Broz
2015-02-16 21:28   ` Jay Sullivan
2015-02-17 13:14     ` Arno Wagner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANvLvzALpr-s1S4D+vAf7UdAyxcO2n3E+Hg9HgjesSh4aioV4w@mail.gmail.com \
    --to=jaythomassullivan@gmail.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.