Jeff Dike wrote: > On Wed, Jun 18, 2008 at 09:51:38AM +0200, Laurent Wandrebeck wrote: >> Random patches are still in place. I'm wondering why this does not work... >> Jeff, any idea ? > > Is it dumping messages about not being able to get enough entropy? > > If you strace UML on the host, do you see it trying to get entropy > from the host's /dev/random? > > Jeff >
I started the rngd daemon on the uml with kernel 2.6.26rc6 but sshd failed again. This is what the logs showed: Jun 20 10:10:14 rngd[2874]: rngd 2-unofficial-mt.10 starting up... Jun 20 10:11:13 rngd[2874]: entropy source exhausted! Jun 20 10:11:13 rngd[2874]: stats: bits received from HRNG source: 64 Jun 20 10:11:13 rngd[2874]: stats: bits sent to kernel pool: 0 Jun 20 10:11:13 rngd[2874]: stats: entropy added to kernel pool: 0 Jun 20 10:11:13 rngd[2874]: stats: FIPS 140-2 successes: 0 Jun 20 10:11:13 rngd[2874]: stats: FIPS 140-2 failures: 0 Jun 20 10:11:13 rngd[2874]: stats: FIPS 140-2(2001-10-10) Monobit: 0 Jun 20 10:11:13 rngd[2874]: stats: FIPS 140-2(2001-10-10) Poker: 0 Jun 20 10:11:13 rngd[2874]: stats: FIPS 140-2(2001-10-10) Runs: 0 Jun 20 10:11:13 rngd[2874]: stats: FIPS 140-2(2001-10-10) Long run: 0 Jun 20 10:11:13 rngd[2874]: stats: FIPS 140-2(2001-10-10) Continuous run: 0 Jun 20 10:11:13 rngd[2874]: stats: HRNG source speed: (min=0.000; avg=0.000; max=0.000)bits/s Jun 20 10:11:13 rngd[2874]: stats: FIPS tests speed: (min=0.000; avg=0.000; max=0.000)bits/s Jun 20 10:11:13 rngd[2874]: stats: Lowest ready-buffers level: 2 Jun 20 10:11:13 rngd[2874]: stats: Entropy starvations: 0 Jun 20 10:11:13 rngd[2874]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us Jun 20 10:11:13 rngd[2874]: Exiting... I tried again with kernel 2.6.26-rc5 (without skas4 compiled in) and with this kernel, ssh works. So it seems like some things changed between rc5 and rc6. Regards, Benedict ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user