Hunting  bugs sometimes get you very far away from the problem you started out 
with...

I wanted to use user-mode-linux to hunt down something that looks like a bug 
in "openswan".  My guest user-mode-linux is Debian-style; it turns out that
just *installing* openswan package (creating "plain" key pairs) hung the 
durned thing.  A closer investigation showed that the installation hangs in 
program "ipsec rsasigkey" reading /dev/random.

Now I have studied the driver/char/random.c for a while.  It looks as if it 
works allright, also in user-mode-linux, it just needs to get a unholy lot of 
what it calls "entropy" to provide the "ipsec rsasigkey" installation with 
the necessary amount of bits for it to build the keys.

Can I somehow speed up this "entropy" process?  I don't *really* have in my 
heart to sit typing in random characters to the console for hours just to 
satisfy the demands of the "add_keyboard_randomness" function!  And I don't 
want to fiddle with the installation process of Debian openswan; for all I 
know, my original bug may disappear if I do that, but it will still be there 
in the physical linux.

My guest uml kernel is a modified vanilla (i.e. not Debian-patched) 2.6.9 
kernel.

Thank you very much in advance.

-- 
Peder Chr. Nørgaard     e-mail: [EMAIL PROTECTED]
Gefionsvej 19           spejder-e-mail: [EMAIL PROTECTED]
DK-8230 Åbyhøj          tel: +45 87 44 11 99
Denmark                 mob: +45 30 91 84 31


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to