Re: system-freeze: kprobe and do_gettimeofday

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 26, 2005 at 08:22:10PM +0530, Prasanna S Panchamukhi wrote:
> 
> On Mon, Apr 25, 2005 at 06:08:59PM +0200, Juergen Quade wrote:
> > On Mon, Apr 25, 2005 at 09:26:49PM +0530, Prasanna S Panchamukhi wrote:
> > > On Sat, Apr 23, 2005 at 12:12:51PM +0200, Juergen Quade wrote:
> > > > Playing around with kprobe I noticed, that "kprobing"
> > > > the function "do_gettimeofday" completly freezes the
> > > > system (2.6.12-rc3). Other functions like "do_fork" or
> > > 
> > > Kprobe on "do_gettimeofday" seems to work fine on 4-way SMP i386 box.
> > > What is configuration of your machine?
> > 
> > Thank you for your answer!
> > Find my kernel-config attached.
> > The processor of the system is an Pentium M
> > (1400MHz, 512MByte Memory - nothing specific).
> > 
> 
> I tested with your configuration file and it still
> works fine. Can you get some more info about current tasks 
> using Alt+SysRq+t and  Alt+SysRq+d keys.

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?

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux