This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/12164] New: stap script causing ptrace to error with "Device or resource busy"


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]