public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/12164] New: stap script causing ptrace to error with "Device or resource busy"
@ 2010-10-27 17:26 erick.tryzelaar at gmail dot com
  2010-10-27 17:46 ` [Bug runtime/12164] " erick.tryzelaar at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: erick.tryzelaar at gmail dot com @ 2010-10-27 17:26 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-11-11 21:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-27 17:26 [Bug runtime/12164] New: stap script causing ptrace to error with "Device or resource busy" erick.tryzelaar at gmail dot com
2010-10-27 17:46 ` [Bug runtime/12164] " erick.tryzelaar at gmail dot com
2010-10-27 17:50 ` erick.tryzelaar at gmail dot com
2010-10-27 20:11 ` erick.tryzelaar at gmail dot com
2010-10-27 22:53 ` erick.tryzelaar at gmail dot com
2010-10-28 21:05 ` jistone at redhat dot com
2010-11-11 21:34 ` jistone at redhat dot com

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).