[pkg-cryptsetup-devel] Bug#521761: resume from hibernate fails with encrypted swap

Jonas Meurer jonas at freesources.org
Fri Mar 4 14:17:06 UTC 2011

Hey Moy,

On 22/07/2009 Jonas wrote:
> On 30/03/2009 maximilian attems wrote:
> > On Sun, Mar 29, 2009 at 06:07:12PM -0400, Moy Easwaran wrote:
> > > I used the standard installation settings for encrypted partitions
> > > (/, /home, and swap), but resuming from hiberation fails.  I'm sorry I
> > > can't spare time to flesh out the following patch, but I hope it'll
> > > give someone an idea of where to look.  This worked for me.  I don't
> > > use LVM and my swap partition is of course /dev/sda5.  This is in the
> > > mountroot function right after root has been mounted.
> could you give some more information about your system?
> i.e. which cryptsetup version did you have installed when you
> encountered the bug?
> please also paste the output of /conf/conf.d/cryptroot and
> /conf/conf.d/resume in your initramfs.
> last but not least the content of /tmp/mkinitramfs-log after executing
> 'sh -x /usr/sbin/mkinitramfs -o /tmp/initramfs 2>/tmp/initramfs-log'
> would be useful as well.

Unfortunately I'm unable to reproduce and fix this bug without further

Please provide the content of /etc/crypttab, and of the files
/conf/conf.d/cryptroot and /etc/conf.d/resume from your initramfs.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20110304/a6766a62/attachment.pgp>

More information about the pkg-cryptsetup-devel mailing list