List Info

Thread: Long hangs on /dev/random




Long hangs on /dev/random
country flaguser name
United States
2007-05-16 16:43:21
Hi folks,

I've noticed sometimes really long hangs on venus startup. 
strace showed up that it hangs on reading from /dev/random.

Seems the device waits until it got enough entropy.

Any suggestion how to work around this ? 


cu
-- 
------------------------------------------------------------
---------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
------------------------------------------------------------
---------
 Please visit the OpenSource QM Taskforce:
 	h
ttp://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of
versions:
	http://patches.metux.de/

------------------------------------------------------------
---------


Re: Long hangs on /dev/random
country flaguser name
United States
2007-05-16 17:42:42
On Wed, May 16, 2007 at 11:43:21PM +0200, Enrico Weigelt
wrote:
> I've noticed sometimes really long hangs on venus
startup. 
> strace showed up that it hangs on reading from
/dev/random. 
> Seems the device waits until it got enough entropy.
> 
> Any suggestion how to work around this ? 

You could upgrade rpc2 to version 2.5.

Jan


Re: Long hangs on /dev/random
country flaguser name
United States
2007-05-18 16:17:55
* Jan Harkes <jaharkescs.cmu.edu> wrote:
> On Wed, May 16, 2007 at 11:43:21PM +0200, Enrico
Weigelt wrote:
> > I've noticed sometimes really long hangs on venus
startup. 
> > strace showed up that it hangs on reading from
/dev/random. 
> > Seems the device waits until it got enough
entropy.
> > 
> > Any suggestion how to work around this ? 
> 
> You could upgrade rpc2 to version 2.5.

Ah, Gentoo's ebuilds are quite, quite outdated. Their last
version is 2.0 ;-O

I'm working on fresh ebuilds ...


cu
-- 
------------------------------------------------------------
---------
 Enrico Weigelt    ==   metux IT service - http://www.metux.de/
------------------------------------------------------------
---------
 Please visit the OpenSource QM Taskforce:
 	h
ttp://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of
versions:
	http://patches.metux.de/

------------------------------------------------------------
---------


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )