linux-um.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [uml-devel] Strange behaviour of hwrng
@ 2005-10-21 18:24 Gerd Stolpmann
  2005-10-21 18:42 ` Blaisorblade
  0 siblings, 1 reply; 7+ messages in thread
From: Gerd Stolpmann @ 2005-10-21 18:24 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi list,

I recently tested the hwrng driver. In principal, it works, but it
sometimes eats up all host CPU time. In particular, I can see that the
UML system does a (blocking) read on /dev/hwrng, and that the host
system loops while reading from /dev/random which almost always returns
-EAGAIN. (Found that out with strace, in the hope the output is
correct.)

Nevertheless rngd seems to work, because when killing with SIGUSR1 it
shows some reasonable statistics.

My test setup is as follows:

- Host system: 2.6.12.6 with SKAS3 v8.2 patch
- UML system: 2.6.14-rc5, in SKAS3 mode.
  Using rngd from Debian Sarge.
  TLS is disabled.

Let me know if you need more information.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Telefon: 06151/153855                  Telefax: 06151/997714
------------------------------------------------------------



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-10-22 16:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-21 18:24 [uml-devel] Strange behaviour of hwrng Gerd Stolpmann
2005-10-21 18:42 ` Blaisorblade
2005-10-21 19:06   ` Gerd Stolpmann
2005-10-22  0:52     ` Blaisorblade
2005-10-22  3:11       ` Jeff Dike
2005-10-22 11:29         ` Blaisorblade
2005-10-22 16:16       ` Gerd Stolpmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).