It appears that under some circumstances, like virtualisiation, the
authormarkm <markm@FreeBSD.org>
Mon, 5 Oct 2015 07:41:12 +0000 (07:41 +0000)
committermarkm <markm@FreeBSD.org>
Mon, 5 Oct 2015 07:41:12 +0000 (07:41 +0000)
commit1342814ae817bf3c736797c4a4576759ef7c2dff
tree3429626dd1bfd3ea4227b44766f4f82269e52618
parent6281bc02a42de874ac2319dd5c0a9ee0d276c49e
It appears that under some circumstances, like virtualisiation, the
'rdrand' instruction may occasionally not return random numbers, in
spite of looping attempts to do so. The reusult is a KASSERT/panic.

Reluctantly accept this state-of-affairs, but make a noise about it.
if this 'noise' spams the console, it may be time to discontinue
using that source.

This is written in a general way to account for /any/ source that
might not supply random numbers when required.

Submitted by: jkh (report and slightly different fix)
Approved by: so (/dev/random blanket)
sys/dev/random/random_harvestq.c