On Wed, May 30, 2007 at 12:08:22AM +0200, Andi Kleen wrote:
> Matt Mackall <[EMAIL PROTECTED]> writes:
>
> > On Tue, May 29, 2007 at 05:44:37PM +0100, M Macnair wrote:
> > > On 29 May 2007 18:58:59 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote:
> > > >"M Macnair" <[EMAIL PROTECTED]> writes:
> > > >>
Matt Mackall <[EMAIL PROTECTED]> writes:
> On Tue, May 29, 2007 at 05:44:37PM +0100, M Macnair wrote:
> > On 29 May 2007 18:58:59 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote:
> > >"M Macnair" <[EMAIL PROTECTED]> writes:
> > >>
> > >> Many distros ship with an init script that saves and restores th
On Tue, May 29, 2007 at 05:44:37PM +0100, M Macnair wrote:
> On 29 May 2007 18:58:59 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote:
> >"M Macnair" <[EMAIL PROTECTED]> writes:
> >>
> >> Many distros ship with an init script that saves and restores the
> >> entropy pool on startup and shutdown. The bi
> > > I have two embedded boards (one ARM, one PowerPC), running two
> > > different versions of 2.6. They have no hard drives, keyboards or
> > > mice. They each have a NIC, but I understand these make no
> > > contribution to the entropy pool.
> > > if [ -f $random_seed ]; then
> > >
On Tue, May 29, 2007 at 09:23:31PM +0200, Eric Dumazet wrote:
> Matt Mackall a écrit :
> >On Tue, May 29, 2007 at 09:15:01AM -0400, Theodore Tso wrote:
> >>Another thing which I noticed is that when Matt Mackall took over
> >>maintainership of /dev/random, he apparently took out one of the
> >>safe
Matt Mackall a écrit :
On Tue, May 29, 2007 at 09:15:01AM -0400, Theodore Tso wrote:
Another thing which I noticed is that when Matt Mackall took over
maintainership of /dev/random, he apparently took out one of the
safeguards I had, which was that before, when entropy was extracted
from the poo
On Tue, May 29, 2007 at 12:46:14PM -0500, Matt Mackall wrote:
> We might as well mix jiffies and cycles in at init time in a manner
> similar to the above. Something like this (untested):
Scratch that one. Here's one that compiles and seems to work under
lguest:
Index: l/drivers/char/random.c
===
On Tue, May 29, 2007 at 09:15:01AM -0400, Theodore Tso wrote:
> Another thing which I noticed is that when Matt Mackall took over
> maintainership of /dev/random, he apparently took out one of the
> safeguards I had, which was that before, when entropy was extracted
> from the pool the time stamp w
On 29 May 2007 18:58:59 +0200, Andi Kleen <[EMAIL PROTECTED]> wrote:
"M Macnair" <[EMAIL PROTECTED]> writes:
>
> Many distros ship with an init script that saves and restores the
> entropy pool on startup and shutdown. The bit that interests me that
> is called on startup is (my comments):
>
On Tue, May 29, 2007 at 02:14:56PM +, Pavel Machek wrote:
> Can we get at least time-of-boot from rtc clock to the pool? We really
> should not be getting identical outputs...
We are mixing the time-of-dat at boot time into the pool already,
using ktime_get_real() in random.c:init_std_data().
"M Macnair" <[EMAIL PROTECTED]> writes:
>
> Many distros ship with an init script that saves and restores the
> entropy pool on startup and shutdown. The bit that interests me that
> is called on startup is (my comments):
> if [ -f $random_seed ]; then
> cat $random_seed >/dev
On 29/05/07, M Macnair <[EMAIL PROTECTED]> wrote:
On 5/29/07, Pavel Machek <[EMAIL PROTECTED]> wrote:
> Hi!
>
> > > I have two embedded boards (one ARM, one PowerPC), running two
> > > different versions of 2.6. They have no hard drives, keyboards or
> > > mice. They each have a NIC, but I unde
On 5/29/07, Pavel Machek <[EMAIL PROTECTED]> wrote:
Hi!
> > I have two embedded boards (one ARM, one PowerPC), running two
> > different versions of 2.6. They have no hard drives, keyboards or
> > mice. They each have a NIC, but I understand these make no
> > contribution to the entropy pool.
Hi!
> > I have two embedded boards (one ARM, one PowerPC), running two
> > different versions of 2.6. They have no hard drives, keyboards or
> > mice. They each have a NIC, but I understand these make no
> > contribution to the entropy pool.
> >
> > if [ -f $random_seed ]; then
> >
On 5/29/07, Theodore Tso <[EMAIL PROTECTED]> wrote:
On Tue, May 29, 2007 at 12:53:10PM +0100, M Macnair wrote:
Ok, so this is telling me a couple of things. First of all, if you're
only getting three outputs, it means that you don't have any
peripherals feeding entropy into the system from the b
On Tue, May 29, 2007 at 12:53:10PM +0100, M Macnair wrote:
> I have two embedded boards (one ARM, one PowerPC), running two
> different versions of 2.6. They have no hard drives, keyboards or
> mice. They each have a NIC, but I understand these make no
> contribution to the entropy pool.
>
>
In brief: Adding entropy by writing to /dev/[u]random doesn't appear
to be working. I am aware that the reported available entropy (via
/proc/sys/kernel/random/entropy_avail) will not increase; the symptom
is /dev/random keeps spitting out the same numbers.
I have two embedded boards (one ARM, o
17 matches
Mail list logo