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 uprobes/5270] New: modpost warnings with runtime/uprobes


When a stap script uses uprobes.ko as built on the fly from source in
runtime/uprobes, we can get modpost warnings from stap -vv and a tainted
kernel.  (However, the stap-generated module loads and runs fine
with the stap-built uprobes.ko.)

The modpost warnings look like this:
WARNING: "register_uprobe"
[/tmp/stap739yV3/stap_c07123156fc06731cd751ecff0100ad4_651.ko] undefined!
WARNING: "register_uretprobe"
[/tmp/stap739yV3/stap_c07123156fc06731cd751ecff0100ad4_651.ko] undefined!
WARNING: "unregister_uprobe"
[/tmp/stap739yV3/stap_c07123156fc06731cd751ecff0100ad4_651.ko] undefined!
WARNING: "unregister_uretprobe"
[/tmp/stap739yV3/stap_c07123156fc06731cd751ecff0100ad4_651.ko] undefined!

They result from a modpost command that looks like this, during the build of
the stap-generated probe module:
scripts/mod/modpost -m  -i /xxx/Module.symvers -I /tmp/stap739yV3/Module.symvers
-o /tmp/stap739yV3/Module.symvers -w -s
where /xxx is apparently /lib/modules/`uname -r`/build.

I think if the -I option pointed at Module.symvers in the directory where
uprobes.ko lives, we'd be OK.  I haven't figured out how to make that happen,
though.

This is the sort of "tainted" message that shows up in /var/log/messages
when the stap-generated probe module is inserted:
Nov  5 12:33:35 myhost kernel: stap_c07123156fc06731cd751ecff0100ad4_651: no
version for "unregister_uretprobe" found: kernel tainted.

-- 
           Summary: modpost warnings with runtime/uprobes
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P1
         Component: uprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5270

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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