Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 9.99.93 kernel and still entropy hangs



On Mon, Feb 14, 2022 at 12:54:27PM +0100, Riccardo Mottola wrote:
> [ 10879.215507] entropy: pid 6895 (python3.9) blocking due to lack of
> entropy
[..]
> seed                      0          0 ???    collect, v


The last line means your system did not load entropy at boot time, maybe
becaus there wasn't "blessed" entropy at shutdown time - or because
something went wrong.

It should look like:

Source       Estimated bits    Samples Type   Flags
[..]
seed                    256          1 ???    estimate, collect, v


"man entropy" shows you how to deal with in more details (search for
"Adding entropy").

If you have a new enough sysinst installed, you can use that to seed
the entropy pool. Just start sysinst (as root), select language (if
asked for it) and then go to the config menu. Right at the end there
should be a "Set up entropy" menu item.

The manual way from the entropy(7) man page is quite simple. Just make
sure after you did it

	sysctl kern.entropy.needed

says 0. After "shutdown -r now" the system should come up with 
kern.entropy.needed being 0 again (and nothing blocking). If it
doesn't, you have to find out where it goes wrong. But that is the next
step...

Martin


Home | Main Index | Thread Index | Old Index