Wind River Support Network


LIN1019-4848 : Request to backport upstream patch to fix lack of entropy

Created: Jun 15, 2020    Updated: Jul 14, 2020
Resolved Date: Jun 30, 2020
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: Kernel


Can you please backport the following patch from upstream (random: try to actively add entropy rather than passively wait for it)?


The culprit was systemd-random-seed.service which would take more than 20 seconds to initialize:

root@asp-6c:~# systemd-analyze blame
 23.551s sshdgenkeys.service
 21.643s systemd-random-seed.service

In systemctl journal, they have reported following messages:

May 27 11:01:48 stratix10-abil rngd[140]: Failed to init entropy source hwrng
 May 27 11:01:49 stratix10-abil systemd-random-seed[159]: Kernel entropy pool is not initialized yet, waiting until it is.
 May 27 11:02:05 asp-6c rngd[140]: Initializing entropy source jitter

This appears to be an issue with entropy pool not being populated quick enough and the fix from github helps with exactly that. 

Live chat