From: Prasanna S Panchamukhi <prasanna@in.ibm.com>
To: Juergen Quade <quade@hsnr.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: system-freeze: kprobe and do_gettimeofday
Date: Fri, 29 Apr 2005 16:48:49 +0530 [thread overview]
Message-ID: <20050429111849.GA5185@in.ibm.com> (raw)
In-Reply-To: <20050426193440.GA16597@hsnr.de>
Juergen,
>
> I did now a lot of additional tests. When running
> "insmod kgettime.ko" from the console (not from x-windows)
> I get:
>
> kprobe registered address c0107bd0 // output from the module
> double fault, gdt at c049bd00 [255 bytes]
> double fault, tss at c03d4060
> eip = c0103c86, esp = db932000
> eax = ffffffff, ebx = db932134, ecx = 0000000d, edx = 00000000
> esi = db932080, edi = 0000000d
>
> Alt+SysRq did not work...
>
> Then I removed all my modules (except 2) I was able to load the module
> without problems. I added module by module and checked every time with
> "insmod kgettime.ko". When loading the "ohci1394" module it crashed
> again. But next time I loaded the "ohci"-module first - no crash. (So I
> don't think it is the ohci-module). I was able to load all modules and
> it still worked.
>
> Hmmm. What else to check?
>
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;
}
Thanks
Prasanna
--
Prasanna S Panchamukhi
Linux Technology Center
India Software Labs, IBM Bangalore
Ph: 91-80-25044636
<prasanna@in.ibm.com>
next prev parent reply other threads:[~2005-04-29 11:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-23 10:12 system-freeze: kprobe and do_gettimeofday Juergen Quade
2005-04-25 15:56 ` Prasanna S Panchamukhi
2005-04-25 16:08 ` Juergen Quade
2005-04-26 14:52 ` Prasanna S Panchamukhi
2005-04-26 19:34 ` Juergen Quade
2005-04-29 11:18 ` Prasanna S Panchamukhi [this message]
2005-04-29 17:27 ` Juergen Quade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050429111849.GA5185@in.ibm.com \
--to=prasanna@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=quade@hsnr.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.