From: Mathieu Desnoyers <compudj@krystal.dyndns.org>
To: jpaul@gdrs.com
Cc: paulmck@linux.vnet.ibm.com, ltt-dev@lists.casi.polymtl.ca,
linux-rt-users@vger.kernel.org
Subject: Re: [ltt-dev] lttctl locks up with RT Linux
Date: Fri, 14 May 2010 10:56:55 -0400 [thread overview]
Message-ID: <20100514145655.GA9145@Krystal> (raw)
In-Reply-To: <A47866F933DF804684068A24BF04A9730862A80B@gdrs-exchange.gdrs.com>
Ah! I think I brought debugging to a whole new level here, including
developer interaction in the bissection. ;)
Thanks for the reports, they have been very useful to re-enable LTTng
for -rt kernels,
Mathieu
* jpaul@gdrs.com (jpaul@gdrs.com) wrote:
> Thanks Mathieu. This was my fault .. I couldn't apply your patch
> (kept getting failures on hunks 2-8 for some reason) so I hand patched
> the file and in doing so, transposed a rcu unlock with an rcu lock
> (just as you suspected). So, after correcting that, all is well and
> I'm able to perform tracing under 2.6.33.2 RT.
>
> Thanks Much!
>
> JP
>
>
> -----Original Message-----
> From: Mathieu Desnoyers [mailto:compudj@krystal.dyndns.org]
> Sent: Thu 5/13/2010 2:23 PM
> To: John P. Paul
> Cc: ltt-dev@lists.casi.polymtl.ca; paulmck@linux.vnet.ibm.com; linux-rt-users@vger.kernel.org
> Subject: Re: [ltt-dev] lttctl locks up with RT Linux
>
> Please double-check that you applied the last patch correctly. I tried
> building a lttng-enabled -rt tree here (x86 64 box), and it works (I can
> start/stop tracing and see the trace in lttv).
>
> Note that I simply discarded the conflicting instrumentation patches for
> this quick test.
>
> I'm pretty sure an error could have been inserted in async_wakeup()
> within ltt-tracer.c. Can you paste the code you have ?
>
> Unbalanced rcu read lock/unlock could be causing this.
>
> Thanks,
>
> Mathieu
>
> * jpaul@gdrs.com (jpaul@gdrs.com) wrote:
> > Turning off CONFIG_RCU_CPU_STALL_DETECTOR does not solve the issue with starting up "lttctl -C" ... that call never returns. I'm no longer getting the stack dumps in /var/log/messages and I still have to hard reboot the system as soft reboot doesn't work.
> >
> > JP
>
> --
> This is an e-mail from General Dynamics Robotic Systems. It is for the intended recipient only and may contain confidential and privileged information. No one else may read, print, store, copy, forward or act in reliance on it or its attachments. If you are not the intended recipient, please return this message to the sender and delete the message and any attachments from your computer. Your cooperation is appreciated.
>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev@lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
next prev parent reply other threads:[~2010-05-14 14:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <A47866F933DF804684068A24BF04A9730862A74C@gdrs-exchange.gdrs.com>
[not found] ` <20100422160601.GB28863@Krystal>
[not found] ` <A47866F933DF804684068A24BF04A97309116C93@gdrs-exchange.gdrs.com>
[not found] ` <20100511115939.GA17304@Krystal>
[not found] ` <A47866F933DF804684068A24BF04A9730862A7EB@gdrs-exchange.gdrs.com>
2010-05-11 15:11 ` lttctl locks up with RT Linux Mathieu Desnoyers
2010-05-11 20:15 ` jpaul
2010-05-13 18:23 ` [ltt-dev] " Mathieu Desnoyers
2010-05-14 14:33 ` jpaul
2010-05-14 14:56 ` Mathieu Desnoyers [this message]
2010-05-11 22:11 ` Paul E. McKenney
2010-05-12 12:26 ` jpaul
2010-05-12 23:10 ` Paul E. McKenney
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=20100514145655.GA9145@Krystal \
--to=compudj@krystal.dyndns.org \
--cc=jpaul@gdrs.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=ltt-dev@lists.casi.polymtl.ca \
--cc=paulmck@linux.vnet.ibm.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;
as well as URLs for NNTP newsgroup(s).