Re: /dev/random blocks forever on 2.2.12 and 2.2.16

From: Oscar Roozen (jor+lkml@xs4all.nl)
Date: Tue Aug 08 2000 - 07:20:41 EST


On Mon, Aug 07, 2000 at 07:41:37PM +0000, Miquel van Smoorenburg wrote:
> >Yes, I can put a monkey behind the keyboard, but if somebody knows a
> >better solution, please don't be shy. ;)
> Use /dev/urandom

You mean I do "ln -sf /dev/urandom /dev/random" ? Nah... ;)

Several people sent me a private email sugesting to use urandom instead,
but it's not what I use, it's about what all software on the machine uses.
Should I patch SSH? Should I patch SSL? Or are they using urandom anyway?

The issue here is that /dev/random is not working. Apparantly because
add_interrupt_randomness is not called from the SMART2 driver. But then
again, no add_*_randomness is called from any scsi/*.c driver.

The only call to add_interrupt_randomness I can find is in */kernel/pci.c
from handle_IRQ_event and I don't understand why this one never gets called
on this machine. Also the only call to add_blkdev_randomness is in ide.c.
Why is there no call from any of the scsi/*.c drivers?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:15 EST