Re: [PATCH] Let DAC960 supply entropy to random pool

From: Anders K. Pedersen
Date: Mon Mar 06 2006 - 06:25:22 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/