Subject: Re: /dev/random apparently not configured.
To: None <port-sparc@NetBSD.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-sparc
Date: 12/10/2005 18:15:02
On Wed, Dec 07, 2005 at 02:58:25 +0300, Valeriy E. Ushakov wrote:
> Dunno... Try enabling RND_VERBOSE in sys/dev/rnd.c
>
> rnd(4) only returns ENXIO if it's not inited or the minor is wrong.
*sigh* stupid me.
revision 1.47
date: 2005/04/15 20:21:23; author: drochner; state: Exp; lines: +3 -18
Don't ENXIO on open("/dev/random") if there is not enough
entropy collected. It's undocumented, noone else does it and
it leads to "named" errors during boot for me.
Generally, consumers of "/dev/random" should be prepared to wait.
(The other uses of "rnd_have_entropy" look bogus to me too,
but this needs more consideration.)
And this is not pulled up to 3.0.
SY, Uwe
--
uwe@ptc.spbu.ru | Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/ | Ist zu Grunde gehen