NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48028: Read from /dev/random hangs



The following reply was made to PR kern/48028; it has been noted by GNATS.

From: Aran Clauson <aran%otsys.com@localhost>
To: riastradh%NetBSD.org@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/48028: Read from /dev/random hangs
Date: Thu, 18 Jul 2013 20:38:46 -0700 (PDT)

 Taylor,
 
 I'm running a kernel built from sources as of this morning (7/18/2013) with the
 debugging options you specified.  Sixteen byte reads from /dev/random are still
 taking a long time (3:35, 1:02, 1:47).  
 
 The rnd message are as follows:
 
 $ dmesg | grep rnd
 rnd: callout attached as an entropy source (collecting without estimation)
 rnd: initialised (4096) with counter
 rnd: WARNING! initial entropy low (3).
 rnd: starting statistical RNG test, entropy = 4.
 rnd: statistical RNG test done, entropy = 4.
 rnd: WARNING! initial entropy low (0).
 rnd: system-power attached as an entropy source (collecting)
 rnd: WARNING! initial entropy low (1).
 rnd: WARNING! initial entropy low (0).
 rnd: acpibat0-charge attached as an entropy source (collecting)
 rnd: acpibat0-discha attached as an entropy source (collecting)
 rnd: thinkpad0-tempe attached as an entropy source (collecting)
 rnd: thinkpad0-tempe attached as an entropy source (collecting)
 rnd: thinkpad0-tempe attached as an entropy source (collecting)
 rnd: thinkpad0-tempe attached as an entropy source (collecting)
 rnd: thinkpad0-tempe attached as an entropy source (collecting)
 rnd: thinkpad0-tempe attached as an entropy source (collecting)
 rnd: thinkpad0-tempe attached as an entropy source (collecting)
 rnd: thinkpad0-tempe attached as an entropy source (collecting)
 rnd: thinkpad0-fan-s attached as an entropy source (collecting)
 rnd: acpitz0-cpu0/cp attached as an entropy source (collecting)
 rnd: pckbd0 attached as an entropy source (collecting)
 rnd: pms0 attached as an entropy source (collecting)
 rnd: wm0 attached as an entropy source (off)
 rnd: coretemp0-cpu0 attached as an entropy source (collecting)
 rnd: coretemp1-cpu2 attached as an entropy source (collecting)
 rnd: cpu0 attached as an entropy source (collecting)
 rnd: cpu1 attached as an entropy source (collecting)
 rnd: cpu2 attached as an entropy source (collecting)
 rnd: cpu3 attached as an entropy source (collecting)
 rnd: empty, asking for 509 bits
 rnd: wd0 attached as an entropy source (collecting)
 rnd: empty, asking for 509 bits
 rnd: empty, asking for 509 bits
 rnd: cd0 attached as an entropy source (collecting)
 rnd: empty, asking for 508 bits
 rnd: WARNING! initial entropy low (28).
 rnd: WARNING! initial entropy low (0).
 rnd: empty, asking for 512 bits
 rnd: empty, asking for 511 bits
 rnd: empty, asking for 511 bits
 rnd: WARNING! initial entropy low (6).
 rnd: WARNING! initial entropy low (0).
 rnd: empty, asking for 512 bits
 rnd: empty, asking for 511 bits
 rnd: empty, asking for 511 bits
 rnd: empty, asking for 511 bits
 rnd: empty, asking for 511 bits
 rnd: empty, asking for 510 bits
 rnd: empty, asking for 510 bits
 rnd: empty, asking for 510 bits
 rnd: empty, asking for 510 bits
 rnd: empty, asking for 509 bits
 rnd: empty, asking for 509 bits
 rnd: empty, asking for 509 bits
 rnd: empty, asking for 509 bits
 rnd: empty, asking for 508 bits
 rnd: empty, asking for 508 bits
 rnd: empty, asking for 508 bits
 rnd: empty, asking for 508 bits
 rnd: empty, asking for 507 bits
 rnd: empty, asking for 507 bits
 rnd: empty, asking for 507 bits
 rnd: empty, asking for 507 bits
 rnd: empty, asking for 506 bits
 rnd: empty, asking for 506 bits
 rnd: empty, asking for 506 bits
 rnd: empty, asking for 506 bits
 rnd: empty, asking for 505 bits
 rnd: empty, asking for 505 bits
 rnd: empty, asking for 505 bits
 rnd: empty, asking for 505 bits
 rnd: empty, asking for 504 bits
 rnd: empty, asking for 504 bits
 rnd: empty, asking for 504 bits
 rnd: empty, asking for 504 bits
 rnd: empty, asking for 503 bits
 rnd: empty, asking for 503 bits
 rnd: empty, asking for 503 bits
 rnd: empty, asking for 503 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: have initial entropy (84)
 rnd: source wd0 is fast (1 samples at once, 188 bits in 6 seconds), processing 
samples in bulk.
 rnd: source pms0 is fast (1 samples at once, 16 bits in 156 seconds), 
processing samples in bulk.
 rnd: source pckbd0 is fast (1 samples at once, 72 bits in 156 seconds), 
processing samples in bulk.
 rnd: source coretemp1-cpu2 is fast (1 samples at once, 16 bits in 156 
seconds), processing samples in bulk.
 rnd: source coretemp0-cpu0 is fast (1 samples at once, 16 bits in 156 
seconds), processing samples in bulk.
 rnd: source thinkpad0-tempe is fast (1 samples at once, 21 bits in 205 
seconds), processing samples in bulk.
 rnd: empty, asking for 503 bits
 rnd: empty, asking for 503 bits
 rnd: empty, asking for 503 bits
 rnd: source thinkpad0-fan-s is fast (1 samples at once, 40 bits in 383 
seconds), processing samples in bulk.
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 502 bits
 rnd: empty, asking for 510 bits
 rnd: empty, asking for 502 bits
 
 
 
 Aran
 


Home | Main Index | Thread Index | Old Index