Re: [uml-user] /dev/random and other strangeness

2008-02-29 Thread Jeff Dike
On Fri, Feb 29, 2008 at 04:41:51PM -0800, Anthony Brock wrote: > Then it would be mere coincidence that this started with the instance > kernel upgrades (I had never encountered it previously). However, it does > seem like the simplest explanation. Could be - nothing has changed there UML-wise in

Re: [uml-user] /dev/random and other strangeness

2008-02-29 Thread Anthony Brock
> On Fri, Feb 29, 2008 at 12:35:38PM +0100, Jan Wolff wrote: >> Could the entropy in /dev/random be exhausted because Anthony drains >> more >> entropy than is produced? > > That's what I'm thinking. The UML /dev/hw_random is attached to the > host's /dev/random. If you have rng-utils installed i

Re: [uml-user] /dev/random and other strangeness

2008-02-29 Thread Jeff Dike
On Fri, Feb 29, 2008 at 12:35:38PM +0100, Jan Wolff wrote: > Could the entropy in /dev/random be exhausted because Anthony drains more > entropy than is produced? That's what I'm thinking. The UML /dev/hw_random is attached to the host's /dev/random. If you have rng-utils installed in the UML,

Re: [uml-user] /dev/random and other strangeness

2008-02-29 Thread Jan Wolff
Hi Jeff, hi Anthony, hi everybody! Just a thought... Could the entropy in /dev/random be exhausted because Anthony drains more entropy than is produced? As far as I know, entropy production rate depends on attached hardware and even might become zero, but I don't know if normal usage of sshd,

Re: [uml-user] /dev/random and other strangeness

2008-02-28 Thread Anthony Brock
Hmmm, I would guess that the random patch is helping a little as I have only had two recurrences since installing new kernel: Feb 27 11:35:09 dns2 sshd[1152]: fatal: Couldn't obtain random bytes (error 604389476) Feb 27 14:29:16 www sshd[3060]: fatal: Couldn't obtain random bytes (error 604389476)

Re: [uml-user] /dev/random and other strangeness

2008-02-27 Thread Anthony Brock
> On Tue, Feb 26, 2008 at 08:45:24PM -0800, Anthony Brock wrote: >> It has obviously been too long since I developed any software. I worked >> past this issue with the '-l' flag to patch and it is currently >> compiling. >> I will start testing the new kernel shortly. > > Don't build it if it didn'

Re: [uml-user] /dev/random and other strangeness

2008-02-27 Thread Jeff Dike
On Tue, Feb 26, 2008 at 08:45:24PM -0800, Anthony Brock wrote: > >> On Tue, Feb 26, 2008 at 02:12:53PM -0800, Anthony Brock wrote: > > So, I'm going to try and manually fit the rejected portions into the code. > > It has obviously been too long since I developed any software. I worked > past this

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Anthony Brock
>> On Tue, Feb 26, 2008 at 02:12:53PM -0800, Anthony Brock wrote: > So, I'm going to try and manually fit the rejected portions into the code. It has obviously been too long since I developed any software. I worked past this issue with the '-l' flag to patch and it is currently compiling. I will s

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Anthony Brock
> On Tue, Feb 26, 2008 at 02:12:53PM -0800, Anthony Brock wrote: >> # bzip2 -dc ../2.6.25-rc2-mm1.bz2 | patch >> The next patch would create the file o2cb, >> which already exists! Assume -R? [n] > > That looks right - I'd double-check that the tree is what you think it > is. I'm in the habit of

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Jeff Dike
On Tue, Feb 26, 2008 at 02:12:53PM -0800, Anthony Brock wrote: > # wget -c > http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc2/2.6.25-rc2-mm1/2.6.25-rc2-mm1.bz2 > # wget -c > http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.25-rc2.tar.bz2 > ... > # cd linux-

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Anthony Brock
Quoting Jeff Dike <[EMAIL PROTECTED]>: > On Tue, Feb 26, 2008 at 08:30:35AM -0800, Anthony Brock wrote: >> It appears that this patch is designed against 2.6.22. Do you want me to >> downgrade from 2.6.24.2 to 2.6.22 to try this? > > It's against 2.6.25-rc2-mm1. > > Jeff Oka

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Jeff Dike
On Tue, Feb 26, 2008 at 08:30:35AM -0800, Anthony Brock wrote: > It appears that this patch is designed against 2.6.22. Do you want me to > downgrade from 2.6.24.2 to 2.6.22 to try this? It's against 2.6.25-rc2-mm1. Jeff -- Work email - jdike at linux dot intel dot com

Re: [uml-user] /dev/random and other strangeness

2008-02-26 Thread Anthony Brock
> On Sat, Feb 23, 2008 at 11:14:51AM -0800, Anthony Brock wrote: >> My instance has the follow on the file system: >> >> # ls -lA /dev/*rand* >> crw-rw-rw- 1 root root 1, 8 2008-02-11 11:43 /dev/random >> crw-rw-rw- 1 root root 1, 9 2008-02-23 10:06 /dev/urandom >> # >> >> Is it possible that recen

Re: [uml-user] /dev/random and other strangeness

2008-02-25 Thread Jeff Dike
On Sat, Feb 23, 2008 at 11:14:51AM -0800, Anthony Brock wrote: > My instance has the follow on the file system: > > # ls -lA /dev/*rand* > crw-rw-rw- 1 root root 1, 8 2008-02-11 11:43 /dev/random > crw-rw-rw- 1 root root 1, 9 2008-02-23 10:06 /dev/urandom > # > > Is it possible that recent kernel