"arc4random: no preloaded entropy cache" printed once per CPU on startup

RW rwmaillists at googlemail.com
Sun Oct 28 15:48:23 UTC 2018


On Sat, 27 Oct 2018 16:38:00 -0600
Rebecca Cran wrote:

> On a normal boot (not verbose) of -CURRENT from today's sources I'm 
> getting the following message printed once for each logical CPU:
> 
> 
> arc4random: no preloaded entropy cache
> 
> 
> Since other messages, including the same one in random_harvestq.c are 
> under bootverbose, should this one in arc4random.c be too?
> 
> 
> I guess another question is _why_ this message is being displayed,
> since it looks like it should only happen if an entropy stash
> (/entropy?) is missing:

/entropy is the old style file fed into /dev/random from rc.d/random.
There's another file /boot/entropy which is read much earlier. 


More information about the freebsd-current mailing list