* BUG: sleeping function called from invalid context
@ 2009-03-09 15:43 beginner966
2009-03-09 15:49 ` beginner966
0 siblings, 1 reply; 2+ messages in thread
From: beginner966 @ 2009-03-09 15:43 UTC (permalink / raw)
To: systemtap
Hello,
I am using systemtap to write some scripts as a part of my final year
project.
The kernel I'm on is 2.6.29-rc6-rt3
stap -V is SystemTap translator/driver (version 0.9/0.131 non-git sources)
However, for any script I run, I get BUG messages when I do a dmesg.
For example, after I ran the simple hello-world.stp, following BUG was shown
on doing dmesg.
BUG: sleeping function called from invalid context at kernel/rtmutex.c:683
in_atomic(): 1, irqs_disabled(): 1, pid: 30918, name: kstop/1
Pid: 30918, comm: kstop/1 Tainted: G M 2.6.29-rc6-rt3 #3
Call Trace:
[<c044d959>] ? rt_spin_lock+0x21/0x56
[<c012b83b>] ? lock_timer_base+0x19/0x37
[<c012bcb4>] ? mod_timer+0x3f/0xb9
[<e00bb944>] ? __stp_init_time+0xb5/0xbc
[stap_07dc5736da96a33097a3603b76c4a77e_322]
[<c0140c32>] ? generic_smp_call_function_single_interrupt+0x6a/0x83
[<c0110b90>] ? smp_call_function_single_interrupt+0x1d/0x2a
[<c01032da>] ? call_function_single_interrupt+0x2a/0x30
[<c044d980>] ? rt_spin_lock+0x48/0x56
[<c0171eeb>] ? kmem_cache_free+0x27/0x48
[<c0125a27>] ? release_task+0x23b/0x2e4
[<c0126df2>] ? do_exit+0x5f8/0x695
[<c0133d05>] ? kthread+0x0/0x5f
[<c0103635>] ? kernel_thread_helper+0xd/0x10
stap_07dc5736da96a33097a3603b76c4a77e_322: systemtap: 0.9/0.131, base:
e00ba000, memory: 9290+10246+400+13600 data+text+ctx+net, probes: 1
Looks like it causes some lock issues. The script is just one of many
scripts that I'v seen this error for.
Also, in one of the
http://www.nabble.com/Script-run-makes-the-system-to-hang-to22271687.html
threads , I had mentioned a script which causes system to hang. That script
uses static markers in context_switch function and aims to gather the
runqueue time spent by a process.
Any idea why this could be happening ? Is it an -rt issue or systemtap bug
??
Thanks.
Nitin
--
View this message in context: http://www.nabble.com/BUG%3A-sleeping-function-called-from-invalid-context-tp22413405p22413405.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* BUG: sleeping function called from invalid context
2009-03-09 15:43 BUG: sleeping function called from invalid context beginner966
@ 2009-03-09 15:49 ` beginner966
0 siblings, 0 replies; 2+ messages in thread
From: beginner966 @ 2009-03-09 15:49 UTC (permalink / raw)
To: systemtap
Hello,
I am using systemtap to write some scripts as a part of my final year
project.
The kernel I'm on is 2.6.29-rc6-rt3
stap -V is SystemTap translator/driver (version 0.9/0.131 non-git sources)
However, for any script I run, I get BUG messages when I do a dmesg.
For example, after I ran the simple hello-world.stp, following BUG was shown
on doing dmesg.
BUG: sleeping function called from invalid context at kernel/rtmutex.c:683
in_atomic(): 1, irqs_disabled(): 1, pid: 30918, name: kstop/1
Pid: 30918, comm: kstop/1 Tainted: G M 2.6.29-rc6-rt3 #3
Call Trace:
[<c044d959>] ? rt_spin_lock+0x21/0x56
[<c012b83b>] ? lock_timer_base+0x19/0x37
[<c012bcb4>] ? mod_timer+0x3f/0xb9
[<e00bb944>] ? __stp_init_time+0xb5/0xbc
[stap_07dc5736da96a33097a3603b76c4a77e_322]
[<c0140c32>] ? generic_smp_call_function_single_interrupt+0x6a/0x83
[<c0110b90>] ? smp_call_function_single_interrupt+0x1d/0x2a
[<c01032da>] ? call_function_single_interrupt+0x2a/0x30
[<c044d980>] ? rt_spin_lock+0x48/0x56
[<c0171eeb>] ? kmem_cache_free+0x27/0x48
[<c0125a27>] ? release_task+0x23b/0x2e4
[<c0126df2>] ? do_exit+0x5f8/0x695
[<c0133d05>] ? kthread+0x0/0x5f
[<c0103635>] ? kernel_thread_helper+0xd/0x10
stap_07dc5736da96a33097a3603b76c4a77e_322: systemtap: 0.9/0.131, base:
e00ba000, memory: 9290+10246+400+13600 data+text+ctx+net, probes: 1
Looks like it causes some lock issues. The script is just one of many
scripts that I'v seen this error for.
Also, in one of the earlier
http://www.nabble.com/Script-run-makes-the-system-to-hang-to22271687.html
threads , I had mentioned a script which causes system to hang. That script
uses static markers in context_switch function and aims to gather the
runqueue time spent by a process.
Any idea why this could be happening ? Is it an -rt issue or systemtap bug
??
Thanks.
Nitin
--
View this message in context: http://www.nabble.com/BUG%3A-sleeping-function-called-from-invalid-context-tp22413405p22413405.html
Sent from the Sourceware - systemtap mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-09 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-09 15:43 BUG: sleeping function called from invalid context beginner966
2009-03-09 15:49 ` beginner966
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).