public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/6427] New: -DRELAY_HOST/RELAY_GUEST taints the kernel
@ 2008-04-17 21:05 mhiramat at redhat dot com
  2008-04-19  0:08 ` [Bug runtime/6427] " mhiramat at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mhiramat at redhat dot com @ 2008-04-17 21:05 UTC (permalink / raw)
  To: systemtap

I've gotten 'kernel tainted' message when using RELAY_HOST and RELAY_GUEST modules.

I ran below commands.
-----
$ stap -m host -e 'probe begin{print("hello ")}' -DRELAY_HOST=test1
^\
$ stap -m guest -e 'probe begin{print("hello ")}' -DRELAY_GUEST=test1
-----

And I got below messages.
--(dmesg)--
host: systemtap: 0.7/0.131, base: ffffffff885c8000, memory:
498072+28032+448+14000 data+text+ctx+net, probes: 1
guest: no version for "stp_print_flush_test1" found: kernel tainted.
guest: systemtap: 0.7/0.131, base: ffffffff8864a000, memory:
497488+27848+448+14000 data+text+ctx+net, probes: 1
---------

I guess that this comes from there is no entry of stp_print_flush_test1 in
"Module.symver"s which are used when building the guest module.
If so, we need to find that how to tell the version of the exported symbol of a
host module to a guest module.

one possible solution is keeping Module.symver file which is made when building
a host module, and pass it when building guest module by a new option.

-- 
           Summary: -DRELAY_HOST/RELAY_GUEST taints the kernel
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mhiramat at redhat dot com


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

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

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

* [Bug runtime/6427] -DRELAY_HOST/RELAY_GUEST taints the kernel
  2008-04-17 21:05 [Bug runtime/6427] New: -DRELAY_HOST/RELAY_GUEST taints the kernel mhiramat at redhat dot com
@ 2008-04-19  0:08 ` mhiramat at redhat dot com
  2008-04-22 13:40 ` mhiramat at redhat dot com
  2010-05-21 19:36 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mhiramat at redhat dot com @ 2008-04-19  0:08 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mhiramat at redhat dot com  2008-04-18 17:13 -------
I found that the message just means loading module with force option.


-- 


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

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

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

* [Bug runtime/6427] -DRELAY_HOST/RELAY_GUEST taints the kernel
  2008-04-17 21:05 [Bug runtime/6427] New: -DRELAY_HOST/RELAY_GUEST taints the kernel mhiramat at redhat dot com
  2008-04-19  0:08 ` [Bug runtime/6427] " mhiramat at redhat dot com
@ 2008-04-22 13:40 ` mhiramat at redhat dot com
  2010-05-21 19:36 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: mhiramat at redhat dot com @ 2008-04-22 13:40 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mhiramat at redhat dot com  2008-04-22 03:34 -------
Another idea is to load a helper module like as uprobes. this helper module
exports two interfaces, one is registering host's _stp_print_flush, other is
providing those registered host's _stp_print_flush to guests.



-- 


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

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

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

* [Bug runtime/6427] -DRELAY_HOST/RELAY_GUEST taints the kernel
  2008-04-17 21:05 [Bug runtime/6427] New: -DRELAY_HOST/RELAY_GUEST taints the kernel mhiramat at redhat dot com
  2008-04-19  0:08 ` [Bug runtime/6427] " mhiramat at redhat dot com
  2008-04-22 13:40 ` mhiramat at redhat dot com
@ 2010-05-21 19:36 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2010-05-21 19:36 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2010-05-21 18:27 -------
We are unlikely to fix this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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

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

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

end of thread, other threads:[~2010-05-21 18:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-17 21:05 [Bug runtime/6427] New: -DRELAY_HOST/RELAY_GUEST taints the kernel mhiramat at redhat dot com
2008-04-19  0:08 ` [Bug runtime/6427] " mhiramat at redhat dot com
2008-04-22 13:40 ` mhiramat at redhat dot com
2010-05-21 19:36 ` fche 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).