On Thu, Sep 27, 2018 at 09:21:02PM +0200, Frans de Boer wrote:
> LS,
>
> I have a problem which I don't seem to be able to solve without further
> help.
>
> Using the development version for LFS, I get stuck every time during boot
> time. It happens either after the message
> "Fast init done" or right thereafter - with a delay of aprox 12 seconds - at
> the message "Fast crng done".
>
> This problem is with the standard LFS as well as the LFS-systemd.
>
> Anyone has a suggestion?
>
> Rgards, Frans.
>
Off the top of my head, I'll guess lack of entropy. Changes were
made in the previous 2 or 3 kernel versions to fix vulnerabilities,
particularly related to generating secure secrets, but with the side
effect that booting can take longer (*much* longer in VMs).
The reals question is "what starts after the delay ?" For the
entropy problem, it would need to be something using random seeds.
But 12 seconds is not a long time for the entropy problem - are you
thumping the keyboards during that time ? (that adds to the
entropy).
So, maybe it is something else such as dhcp. Without knowing what
starts next, this is all guess work. Following comments are only
relevant if a lack of entropy is indeed the problem.
On my desktop machines, those with only SSD(s) and integrated
graphics had the entropy problem, those with spinning rust - and the
one with an SSD and a separate video card - did not.
To generate entropy, haveged is the current answer. With 4.19
kernels there should be an option to trust the hardware RNG (if you
have one).
ĸen
--
Tout est bien, tout va bien, tout va pour le mieux qu'il soit possible
-- Candide, de Voltaire
(Everything is for the best, in the best of all possible worlds)
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style