dd /dev/random hangs on RPI-B+

Ian Lepore ian at FreeBSD.org
Mon Nov 3 14:08:29 UTC 2014


On Mon, 2014-11-03 at 15:31 +0300, sig6247 wrote:
> Hi, 
> 
> I'm running r273923, just noticed dd hangs with /dev/random,
> something like
> 
> % dd if=/dev/random of=/dev/null bs=512K count=1
> 
> It never returns and takes all the CPU, and this process can't be
> killed. I also tried dd if=/dev/zero or dd if=/dev/mmcsd0, they
> both look fine. 
> 
> Any help would be appreciated.

Please update to r273958 or later.  /dev/random was briefly broken, it
didn't get fully seeded before launching userland apps and they could
get blocked waiting for more entropy.  Making it a bit worse, it also
didn't handle signals correctly so you couldn't cancel.  Should be all
fixed now.

-- Ian




More information about the freebsd-arm mailing list