From: Ingo Molnar <mingo@elte.hu>
To: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
Cc: Gabriel C <nix.or.die@googlemail.com>,
Carsten Emde <carsten.emde@osadl.org>,
"jcaceres@ccrma.Stanford.EDU" <jcaceres@ccrma.Stanford.EDU>,
Steven Rostedt <rostedt@goodmis.org>,
RT-Users <linux-rt-users@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Rui Nuno Capela <rncbc@rncbc.org>
Subject: Re: v2.6.21.5-rt19 (sched_getaffinity?)
Date: Tue, 17 Jul 2007 22:12:42 +0200 [thread overview]
Message-ID: <20070717201242.GB2426@elte.hu> (raw)
In-Reply-To: <1184702217.21931.19.camel@cmn3.stanford.edu>
* Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> wrote:
> On Tue, 2007-07-17 at 21:32 +0200, Ingo Molnar wrote:
> > * Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> wrote:
> >
> > > I do get flash 9 (I know, not the best example) and tomboy to hang as
> > > reported by one of my Planet CCRMA users - flash 9 tested working on
> > > stock fedora 7 kernel - and both seem to hang in the same system call:
> > >
> > > sched_getaffinity(3528, 32, <unfinished ...>
> > >
> > > Full output of strace attached for both cases.
> >
> > hm, that's weird. Is it completely unkillable at that time? Could you do
> > a few things: enable CONFIG_PROVE_LOCKING (lockdep), and also try to get
> > a full task state dump via:
> >
> > echo t > /proc/sysrq-trigger
>
> Trace attached... the process stays in D state no matter what.
hm, seems to be related to:
Jul 17 12:51:18 localhost kernel: sched-powersa D [f0aaf930] 00000005 6584 3420 3407
which blocks the cpu-hotplug mutex:
Jul 17 12:51:18 localhost kernel: Call Trace:
Jul 17 12:51:18 localhost kernel: [<c0603f46>] schedule+0xe0/0xfa
Jul 17 12:51:18 localhost kernel: [<c0604d0d>] rt_mutex_slowlock+0x164/0x20b
Jul 17 12:51:18 localhost kernel: [<c0604a5c>] rt_mutex_lock+0x3c/0x3f
Jul 17 12:51:18 localhost kernel: [<c0423bb4>] sched_getaffinity+0x14/0x94
Jul 17 12:51:18 localhost kernel: [<c045a647>] __synchronize_sched+0xd/0x5a
Jul 17 12:51:18 localhost kernel: [<c0423732>] arch_reinit_sched_domains+0x18/0x33
Jul 17 12:51:18 localhost kernel: [<c0423789>] sched_power_savings_store+0x3c/0x49
Jul 17 12:51:18 localhost kernel: [<c0552cd4>] sysdev_class_store+0x1e/0x22
Jul 17 12:51:18 localhost kernel: [<c04b195b>] sysfs_write_file+0xa3/0xc6
Jul 17 12:51:18 localhost kernel: [<c047a64a>] vfs_write+0xa8/0x154
Jul 17 12:51:18 localhost kernel: [<c047ac65>] sys_write+0x41/0x67
Jul 17 12:51:18 localhost kernel: [<c0404f7c>] syscall_call+0x7/0xb
and firefox blocks on the same mutex too:
Jul 17 12:51:18 localhost kernel: firefox-bin D [efc44670] 00000012 6368 4388 1
Jul 17 12:51:18 localhost kernel: Call Trace:
Jul 17 12:51:18 localhost kernel: [<c0603f46>] schedule+0xe0/0xfa
Jul 17 12:51:18 localhost kernel: [<c0604d0d>] rt_mutex_slowlock+0x164/0x20b
Jul 17 12:51:18 localhost kernel: [<c0604a5c>] rt_mutex_lock+0x3c/0x3f
Jul 17 12:51:18 localhost kernel: [<c0423bb4>] sched_getaffinity+0x14/0x94
Jul 17 12:51:18 localhost kernel: [<c0423c53>] sys_sched_getaffinity+0x1f/0x41
Jul 17 12:51:18 localhost kernel: [<c0404f7c>] syscall_call+0x7/0xb
Jul 17 12:51:18 localhost kernel: [<b7f0f410>] 0xb7f0f410
does lockdep pinpoint anything?
Ingo
next prev parent reply other threads:[~2007-07-17 20:13 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-04 20:49 v2.6.21.5-rt19 Thomas Gleixner
2007-07-06 14:10 ` v2.6.21.5-rt19 Rui Nuno Capela
2007-07-06 21:49 ` v2.6.21.5-rt19 Fernando Lopez-Lezcano
2007-07-07 9:15 ` v2.6.21.5-rt19 Ingo Molnar
2007-07-07 9:24 ` v2.6.21.5-rt19 Ingo Molnar
2007-07-08 22:36 ` v2.6.21.5-rt19 Fernando Lopez-Lezcano
2007-07-08 22:50 ` v2.6.21.5-rt19 Fernando Lopez-Lezcano
2007-07-08 23:42 ` v2.6.21.5-rt19 Gabriel C
2007-07-09 3:53 ` v2.6.21.5-rt19 Fernando Pablo Lopez-Lezcano
2007-07-09 5:08 ` v2.6.21.5-rt19 (sched_getaffinity?) Fernando Lopez-Lezcano
2007-07-17 19:32 ` Ingo Molnar
2007-07-17 19:47 ` Fernando Lopez-Lezcano
2007-07-17 19:56 ` Fernando Lopez-Lezcano
2007-07-17 20:12 ` Ingo Molnar [this message]
2007-07-17 21:41 ` Fernando Lopez-Lezcano
2007-07-17 23:51 ` Fernando Lopez-Lezcano
2007-07-18 7:18 ` Ingo Molnar
2007-07-18 13:21 ` Paul E. McKenney
2007-07-18 18:02 ` Fernando Lopez-Lezcano
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=20070717201242.GB2426@elte.hu \
--to=mingo@elte.hu \
--cc=carsten.emde@osadl.org \
--cc=jcaceres@ccrma.Stanford.EDU \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@vger.kernel.org \
--cc=nando@ccrma.Stanford.EDU \
--cc=nix.or.die@googlemail.com \
--cc=rncbc@rncbc.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.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
all inboxes | Powered by JetHome®