Re: BUG: drivers/char/random.c:986

From: Theodore Ts'o
Date: Fri Aug 29 2014 - 07:27:06 EST

On Thu, Aug 28, 2014 at 10:01:50PM -0700, Calvin Owens wrote:
> Hello all,
> I hit this BUG_ON() on my laptop a few days ago:
> In the current upstream, this corresponds to line 1022:
> BUG_ON(r->entropy_count > r->poolinfo->poolfracbits);
> It triggered when I executed `dd if=/dev/urandom of=file bs=N count=1`
> while watching a YouTube video in Chromium. I don't recall the exact value of
> N I used, but it was rather large (>50M), and a few bytes past an even power
> of two (I was creating a file to test an HTTP upload script I was working on).
> I haven't had any luck reproducing this on the current upstream or the version
> it was originally triggered on.

Known bug, fixed in 79a8468747c5 which landed in mainline as of
3.16-rc6. And you were running 3.16-rc4. (BTW, in the future it
would be nice if you mentioned the kernel version you were running in;
I found it by looking at the jpg, but it's always more convenient to
be able to read it in ASCII. :-)


- Ted
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at