Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Nov 2014 07:08:24 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        sig6247 <sig6247@list.ru>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: dd /dev/random hangs on RPI-B+
Message-ID:  <1415023704.1200.47.camel@revolution.hippie.lan>
In-Reply-To: <E1XlGna-0002Ky-4L.sig6247-list-ru@smtp37.i.mail.ru>
References:  <E1XlGna-0002Ky-4L.sig6247-list-ru@smtp37.i.mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1415023704.1200.47.camel>