public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Calvin Owens <jcalvinowens@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Arnd Bergmann <arnd@arndb.de>,
	linux-kernel@vger.kernel.org
Subject: Re: BUG: drivers/char/random.c:986
Date: Fri, 29 Aug 2014 07:26:55 -0400	[thread overview]
Message-ID: <20140829112655.GB20278@thunk.org> (raw)
In-Reply-To: <20140829050150.GA3011@gmail.com>

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: http://i.imgur.com/N1GQeJW.jpg
> 
> 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.  :-)

Cheers,

						- Ted

      reply	other threads:[~2014-08-29 11:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-29  5:01 BUG: drivers/char/random.c:986 Calvin Owens
2014-08-29 11:26 ` Theodore Ts'o [this message]

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=20140829112655.GB20278@thunk.org \
    --to=tytso@mit.edu \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=jcalvinowens@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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