public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Nicolas Kalkhof <nkalkhof@web.de>
Cc: intel-gfx <Intel-gfx@lists.freedesktop.org>
Subject: Re: still experiencing oops connecting Laptop to docking Station
Date: Thu, 21 May 2015 16:56:34 +0200	[thread overview]
Message-ID: <20150521145634.GG15256@phenom.ffwll.local> (raw)
In-Reply-To: <trinity-5b686614-6562-40cd-85f6-a85efc69e831-1432218634030@3capp-webde-bs11>

On Thu, May 21, 2015 at 04:30:34PM +0200, Nicolas Kalkhof wrote:
> Hi Daniel,
>  
> > Ah, Chris hunch against my claim that this is impossible was spot-on. Can
> > you please try the below hack please and grab dmesg? Hopefully the kernel
> > won't die any more at least.
> 
> Unfortunately the patch doesn't keep my machine from crashing.
> 
> image of stack trace: http://imgur.com/CV5ho1B
> dmesg: http://pastebin.com/T69SPT3g
> 
> it seems that the problem now occurs in drm_atomic_get_connector_state.

Hm something seems to be deeply wrong here. And the oops you've captured
still doesn't include the debug messages before things go boom. Can you
please replace the WARN_ON in my previous patch with a BUG_ON? That should
stop the machine at least and hopefully prevents it all from going boom.

And please play around with dmesg -n to get these debug messages to the
console. I really need them to figure out what's going wrong here.
-Daniel

> 
> (gdb) list *drm_atomic_get_connector_state+0x40
> 0xff0 is in drm_atomic_get_connector_state (drivers/gpu/drm/drm_atomic.c:652).
> 647              *
> 648              * Note that we only grab the indexes once we have the right lock to
> 649              * prevent hotplug/unplugging of connectors. So removal is no problem,
> 650              * at most the array is a bit too large.
> 651              */
> 652             if (index >= state->num_connector) {
> 653                     DRM_DEBUG_ATOMIC("Hot-added connector would overflow state array, restarting\n");
> 654                     return ERR_PTR(-EAGAIN);
> 655             }
> 656
> (gdb)   
> 
> HTH
> Nic

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-05-21 14:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-20 15:05 still experiencing oops connecting Laptop to docking Station Nicolas Kalkhof
2015-05-20 15:38 ` Daniel Vetter
2015-05-20 16:00   ` Nicolas Kalkhof
2015-05-20 16:39     ` Daniel Vetter
2015-05-20 16:44       ` Chris Wilson
2015-05-20 17:06       ` Nicolas Kalkhof
2015-05-21  9:48         ` Daniel Vetter
2015-05-21 10:32           ` Nicolas Kalkhof
2015-05-21 12:06             ` Daniel Vetter
2015-05-21 14:30               ` Nicolas Kalkhof
2015-05-21 14:56                 ` Daniel Vetter [this message]
2015-05-21 19:42                   ` Nicolas Kalkhof

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=20150521145634.GG15256@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=Intel-gfx@lists.freedesktop.org \
    --cc=nkalkhof@web.de \
    /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