From: David Smith <dsmith@redhat.com>
To: maynardj@us.ibm.com
Cc: Roland McGrath <roland@redhat.com>,
systemtap@sourceware.org,
"Frank Ch. Eigler" <fche@redhat.com>
Subject: Re: Backward compatibility for insn probe point
Date: Thu, 14 May 2009 21:36:00 -0000 [thread overview]
Message-ID: <4A0C8ED3.4090301@redhat.com> (raw)
In-Reply-To: <4A0C7482.3010103@redhat.com>
David Smith wrote:
> Maynard Johnson wrote:
>>> David Smith wrote:
>>> One last thing. I thought I'd try block stepping, so I got access to an
>>> ia64 machine. Unfortunately, using systemtap insn probes (either single
>>> or block step) lock up the system with a spinlock lockup. Sigh.
>> Does anyone know who maintains ia64/utrace? David, was the above error
>> on "old" utrace or "new"?
>
> The error is on "old" utrace. I'm trying to look into the ia64 utrace
> problem now.
Here's what I see on the console (running lockdep enabled
2.6.18-146.el5debug):
====
BUG: spinlock lockup on CPU#0, ls/2576, e0000040fe1092d8 (Tainted: G)
Call Trace:
[<a000000100013b40>] show_stack+0x40/0xa0
sp=e0000003f640f870 bsp=e0000003f6409440
[<a000000100013bd0>] dump_stack+0x30/0x60
sp=e0000003f640fa40 bsp=e0000003f6409428
[<a0000001002de200>] _raw_spin_lock+0x200/0x260
sp=e0000003f640fa40 bsp=e0000003f64093e8
[<a00000010065ff50>] _spin_lock_irqsave+0x30/0x60
sp=e0000003f640fa40 bsp=e0000003f64093c0
[<a00000010009c730>] force_sig_info+0x30/0x160
sp=e0000003f640fa40 bsp=e0000003f6409380
[<a000000100661450>] ia64_fault+0xff0/0x1280
sp=e0000003f640fa40 bsp=e0000003f6409328
[<a00000010000bfe0>] __ia64_leave_kernel+0x0/0x280
sp=e0000003f640fc60 bsp=e0000003f6409328
[<a0000001002de0d0>] _raw_spin_lock+0xd0/0x260
sp=e0000003f640fe30 bsp=e0000003f64092c0
[<a00000010065ff50>] _spin_lock_irqsave+0x30/0x60
sp=e0000003f640fe30 bsp=e0000003f6409298
[<a00000010009c730>] force_sig_info+0x30/0x160
sp=e0000003f640fe30 bsp=e0000003f6409258
[<a00000010009c890>] force_sig+0x30/0x60
sp=e0000003f640fe30 bsp=e0000003f6409230
[<a00000010002cfe0>] syscall_trace_leave+0x100/0x140
sp=e0000003f640fe30 bsp=e0000003f64091d0
[<a00000010000bda0>] __ia64_trace_syscall+0x100/0x110
sp=e0000003f640fe30 bsp=e0000003f64091d0
[<a000000000010620>] __start_ivt_text+0xffffffff00010620/0x400
sp=e0000003f6410000 bsp=e0000003f64091d0
====
From what I can tell, the spinlock that is stuck is
current->sighand->siglock. force_sig_info() (from kernel/signal.c:739)
grabs the spinlock, but we get a fault somewhere? and end up in
__ia64_leave_kernel() (from arch/ia64/kernel/entry.S:813). The fault
handling in ia64_fault() calls force_sig_info() again, which tries to
grab same spinlock again.
If anyone has a better understanding of this, I'd love to know how we
ended up in __ia64_leave_kernel().
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
next prev parent reply other threads:[~2009-05-14 21:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-01 21:59 Maynard Johnson
2009-04-27 21:01 ` David Smith
2009-04-29 13:56 ` Maynard Johnson
2009-04-29 21:08 ` Maynard Johnson
2009-04-30 18:00 ` David Smith
2009-04-30 20:48 ` Roland McGrath
2009-05-12 16:06 ` David Smith
2009-05-12 18:20 ` Roland McGrath
2009-05-13 15:04 ` David Smith
2009-05-13 18:24 ` Roland McGrath
2009-05-14 15:11 ` David Smith
2009-05-14 18:41 ` Roland McGrath
2009-05-14 19:01 ` Maynard Johnson
2009-05-14 19:44 ` David Smith
2009-05-14 21:36 ` David Smith [this message]
2009-05-15 13:52 ` ia64 hang when using itrace (was Re: Backward compatibility for insn probe point) David Smith
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=4A0C8ED3.4090301@redhat.com \
--to=dsmith@redhat.com \
--cc=fche@redhat.com \
--cc=maynardj@us.ibm.com \
--cc=roland@redhat.com \
--cc=systemtap@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).