Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-08 Thread Marcus Better
It appears to work now. I must have made some mistake earlier. pgpxaIZawo0MB.pgp Description: PGP signature

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-08 Thread David Härdeman
On Mon, Jan 08, 2007 at 03:30:34PM +0100, Marcus Better wrote: It appears to work now. I must have made some mistake earlier. Good, then this is just a documentation issue. The defaults in the initramfs scripts are unfortunately different from that of the plain cryptsetup binary, so the

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-08 Thread David Härdeman
On Mon, Jan 08, 2007 at 07:59:15PM +0100, Marcus Better wrote: Good, then this is just a documentation issue. The defaults in the initramfs scripts are unfortunately different from that of the plain cryptsetup binary, so the hash=ripemd160 line should be included in the /etc/crypttab setup.

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-07 Thread Marcus Better
David Härdeman wrote: That would mean that the fstype binary from klibc-utils doesn't recognize the decrypted device as a suspend image. Could you please follow the steps in bugs.debian.org/398302 Ok, I played a little with it and think I have found the bug. The crypto script invokes

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-07 Thread David Härdeman
On Sun, Jan 07, 2007 at 01:53:08PM +0100, Marcus Better wrote: David Härdeman wrote: That would mean that the fstype binary from klibc-utils doesn't recognize the decrypted device as a suspend image. Could you please follow the steps in bugs.debian.org/398302 Ok, I played a little with it and

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-07 Thread Marcus Better
Also, as a workaround, try specifying hash=ripemd160 in the relevant entry in the /etc/crypttab file and regenerate the initramfs image. It still doesn't work, but it's closer. It seems to attemt a resume this time. But then this happens: kinit: trying to resume from /dev/mapper/swap ...

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-07 Thread David Härdeman
On Sun, Jan 07, 2007 at 08:03:07PM +0100, Marcus Better wrote: Also, as a workaround, try specifying hash=ripemd160 in the relevant entry in the /etc/crypttab file and regenerate the initramfs image. It still doesn't work, but it's closer. It seems to attemt a resume this time. But then this

Bug#398429: [Pkg-cryptsetup-devel] Bug#398429: Add resume partition setup to initramfs

2007-01-05 Thread David Härdeman
On Fri, Jan 05, 2007 at 12:45:18PM +0100, Marcus Better wrote: Resume does not work for me, with the in-kernel suspend-to-disk and encrypted swap device /dev/mapper/swap backed by /dev/hda6. The boot messages say something about /dev/mapper/swap and /dev/hda6 which seems sensible, but then I