CPU is AMD GX-412TC SOC:
GX-412TC GE412TIYJ44JB 4 6W 2MB 1.0GHz/ 1.4GHz N/A N/A DDR-1333 0-90°C
which does not have rdrand:
grep rdrand /proc/cpuinfo
# nothing
I see following messages in my syslog after machine boot:
kernel: random: dd: uninitialized urandom read (512 bytes read)
kernel: random: cryptsetup: uninitialized urandom read (32 bytes read)
what exactly do these messages mean, and what can I do about it?
Does it mean dd and cryptsetup try to read from /dev/urandom, but there is not enough entropy?
I am using haveged daemon, but it is started late in the boot process, after this message appears.
Here is my boot script startup sequence:
/etc/rcS.d/S01hostname.sh
/etc/rcS.d/S01mountkernfs.sh
/etc/rcS.d/S02mountdevsubfs.sh
/etc/rcS.d/S03checkroot.sh
/etc/rcS.d/S04checkfs.sh
/etc/rcS.d/S05mountall.sh
/etc/rcS.d/S06bootmisc.sh
/etc/rcS.d/S06procps
/etc/rcS.d/S06urandom
/etc/rcS.d/S07crypto-swap
/etc/rc2.d/S01haveged
/etc/rc2.d/S01networking
/etc/rc2.d/S04rsyslog
/etc/rc2.d/S05cron
/etc/rc2.d/S05ssh
the messages in syslog come from these two scripts:
/etc/rcS.d/S06urandom -> dd
/etc/rcS.d/S07crypto-swap -> cryptsetup
Should haveged be started before urandom ?
I am using Debian 10.
Also, I should add that this machine is a bare board, with no keyboard. The only interface is a serial console. I think this has an effect on the available entropy, and is the reason why I have installed haveged in the first place. Without haveged, the sshd daemon would not start for several minutes, because it does not have enough entropy.
havegedand install what I suggested, it should solve your problem, but I'm specializing on Intel, so I don't know much of AMD. If unsuccessful, you can always revert tohaveged.rdrand, in which case my suggestion will likely not help, but you may try it of course if you wish.