Benedict Verheyen wrote: > Benedict Verheyen wrote: >> 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 tried to strace the UML on the host but the stracing suddenly crashes > and dumps me back to the prompt, so i'm not able to get more info this way. > > > Regards, > Benedict
Hi, I found that i could strace an already running process with -p. So i looked for the process id of the uml and tried to strace the process id. I logged the output to file but i didn't see anything related to entropy, random or anything else. In the logs on the uml i found this: ... /var/log/syslog.0:Jun 25 05:25:38 rngd[1035]: stats: entropy added to kernel pool: 216384 /var/log/syslog.0:Jun 25 05:25:38 rngd[1035]: stats: Time spent starving for entropy: (min=4390460997; avg=4902365224.400; max=5376244640)us /var/log/syslog.0:Jun 25 06:25:39 rngd[1035]: stats: entropy added to kernel pool: 246144 /var/log/syslog.0:Jun 25 06:25:39 rngd[1035]: stats: Time spent starving for entropy: (min=4390460997; avg=4902365224.400; max=5376244640)us ... /var/log/daemon.log:Jun 25 07:25:39 rngd[1035]: stats: Time spent starving for entropy: (min=4390460997; avg=4902365224.400; max=5376244640)us /var/log/daemon.log:Jun 25 08:25:39 rngd[1035]: stats: entropy added to kernel pool: 306144 /var/log/daemon.log:Jun 25 08:25:39 rngd[1035]: stats: Time spent starving for entropy: (min=4390460997; avg=4902365224.400; max=5376244640)us /var/log/daemon.log:Jun 25 09:25:39 rngd[1035]: stats: entropy added to kernel pool: 336384 /var/log/daemon.log:Jun 25 09:25:39 rngd[1035]: stats: Time spent starving for entropy: (min=4390460997; avg=4902365224.400; max=5376244640)us ... var/log/auth.log:Jun 25 10:03:42 sshd[1640]: fatal: Couldn't obtain random bytes (error 604389476) /var/log/auth.log:Jun 25 10:04:09 sshd[1647]: fatal: Couldn't obtain random bytes (error 604389476) /var/log/auth.log:Jun 25 10:09:04 sshd[1662]: fatal: Couldn't obtain random bytes (error 604389476) /var/log/auth.log:Jun 25 10:11:10 sshd[1669]: fatal: Couldn't obtain random bytes (error 604389476) /var/log/auth.log:Jun 25 10:19:24 sshd[1712]: fatal: Couldn't obtain random bytes (error 604389476) So even with the rngd daemon running, there aren't enough random bytes to let the sshd daemon running. 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