From: Andrew Watts <akwatts@ymail.com>
To: Tejun Heo <tj@kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
linux-kernel@vger.kernel.org,
linux-pm@lists.linux-foundation.org,
David Airlie <airlied@linux.ie>,
dri-devel@lists.freedesktop.org
Subject: Re: [REGRESSION]: hibernate/sleep regression w/ bisection
Date: Wed, 25 Apr 2012 15:04:34 -0500 [thread overview]
Message-ID: <20120425200402.GB22273@zeus> (raw)
In-Reply-To: <20111104161431.GZ4417@google.com>
Hello all.
I wanted to follow-up on a very peculiar yet highly reproducible bug
involving suspend/resume, radeon, and a seemingly unrelated patch to
input serio.
The last comment in the thread was from Jerome Glisse saying it was a tough
bug to fix. Has anyone had any good ideas on how to fix it since?
Thanks!
~ Andy
On Fri, Nov 04, 2011 at 09:14:31AM -0700, Tejun Heo wrote:
> (cc'ing David Airlie and dri-devel)
>
> Hello, the original thread can be read from
>
> http://thread.gmane.org/gmane.linux.kernel/1209587
>
> Full sysrq-t output at
>
> http://article.gmane.org/gmane.linux.kernel/1211256
>
> So, the problem is that after a seemingly unreated update to input
> serio driver (convert to use workqueue), X seems to lock up
> sporadically across suspend/resume cycles.
>
> I went through the full sysrq-t output but couldn't spot anything
> suspicious w/ anything else. No worker is stuck and nobody is waiting
> for flush to finish.
>
> Stack trace for X follows.
>
> > X S f499b944 5800 1652 1651 0x00400080
> > f499b9a8 00003086 00000000 f499b944 c100d4a4 00000000 00000000 f499b958
> > 00000000 f499b9a8 f5173140 d7857c56 00000057 f5173140 d8b69880 00000057
> > 00000001 00000000 f499b9b4 c104dd89 000f4240 00000000 00000000 f499ba68
> > Call Trace:
> > [<c1291301>] ttm_bo_wait_unreserved+0x5f/0x106
> > [<c129145f>] ttm_bo_reserve_locked+0xb7/0xe1
> > [<c1292c27>] ttm_bo_reserve+0x26/0x95
> > [<c12c3c97>] radeon_crtc_do_set_base+0xbd/0x6d2
> > [<c12c42e7>] radeon_crtc_set_base+0x1b/0x1d
> > [<c12c430d>] radeon_crtc_mode_set+0x24/0xdd7
> > [<c1279c57>] drm_crtc_helper_set_mode+0x32c/0x48b
> > [<c1279e2f>] drm_helper_resume_force_mode+0x79/0x23e
> > [<c12ace10>] radeon_gpu_reset+0x84/0x98
> > [<c12c0838>] radeon_fence_wait+0x2d1/0x311
> > [<c12c0e37>] radeon_sync_obj_wait+0xc/0xe
> > [<c12908be>] ttm_bo_wait+0xa1/0x108
> > [<c12d6e7b>] radeon_gem_wait_idle_ioctl+0x76/0xc4
> > [<c127e62e>] drm_ioctl+0x1c2/0x42c
> > [<c10e288e>] do_vfs_ioctl+0x79/0x54b
> > [<c10e2dcb>] sys_ioctl+0x6b/0x70
> > [<c1593813>] sysenter_do_call+0x12/0x22
>
> Do you guys have any ideas what's going on? It seems to be waiting
> for bo->reserved to go zero. Is it possible that someone there is
> forgetting to properly kick a work item after resume causing the wait
> to stall?
>
> Andrew, can you please kill the X server after the hang and see
> whether that brings the system back? I think sshd should still work
> and if not you can write a script to kill the X server after 30secs
> after resume (and kill that script if resume succeeds).
>
> Thank you.
>
> --
> tejun
next prev parent reply other threads:[~2012-04-25 20:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20111101124759.GA1326@zeus>
2011-11-01 16:42 ` [REGRESSION]: hibernate/sleep regression w/ bisection Tejun Heo
[not found] ` <20111101164235.GS18855@google.com>
2011-11-01 19:15 ` Andrew Watts
[not found] ` <20111101191459.GA2748@zeus>
2011-11-01 20:19 ` Tejun Heo
2011-11-02 0:24 ` Andrew Watts
2011-11-02 5:46 ` Dmitry Torokhov
2011-11-02 15:04 ` Andrew Watts
2011-11-02 16:02 ` Andrew Watts
[not found] ` <20111102160208.GA6657@zeus>
2011-11-02 16:31 ` Dmitry Torokhov
2011-11-02 17:01 ` Andrew Watts
[not found] ` <20111102170058.GA2388@zeus>
2011-11-02 17:08 ` Dmitry Torokhov
2011-11-03 15:59 ` Tejun Heo
2011-11-03 18:46 ` Andrew Watts
[not found] ` <20111103184559.GA3295@zeus>
2011-11-03 21:39 ` Tejun Heo
2011-11-04 13:44 ` Andrew Watts
[not found] ` <20111104134347.GA2480@zeus>
2011-11-04 16:14 ` Tejun Heo
[not found] ` <20111104161431.GZ4417@google.com>
2011-11-04 16:48 ` Jerome Glisse
2011-11-04 17:34 ` Andrew Watts
[not found] ` <20111104173441.GA2157@zeus>
2011-11-04 17:35 ` Jerome Glisse
2011-11-04 17:44 ` Jerome Glisse
[not found] ` <20111104174401.GB2015@homer.localdomain>
2011-11-04 18:45 ` Andrew Watts
[not found] ` <CAH3drwaXcUy1vz8bvHwE2_iga5WUsWn_Dp0oe_0r3UacV0vT_A@mail.gmail.com>
2011-11-04 23:08 ` Andrew Watts
[not found] ` <20111104230758.GA7332@zeus>
2011-11-21 21:09 ` Tejun Heo
2011-11-21 21:29 ` Jerome Glisse
[not found] ` <CAH3drwbtWJcPOixW0gze0e0jbTn_uY0x5E=KY8N-WDcb1t8h2w@mail.gmail.com>
2011-11-22 11:40 ` Andrew Watts
2012-04-25 20:04 ` Andrew Watts [this message]
2011-11-01 12:48 Andrew Watts
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=20120425200402.GB22273@zeus \
--to=akwatts@ymail.com \
--cc=airlied@linux.ie \
--cc=dmitry.torokhov@gmail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.linux-foundation.org \
--cc=tj@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;
as well as URLs for NNTP newsgroup(s).