lkml.org 
[lkml]   [2005]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: system-freeze: kprobe and do_gettimeofday
> > ...
> Thanks for providing the information, we are not able to reproduce this
> problem here. Can you pls write a similar fault handler for kprobes as shown
> below and get us the log messages.
>
> int fault_probe(struct kprobe *p, struct pt_regs *regs, int trapnr) {
> printk("fault_handler:p->addr=0x%p, eflags=0x%lx\n", p->addr, regs->eflags);
> return 0;

I tried it a few time, system freezes but the fault handler
has not been called. First time the system rebooted completly,
second time I got no output at all.

I added the proposed line into the pre-handler. Here is the
output:

kprobe registered address c0107bd0
pre_handler:p->addr=0xc0107bd0, eflags=0x282
root@esz-mobil:/tmp/kprobes# double fault, gdt
at c049bd00 ...

The first line is the output of "init_module". The second
line is the output of the pre_handler. As you can see,
before the "double fault" message I get one prompt. Could
there be a problem with the timer interrupt?

Juergen.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-04-29 19:32    [W:0.056 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site