From: Ben Skeggs <skeggsb@gmail.com>
To: Marc Dionne <marc.c.dionne@gmail.com>
Cc: Dave Airlie <airlied@redhat.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: System freeze on shutdown - bisected to commit 29d08b3efddc
Date: Thu, 07 Oct 2010 13:38:26 +1000 [thread overview]
Message-ID: <1286422706.2468.1.camel@nisroch> (raw)
In-Reply-To: <AANLkTimR4JYmA4n0kGZ+mHqEfNUrxoLMAC6hW6s4-YhF@mail.gmail.com>
v gOn Wed, 2010-10-06 at 23:29 -0400, Marc Dionne wrote:
> On Tue, Oct 5, 2010 at 8:21 PM, Dave Airlie <airlied@redhat.com> wrote:
> > On Tue, 2010-10-05 at 18:24 -0400, Marc Dionne wrote:
> >> Hi,
> >>
> >> My system has been crashing these past few days when issuing "reboot"
> >> or hitting the Shut Down button in gnome. I get a series of stack
> >> traces scrolling on the console before things freeze up completely.
> >> The traces that I do see at the end point to kmem_cache_alloc called
> >> from get_empty_filp, but there are typically various other traces
> >> above it.
> >
> > cc'ing Ben.
> >
> > Dave.
>
> Some more testing shows that what causes the crash is when
> drm_gem_object_unreference_unlocked gets called in
> nouveau_notifier_takedown_channel. The refcount on the object is
> always 1 at that point - on entry to nouveau_notifier_takedown I see a
> handle_count of 0 and a refcount of 1 in most cases, and sometimes a
> handle_count of 1 and a refcount of 2. Either way the call to
> drm_gem_object_unreference_unlocked will bring the refcount to 0.
> Not sure if that's normal at that point.
>
> Commenting out that particular call to
> drm_gem_object_unreference_unlocked gets rid of the crash.
How about if you remove the drm_get_object_handle_unreference_unlocked()
call from that function instead?
Ben.
>
> Marc
next prev parent reply other threads:[~2010-10-07 3:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-05 22:24 System freeze on shutdown - bisected to commit 29d08b3efddc Marc Dionne
2010-10-06 0:21 ` Dave Airlie
2010-10-07 3:29 ` Marc Dionne
2010-10-07 3:38 ` Ben Skeggs [this message]
2010-10-07 3:46 ` Marc Dionne
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=1286422706.2468.1.camel@nisroch \
--to=skeggsb@gmail.com \
--cc=airlied@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.c.dionne@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