This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/12164] New: stap script causing ptrace to error with "Device or resource busy"
- From: "erick.tryzelaar at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Wed, 27 Oct 2010 17:26:34 +0000
- Subject: [Bug runtime/12164] New: stap script causing ptrace to error with "Device or resource busy"
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12164
Summary: stap script causing ptrace to error with "Device or
resource busy"
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sources.redhat.com
ReportedBy: erick.tryzelaar@gmail.com
Hello,
I just discovered that this simple systemtap 1.3 script:
probe kprocess.create {
printf("hello\n")
}
is causing strace to error out with this message:
strace: ptrace(PTRACE_TRACEME, ...): Device or resource busy
Only after stap and stapio processes have died will strace successfully run. I
have seen this on multiple fedora 11 machines, some running with kernel
2.6.29.4-167.fc11, others with 2.6.31.12-174.2.22.fc11.
I confirmed that this stap script and strace work fine together on systemtap
0.9.9, but does not work for 1.3.2.
One other piece of information is that on the install of systemtap rpm, it does
mention this:
ERROR: Module uprobes does not exist in /proc/modules
Could that be related? Both 1.3.2 and 0.9.9 complain about this issue, so it
may be unrelated.
Thanks for any help!
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.