[pkg-cryptsetup-devel] Bug#802972: cryptsetup: Waiting few minutes during boot for cryptsetup asking for password
Guilhem Moulin
guilhem at guilhem.org
Tue Sep 13 12:35:08 UTC 2016
Hi Petr,
On Fri, 25 Dec 2015 at 13:02:31 +0100, Jonas Meurer wrote:
> Am 25.10.2015 um 19:30 schrieb Petr Vorel:
>> I have LVM on the top cryptsetup on my system. A week ago after upgrade my initramfs
>> changed and now I have to wait few minutes at the beginning of the boot before cryptsetup
>> asked for password to unlock partition. There might be some problem with dist-upgrade as
>> at the beginning there were just some kernels affected. After proper run of
>> update-initramfs all installed kernels are affected.
>>
>> I have no idea what changed. Any idea, how I can debug problem?
>
> It seems like the delay happens during initramfs stage. You can debug
> the initramfs by adding 'debug' as a kernel option during boot. After
> the boot process, the initramfs debug log can be found at
> /run/initramfs/initramfs.debug. See [1] for details.
>
> [1] https://wiki.debian.org/InitramfsDebug#Saving_debug_information
>
> Even better would be to debug the cryptroot initramfs script itself,
> which is responsible for unlocking dm-crypt devices during initramfs
> stage. Debugging this script is a bit more complicated. Please follow
> the steps described here:
>
> https://wiki.debian.org/CryptsetupDebug#Debug_cryptroot_initramfs_script
Did you try to turn on debugging as Jonas suggested? I wasn't able to
reproduce this in a minimal sid VM.
Cheers,
--
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20160913/dff6a9dd/attachment.sig>
More information about the pkg-cryptsetup-devel
mailing list