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

From: wingel@t1.ctrl-c.liu.se
Date: Mon Aug 14 2000 - 15:31:57 EST


zdavid@unicef.org.yu wrote:
>HM better solution try something like this
>DarkThree:~# tcsh
># updatedb & ; cat /dev/random
>
>why tcsh because (same with sh)
>DarkThree:~# updatedb & ; cat /dev/random
>bash: syntax error near unexpected token `;'
>DarkThree:~#

updatedb & cat /dev/random

is how you write it in /bin/sh, an empty statement such as between
the & and the ; in your example isn't allowed

>a long time ago I was generating 16K long random key on server
>it was proces lasting quite a few hours.
>Later that day I did the same on house PC home it generetad
>the same 16K 2-4 times longer ???
>The same was if I generated key on server by night it was
>Painfully SLOW :((
>
>BUT it helped when I move mouse ???

Yes, only some drivers add to the randomness pool. I belive
the original problem was that the driver for his SCSI controller
doesn't add randomness, so nothing but keyboard input and mouse
input would give him more randomness. What he ought to do is
to modify the request_irq call in the SCSI driver and add
SA_RANDOM to the flags, otherwise running updatedb won't help.

  /Christer

-- 
"Just how much can I get away with and still go to heaven?"

- 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:34 EST