Re: /dev/random blocks forever on 2.2.12 and 2.2.16

From: James H. Cloos Jr. (cloos@jhcloos.com)
Date: Tue Aug 08 2000 - 12:58:23 EST


>>>>> "Oscar" == Oscar Roozen <jor+lkml@xs4all.nl> writes:
>>>>> "Miquel" == Miquel van Smoorenburg <miquels@cistron.nl> writes:

Oscar> Yes, I can put a monkey behind the keyboard, but if somebody knows
Oscar> a better solution, please don't be shy. ;)

Miquel> Use /dev/urandom

If /dev/random is blocking indefinitely w/o keyboard or mouse
interupts, then /dev/urandom is not going to provide any entropy
either. It won't block; it will provide data. But what is the point
if there is no entropy in it?

The only solution to the problem is to find out why only kb and mouse
ints are adding entropy to the pool and to fix that so network and
disk ints do as well. Or to use another source of entropy, such as a
card with a hardware rng (thermal noise, or whatever).

Something like audio_entropyd is another possibility, although that is
still labeled as experimental, not for production use....

-JimC

-- 
James H. Cloos, Jr.  <http://jhcloos.com/public_key>     1024D/ED7DAEA6 
<cloos@jhcloos.com>  E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
     Is this post worth two cents?  Then goto <http://2cw.org/23>!

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:16 EST