public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Justin Pryzby <justinpryzby@users.sf.net>
To: "Luca T." <luca-t@libero.it>
Cc: linux-kernel@vger.kernel.org
Subject: Re: /dev/random broken?
Date: Sat, 28 Jun 2003 19:10:18 -0700	[thread overview]
Message-ID: <20030629021018.GA26162@andromeda> (raw)
In-Reply-To: <E19WOvK-0001I7-00@andromeda>

/dev/urandom is what you want; it makes up its own entropy.  /dev/random
uses entropy from user input (low order bits I imagine).  I assume that
this is how other unixes work, too.

Justin

On Sun, Jun 29, 2003 at 02:16:02AM +0000, Luca T. wrote:
> 
> Hello,
> i am not sure if this is a kernel/module problem but so it seems to me.
> My computer is an AMD 2000+ with an ABIT motherboard, my kernel version
> is 2.4.21-0.13mdk (but i tried it with 2.4.21-0.18mdk too and it doesn't
> work either).
> 
> If i give this command:
>  dd if=/dev/zero of=./xxx bs=1024 count=100
> it will work perfectly. But if i try to do the same reading from
> /dev/random with this command:
>  dd if=/dev/random of=./xxx bs=1024 count=100
> it will just sit there and stare at me until i move the mouse... and
> then the program will exit without any error message (i checked in
> /var/log/messages too and there is no message there either about this).
> 
> Is this a bug? If yes... do you have any idea that would help me fix it?
> 
> Thank you,
>     Luca
> 
> -
> To unsubscribe from this list: send the line 'unsubscribe linux-kernel' in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

       reply	other threads:[~2003-06-29  2:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E19WOvK-0001I7-00@andromeda>
2003-06-29  2:10 ` Justin Pryzby [this message]
2003-06-29  2:31   ` /dev/random broken? Robert Love
2003-06-29  2:36   ` Valdis.Kletnieks
2003-06-28 23:24 Luca T.
2003-07-01  4:30 ` H. Peter Anvin
  -- strict thread matches above, loose matches on Subject: below --
2003-06-28 23:18 Luca T.
2003-06-28 23:26 ` Rudo Thomas
2003-06-28 23:29 ` Måns Rullgård
2003-06-28 23:30 ` Tom Vier

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=20030629021018.GA26162@andromeda \
    --to=justinpryzby@users.sf.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luca-t@libero.it \
    /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