Re: [Regression] 2.6.24-git8 (and earlier): Multiple processes stuck in D states after logout from KDE

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Peter Zijlstra <a.p.zijlstra@...>, Steven Rostedt <rostedt@...>, LKML <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Wednesday, January 30, 2008 - 7:42 pm

Update.

On Wednesday, 30 of January 2008, Rafael J. Wysocki wrote:

After reverting:

commit 37bb6cb4097e29ffee970065b74499cbf10603a3
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date:   Fri Jan 25 21:08:32 2008 +0100

    hrtimer: unlock hrtimer_wakeup

I no longer get processes in the D state, but there still is a problem with
artswrapper (this is an openSUSE 10.3 system, x86-64).  Namely,
after a suspend/resume cycle and logging out/logging in the user,
artswrapper gets stuck somewhere, apparently in the running (R) state.
For this reason it blocks any subsequent attempts to suspend.

Here's the relevant trace (from show_state()):

[  522.474919] artswrapper   R  running task        0  4805      1
[  522.474922]  ffff810074cd1f70 0000000000000082 0000000000000296 ffff810074cd1ed8
[  522.474926]  ffffffff80311769 ffff810074cd1f20 ffffffff80701240 ffffffff80701240
[  522.474930]  ffffffff80701240 ffffffff80701240 ffffffff80701240 ffffffff80701240
[  522.474933] Call Trace:
[  522.474940]  [<ffffffff80311769>] ? __up_read+0x8f/0x97
[  522.474963]  [<ffffffff8020c5cf>] retint_careful+0xd/0x21

where, according to gdb,

(gdb) l *__up_read+0x8f
0xffffffff80311769 is in __up_read (/home/rafael/src/linux-2.6/lib/rwsem-spinlock.c:273).
268
269             if (--sem->activity == 0 && !list_empty(&sem->wait_list))
270                     sem = __rwsem_wake_one_writer(sem);
271
272             spin_unlock_irqrestore(&sem->wait_lock, flags);
273     }
274
275     /*
276      * release a write lock on the semaphore
277      */

What gives?

Rafael
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Regression] 2.6.24-git8 (and earlier): Multiple processes s..., Rafael J. Wysocki, (Wed Jan 30, 6:38 pm)
Re: [Regression] 2.6.24-git8 (and earlier): Multiple process..., Rafael J. Wysocki, (Wed Jan 30, 7:42 pm)
Re: [Regression] 2.6.24-git8 (and earlier): Multiple process..., Alessandro Suardi, (Thu Jan 31, 3:12 pm)
[PATCH] hrtimer: fix hrtimer_init_sleeper() users, Peter Zijlstra, (Thu Jan 31, 10:27 am)
[PATCH -v2] hrtimer: fix hrtimer_init_sleeper() users, Peter Zijlstra, (Thu Jan 31, 11:42 am)