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.

Attachment: signature.asc
Description: PGP signature

Reply via email to