[pkg-cryptsetup-devel] Bug#576186: Bug#576186: cryptsetup: Setting up crypto device on Startup takes too long w/ ext3

Markus Melms public1 at divara.de
Wed Jun 30 18:33:44 UTC 2010


Hey Jonas,

cryptsetup version has been (and still is) 1.0.6.

Best regards,
Markus


On Wed, 16 Jun 2010 21:46:42 +0200
Jonas Meurer <jonas at freesources.org> wrote:

> hey,
> 
> On 01/04/2010 hvx at divara.de wrote:
> > Mounting a 250gb crypto device from /etc/mtab takes almost one
> > minute at startup with almost no harddrive activity. This problem
> > startet to occur when switching from JFS to ext3.
> > 
> > /etc/crypttab:
> > # <target name>	<source device>		<key
> > # file>	<options>
> > cryptofs	/dev/sda3		none
> > check,tries=3,cipher=aes-cbc-essiv:sha256
> > 
> > /var/log/boot: (see the timestamps)
> > Thu Apr  1 11:09:57 2010: Starting early crypto disks...cryptofs
> > (starting). Thu Apr  1 11:09:57 2010: Enter passphrase to unlock
> > the disk /dev/sda3 (cryptofs): Thu Apr  1 11:10:50 2010: done.
> > 
> > In order to check whether using so much time is normal, I bought
> > another harddisk of the same type and mirrored my system to this
> > new disk using the "dd" command. Mounting this disk (via usb) when
> > the system is startet up already takes less then 2 seconds. 
> > 
> > Therefore i believe that some bug is causing cryptsetup to wait 50
> > seconds before doing something sensible.
> 
> i cannot imagine that this is related to the filesystem at all.
> dm-crypt doesn't mind the content of the encrypted device.
> 
> do you still remember the cryptsetup version in use when you formated
> the encrypted device? changes to the iteration time in PBKDF2 password
> processing might be the reason here.
> 
> milan, what do you think about this issue?
> 
> greetings,
>  jonas
> 





More information about the pkg-cryptsetup-devel mailing list