All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] System comes up very slowly
@ 2014-09-27  4:01 Ross Boylan
  2014-09-27 10:19 ` Arno Wagner
  0 siblings, 1 reply; 7+ messages in thread
From: Ross Boylan @ 2014-09-27  4:01 UTC (permalink / raw)
  To: dm-crypt; +Cc: ross.boylan

When my computer reboots it shows the grub menu and some initial messages
from the kernel loading and then waits a very long time (minutes) before
asking for the pass-phrase for the main partition.

I speculate the delay is to gather randomness for the 2 random-encrypted
swap partitions.  However, hitting keys doesn't seem to speed it up.

Is this speculation reasonable?

If not, what might be the cause of the delay?

If the delay is from the encrypted swap, is there anything I can do about
it short of eliminating the swap?  Is there any reason to avoid using a
fixed key for the swap?  Fixed keys sound as if they should eliminate the
need for randomness from the system.

[slightly off-topic]
Is it still the case that encrypted swap limits the ability to suspend or
hibernate and resume?

Thanks.
Ross Boylan

Details that might matter:
Xeon CPUs from a few years ago.
The boot and main partitions are RAID1.
The main partition is the physical volume behind an LVM volume group;
encryption is on some individual logical volumes, including the one
holding the root file system.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-09-28 23:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-27  4:01 [dm-crypt] System comes up very slowly Ross Boylan
2014-09-27 10:19 ` Arno Wagner
2014-09-27 19:39   ` Ross Boylan
2014-09-27 20:32     ` Arno Wagner
2014-09-27 22:30       ` Ross Boylan
2014-09-28 15:53         ` Arno Wagner
2014-09-28 23:47       ` Heiko Rosemann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.