Re: [uml-user] Reads from UML guest's /dev/hwrng blocking

2009-09-04 Thread Jeff Dike
On Fri, Sep 04, 2009 at 04:56:21PM +0100, Richard Smith wrote: > Within my UML guest kernel, I'm finding that between 5% and > 10% of reads from /dev/hwrng block, seemingly indefinitely. > (I've certainly seem reads block for more than 12 hours.) > All other reads complete in significantly less

Re: [uml-user] Reads from UML guest's /dev/hwrng blocking

2009-09-04 Thread Richard Smith
Jeff Dike wrote: > Can you actually dd bits out of the host's /dev/random? Yes, that was one of the first things I tried, and I've not seen any problems with that. I also tried a short program that did: int main() { uint32_t data; int fd = open("/dev/random", O_RDONLY); if (

[uml-user] Reads from UML guest's /dev/hwrng blocking

2009-09-04 Thread Richard Smith
Within my UML guest kernel, I'm finding that between 5% and 10% of reads from /dev/hwrng block, seemingly indefinitely. (I've certainly seem reads block for more than 12 hours.) All other reads complete in significantly less than 1 second. I've tried a variety of 2.6.27, .28 and .29 guest UML