mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Anders K. Pedersen" <akp@cohaesio.com>
To: Matt Mackall <mpm@selenic.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Let DAC960 supply entropy to random pool
Date: Mon, 06 Mar 2006 12:25:24 +0100	[thread overview]
Message-ID: <1141644324.3627.15.camel@homer.cohaesio.com> (raw)
In-Reply-To: <20060227000540.GN4650@waste.org>

On Mon, 2006-02-27 at 01:05, Matt Mackall wrote:
> On Thu, Feb 23, 2006 at 05:44:38PM +0100, Anders K. Pedersen wrote:
> > We have a couple of servers with Mylex RAID controllers (handled by the
> > DAC960 block device driver). There's normally no keyboard or mouse
> > attached, and neither the DAC960 nor the NIC driver (e100) provides
> > entropy to the random pool, so it was impossible to get any data from
> > /dev/random.
> 
> Doesn't the add_disk_randomness call in ll_rw_blk.c suffice? This is
> the proper path for disks to add entropy.

Apparently the add_disk_randomness call in ll_rw_blk.c isn't invoked for
my setup. There were absolutely no data available from /dev/random for
more than an hour (with heavy disk activity) before applying the
dac960.c patch, and after applying it, random data were instantly
available.

-- 
Med venlig hilsen - Best regards

Anders K. Pedersen
Network Engineer

  reply	other threads:[~2006-03-06 11:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 16:44 Anders K. Pedersen
2006-02-27  0:05 ` Matt Mackall
2006-03-06 11:25   ` Anders K. Pedersen [this message]
2006-03-06 17:44     ` Matt Mackall
2006-03-07 13:18       ` Anders K. Pedersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1141644324.3627.15.camel@homer.cohaesio.com \
    --to=akp@cohaesio.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mpm@selenic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®