[lkml]   [1996]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: /dev/random never refills, 1.99.7
- From lilo ( Fri, 24 May 1996 06:20:18 -0500 (CDT) 

> See topic. I was silly enough to do a cat of /dev/random, now, 10 hours
> later, still nothing there.
> Got lots of interrupts overnight, run my computer constantly.
> ?? :)

No drivers use add_irq_randomness() at present, as I said earlier (below)

Also note that the floppy and IDE driver *look like* they use the
add_irq_randomness() because they use a SA_SAMPLE_RANDOM flag with
the call to request_irq(). But they also use SA_INTERRUPT, which means
using do_fast_IRQ() which correctly avoids calling add_irq_randomness(),
as it is only called inside do_IRQ(). In other words, using
SA_INTERRUPT|SA_SAMPLE_RANDOM is functionally equivalent to SA_INTERRUPT.
So to this point in time, it appears that *nobody* has used
add_irq_randomness() yet.

So you will have to put your keyboard in the bottom of your pet hampster's
cage overnight, or run updatedb at 2:30am to create some disk activity.


 \ /
  Last update: 2005-03-22 13:37    [W:0.042 / U:5.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site