Re: system-freeze: kprobe and do_gettimeofday

From: Prasanna S Panchamukhi (prasanna_at_in.ibm.com)
Date: 04/29/05

  • Next message: crow_at_old-fsckful.ath.cx: "Re: system reboot after reading /proc/acpi/battery/../state"
    Date:	Fri, 29 Apr 2005 16:48:49 +0530
    To: Juergen Quade <quade@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>
    -
    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/
    

  • Next message: crow_at_old-fsckful.ath.cx: "Re: system reboot after reading /proc/acpi/battery/../state"

    Relevant Pages

    • Re: Handle kernel page faults using task gate
      ... > fault handler using a new TSS and updates to the GDT and IDT tables ... > fault and allocating the physical page I use the iret instruction to ... > switch back to the previous task. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [RFC] Changing COW detection to be memory hotplug friendly
      ... Keeping the swap slot ... is valuable if read fault, but once the page is dirtied, wouldn't ... I cannot imagine a good enough range of swap performance tests. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: All filesystems hang under long periods of heavy load (read and write) on a filesystem
      ... > the filesystem on the partition being written to. ... It seems that this boils down to using PIO mode, after enabling DMA I am ... the fault might not be fixed, it might just be less obvious... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Stop the linux kernel madness - SOLVED!
      ... > So simply removing this symlink and putting back a link to ... IF the fault here is SUSE's, then submit THEM a bug report and stop whining in lkml. ... could have between lkml readers. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: system-freeze: kprobe and do_gettimeofday
      ... "insmod kgettime.ko" from the console ... double fault, ... Then I removed all my modules I was able to load the module ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)