mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steven Rostedt <rostedt@goodmis.org>
To: Andrey Skvortsov <andrej.skvortzov@gmail.com>,
	Chris Wilson <chris@chris-wilson.co.uk>,
	Daniel Vetter <daniel.vetter@intel.com>,
	Jani Nikula <jani.nikula@linux.intel.com>,
	David Airlie <airlied@linux.ie>,
	intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org, Sitsofe Wheeler <sitsofe@gmail.com>
Subject: Re: [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object
Date: Thu, 5 Mar 2015 09:27:28 -0500	[thread overview]
Message-ID: <20150305142728.GC3042@home.goodmis.org> (raw)
In-Reply-To: <20150223201239.GC3871@crion86>

On Mon, Feb 23, 2015 at 11:12:39PM +0300, Andrey Skvortsov wrote:
> 
> This warning is moved from linux-next to v4.0-rc1 now. After system boot is just a black screen.
> I ssh'ed into the machine and saved the log. I attached updated dmesg.log with drm.debug=6. Hopefully it helps. 
> If you need any other debug information, traces, core dump or something else. Feel free to ask.
> 

I'm hitting this exact same warning on one of my test boxes.

 [drm] Initialized i915 1.6.0 20150130 for 0000:00:02.0 on minor 0
 ------------[ cut here ]------------ 
 WARNING: CPU: 7 PID: 116 at /home/rostedt/work/git/linux-trace.git/drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object+0x2de/0x300 [i915]()
 WARN_ON(obj->frontbuffer_bits)
 Modules linked in: i915 i2c_algo_bit e1000e drm_kms_helper ptp crc32c_intel drm pps_core i2c_core video sunrpc
 CPU: 7 PID: 116 Comm: kworker/u16:5 Not tainted 4.0.0-rc1-test #270
 Hardware name: Hewlett-Packard HP Compaq Pro 6300 SFF/339A, BIOS K01 v02.05 05/07/2012
 Workqueue: events_unbound async_run_entry_fn
  00000000000011ad ffff88001fa837e8 ffffffff816cc3cc 000000000000d4d4
  ffff88001fa83838 ffff88001fa83828 ffffffff8107b977 ffff8800d4fd0000
  ffff88001f2b5800 ffff8800d4f40040 ffff8800d4f40000 ffff8800d4f400c0
 Call Trace:
  [<ffffffff816cc3cc>] dump_stack+0x4c/0x6e
  [<ffffffff8107b977>] warn_slowpath_common+0x97/0xe0
  [<ffffffff8107ba76>] warn_slowpath_fmt+0x46/0x50
  [<ffffffffa01b513e>] i915_gem_free_object+0x2de/0x300 [i915]
  [<ffffffffa0079797>] drm_gem_object_free+0x27/0x30 [drm]
  [<ffffffffa01ebf55>] intel_user_framebuffer_destroy+0x75/0xa0 [i915]
  [<ffffffffa0084b1b>] drm_framebuffer_free+0x5b/0x70 [drm]
  [<ffffffffa00858f9>] drm_framebuffer_unreference+0x39/0x70 [drm]
  [<ffffffffa00859fc>] drm_mode_set_config_internal+0xcc/0x110 [drm]
  [<ffffffffa013dca8>] restore_fbdev_mode+0xc8/0xf0 [drm_kms_helper]
  [<ffffffffa013f780>] drm_fb_helper_restore_fbdev_mode_unlocked+0x30/0x80 [drm_kms_helper]
  [<ffffffffa013f7f4>] drm_fb_helper_set_par+0x24/0x50 [drm_kms_helper]
  [<ffffffffa020bada>] intel_fbdev_set_par+0x1a/0x60 [i915]
  [<ffffffff8139f9c4>] fbcon_init+0x514/0x5a0
  [<ffffffff8140f39c>] visual_init+0xbc/0x120
  [<ffffffff81411aea>] do_bind_con_driver+0x16a/0x320
  [<ffffffff81411dc4>] do_take_over_console+0x124/0x1d0
  [<ffffffff8139de6b>] do_fbcon_takeover+0x5b/0xb0
  [<ffffffff813a2bd2>] fbcon_event_notify+0x672/0x800
  [<ffffffff810997dd>] notifier_call_chain+0x4d/0x70
  [<ffffffff810999c8>] __blocking_notifier_call_chain+0x58/0x80
  [<ffffffff81099a06>] blocking_notifier_call_chain+0x16/0x20
  [<ffffffff813a970b>] fb_notifier_call_chain+0x1b/0x20
  [<ffffffff813ab96b>] register_framebuffer+0x1eb/0x320
  [<ffffffffa013fa34>] drm_fb_helper_initial_config+0x214/0x3a0 [drm_kms_helper]
  [<ffffffffa020c64b>] intel_fbdev_initial_config+0x1b/0x20 [i915]
  [<ffffffff8109b40c>] async_run_entry_fn+0x4c/0x160
  [<ffffffff81092bab>] process_one_work+0x14b/0x4a0
  [<ffffffff8109336b>] worker_thread+0x11b/0x480
  [<ffffffff81093250>] ? rescuer_thread+0x310/0x310
  [<ffffffff81098e89>] kthread+0xc9/0xe0
  [<ffffffff81090000>] ? wq_unbind_fn+0xa0/0x100
  [<ffffffff81098dc0>] ? flush_kthread_worker+0x90/0x90
  [<ffffffff816d3aac>] ret_from_fork+0x7c/0xb0
  [<ffffffff81098dc0>] ? flush_kthread_worker+0x90/0x90
 ---[ end trace 507288b4d65403f3 ]---

It's not connected to a monitor so I don't know if it has a blank screen or not.
But because of the warning, it makes my tests fail (ktest fails or call traces
like this).

I bisected it down to this commit:

commit 455a68086d1dfb801ad7c867d5ca0ed0e0f758b0
Author: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Date:   Mon Dec 1 15:40:11 2014 -0800

    drm/i915: remove intel_pipe_set_base() (v4)


-- Steve


  parent reply	other threads:[~2015-03-05 14:27 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-03 19:15 [regression in linux-next] i915: broken graphics on laptop Andrey Skvortsov
2015-02-03 20:21 ` [Intel-gfx] " Chris Wilson
2015-02-04 18:26   ` Andrey Skvortsov
2015-02-04 18:42     ` Chris Wilson
2015-02-23 20:10       ` [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object Andrey Skvortsov
2015-02-23 20:12       ` Andrey Skvortsov
2015-02-23 21:20         ` Chris Wilson
2015-02-23 23:42           ` Daniel Vetter
2015-02-28 12:20             ` Andrey Skvortsov
2015-02-28 21:10               ` Chris Wilson
2015-02-28 21:57                 ` [Intel-gfx] [Regression] BUG: unable to handle kernel NULL pointer dereference Andrey Skvortsov
2015-03-01  8:29                   ` Chris Wilson
2015-03-01  9:30                     ` Andrey Skvortsov
2015-03-01 10:28                       ` Chris Wilson
2015-03-05 14:27         ` Steven Rostedt [this message]
2015-03-16 15:45           ` [Intel-gfx] [Regression] WARNING: drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object Steven Rostedt
2015-03-16 16:43             ` Daniel Vetter
2015-03-16 17:21               ` Steven Rostedt
2015-03-17  7:53                 ` Daniel Vetter
2015-03-18  0:46                   ` Steven Rostedt
2015-03-18  8:30                     ` Jani Nikula

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=20150305142728.GC3042@home.goodmis.org \
    --to=rostedt@goodmis.org \
    --cc=airlied@linux.ie \
    --cc=andrej.skvortzov@gmail.com \
    --cc=chris@chris-wilson.co.uk \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jani.nikula@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sitsofe@gmail.com \
    /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

Powered by JetHome