On Wed, Jun 01, 2005 at 10:57:59AM -0700, Anthony Brock wrote:
> I'm wondering if the first host to launch is exhausting the entropy
> pool and the second host is attempting to read from an empty pool. 

The strace would seem to bear this out:

> open("/dev/hwrng", O_RDONLY)            = 3
> rt_sigaction(SIGALRM, {0x400267a0, [], 0}, NULL, 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 8) = 0
> alarm(10)                               = 0
> read(3, 0xbfb50380, 4)                  = ? ERESTARTSYS (To be restarted)
> --- SIGALRM (Alarm clock) @ 0 (0) ---
> sigreturn()                             = ? (mask now [RTMIN])
> exit_group(1)                           = ?

This looks to me like "read from hwrng, but give up after 10 seconds
if nothing happens".

> If this is the case, then I have no idea how you could resolve this
> with multiple UML instances per host. 

Can you read /dev/random on the host directly during this time?  If
not, and you are out of entropy, I would say you need to find a source
of more of it.

                                Jeff


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to