public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug kprobes/4285] New: improve kretprobes BUG message
@ 2007-03-27  2:30 fche at redhat dot com
  2007-03-27  5:50 ` [Bug kprobes/4285] " ananth at in dot ibm dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: fche at redhat dot com @ 2007-03-27  2:30 UTC (permalink / raw)
  To: systemtap

On a pre-fc7-test vmware image, I sometimes see this kernel BUG:

kernel BUG at arch/i386/kernel/kprobes.c:452!
invalid opcode: 0000 [#1]
SMP 
last sysfs file: /module/uhci_hcd/sections/.text
Modules linked in: stap_ec0f35607d3d65b494254c869904aa15_693632(U) xt_tcpudp ipt
able_nat nf_nat nf_conntrack_ipv4 nf_conntrack nfnetlink ip_tables x_tables hidp
[...]
EFLAGS: 00010046   (2.6.20-1.2986.fc7 #1)
EIP is at trampoline_handler+0xeb/0x137
eax: 00000000   ebx: 00000000   ecx: 00000000   edx: 00000000
esi: de14cac0   edi: c1a31ef8   ebp: c1a31ef0   esp: c1a31ed4
ds: 007b   es: 007b   fs: 00d8  gs: 0000  ss: 0068
Process migration/0 (pid: 2, ti=c1a31000 task=ed34e030 task.ti=c1a31000)
Stack: 00000096 00000000 00000000 00000000 00000000 de14cac0 00000000 cb9dde28 
       c06161fa 00000000 00000033 de14cc70 de14cac0 00000000 cb9dde28 de14cac0 
       0000007b 0000007b 000000d8 ffffffff c06161e4 00000060 00000082 c1a31f94 
Call Trace:
 [<c04061ed>] show_trace_log_lvl+0x1a/0x2f
 [<c040629d>] show_stack_log_lvl+0x9b/0xa3
 [<c040645d>] show_registers+0x1b8/0x289
 [<c040665b>] die+0x12d/0x242
 [<c0615817>] do_trap+0x79/0x91
 [<c0406bfe>] do_invalid_op+0x97/0xa1
 [<c06155ec>] error_code+0x7c/0x84
 [<c06161fa>] kretprobe_trampoline+0x16/0x30

From this information, one cannot tell which kprobe/kretprobe might have been
associated with the problem.  It would be helpful if any such assertion-type
messages also printed out information such as the kprobe* or kretprobe/instance
addresses, as those can be mapped back to systemtap modules (with some effort).

-- 
           Summary: improve kretprobes BUG message
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: kprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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

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

* [Bug kprobes/4285] improve kretprobes BUG message
  2007-03-27  2:30 [Bug kprobes/4285] New: improve kretprobes BUG message fche at redhat dot com
@ 2007-03-27  5:50 ` ananth at in dot ibm dot com
  2007-03-27 11:36 ` maneesh at in dot ibm dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ananth at in dot ibm dot com @ 2007-03-27  5:50 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From ananth at in dot ibm dot com  2007-03-27 06:50 -------
This is related to the generic Linux Kernel BUG handling mechanism and as such
is not directly related to Kprobes. While it is a good idea to have information
about which particular kprobe caused the problem, IMO, its not something we can
fix from the kprobes layer.

-- 


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

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

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

* [Bug kprobes/4285] improve kretprobes BUG message
  2007-03-27  2:30 [Bug kprobes/4285] New: improve kretprobes BUG message fche at redhat dot com
  2007-03-27  5:50 ` [Bug kprobes/4285] " ananth at in dot ibm dot com
@ 2007-03-27 11:36 ` maneesh at in dot ibm dot com
  2007-03-30  4:46 ` ananth at in dot ibm dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: maneesh at in dot ibm dot com @ 2007-03-27 11:36 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From maneesh at in dot ibm dot com  2007-03-27 12:36 -------
(In reply to comment #1)
> This is related to the generic Linux Kernel BUG handling mechanism and as such
> is not directly related to Kprobes. While it is a good idea to have information
> about which particular kprobe caused the problem, IMO, its not something we can
> fix from the kprobes layer.

Probably Frank just needs a custom printk message before the BUG_ON hit? 

BTW, "esi" has the pointer to kretprobe_instance. I am not sure if just this
info is useful or not.


-- 


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

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

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

* [Bug kprobes/4285] improve kretprobes BUG message
  2007-03-27  2:30 [Bug kprobes/4285] New: improve kretprobes BUG message fche at redhat dot com
  2007-03-27  5:50 ` [Bug kprobes/4285] " ananth at in dot ibm dot com
  2007-03-27 11:36 ` maneesh at in dot ibm dot com
@ 2007-03-30  4:46 ` ananth at in dot ibm dot com
  2007-03-30  4:47 ` ananth at in dot ibm dot com
  2007-03-30  5:43 ` ananth at in dot ibm dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ananth at in dot ibm dot com @ 2007-03-30  4:46 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


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

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

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

* [Bug kprobes/4285] improve kretprobes BUG message
  2007-03-27  2:30 [Bug kprobes/4285] New: improve kretprobes BUG message fche at redhat dot com
                   ` (2 preceding siblings ...)
  2007-03-30  4:46 ` ananth at in dot ibm dot com
@ 2007-03-30  4:47 ` ananth at in dot ibm dot com
  2007-03-30  5:43 ` ananth at in dot ibm dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ananth at in dot ibm dot com @ 2007-03-30  4:47 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jkenisto at us dot ibm dot
                   |                            |com


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

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

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

* [Bug kprobes/4285] improve kretprobes BUG message
  2007-03-27  2:30 [Bug kprobes/4285] New: improve kretprobes BUG message fche at redhat dot com
                   ` (3 preceding siblings ...)
  2007-03-30  4:47 ` ananth at in dot ibm dot com
@ 2007-03-30  5:43 ` ananth at in dot ibm dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ananth at in dot ibm dot com @ 2007-03-30  5:43 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |ananth at in dot ibm dot com
                   |redhat dot com              |


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

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

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

end of thread, other threads:[~2007-03-30  5:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-27  2:30 [Bug kprobes/4285] New: improve kretprobes BUG message fche at redhat dot com
2007-03-27  5:50 ` [Bug kprobes/4285] " ananth at in dot ibm dot com
2007-03-27 11:36 ` maneesh at in dot ibm dot com
2007-03-30  4:46 ` ananth at in dot ibm dot com
2007-03-30  4:47 ` ananth at in dot ibm dot com
2007-03-30  5:43 ` ananth at in dot ibm 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).