On Jan 30, 2006, at 7:04 PM, miles wrote:
> Using kernels built with the current buildroot, there seems to be a
> bug in the entropy pool. Just after reboot, when the entropy
> should just have been filled by init, i get:
> # /etc/init.d/S20urandom
> Initializing random number generator... done.
> # cat /proc/sys/kernel/random/entropy_avail
> tested on one 200, one 400xm.
> I noticed this when an application blocked forever waiting for
> entropy. What's weird is that dropbear SSH works.
> dd if=/dev/random of=/tmp/big bs=1 count=1 blocks forever.
Under 2.6.11, I believe nothing in fact feeds entropy to /dev/
random's entropy pool. dropbear uses /dev/urandom and that's what /
etc/init.d/S20urandom operates on as well.
I think, but am not 100% sure, that 2.6.15 does actually drop some
entropy into the kernel pool, so that /dev/random will actually start
producing some data.