Re: 5.4-dropping to debugger

From: Kris Kennaway (kris_at_obsecurity.org)
Date: 08/31/05

  • Next message: Igor Sysoev: "Re: thanks for commiting (MFC ffs_softdep.c 1.182, softdep.h 1.18) to RELENG_5 and 6. When in 4?"
    Date: Wed, 31 Aug 2005 14:28:13 -0400
    To: Eirik ?verby <ltning@anduin.net>
    
    
    

    On Wed, Aug 31, 2005 at 12:51:00PM +0200, Eirik ?verby wrote:
    > Hi, every once in a while (about once a week lately), one of my
    > servers has been known to stop responding. Upon connecting the serial
    > console, I find myself at a debugger prompt. This is the output I've
    > gotten this time.
    >
    > I do think I have a debug kernel on that machine, what can I do to
    > get more useful information out?

    See the chapter on kernel debugging in the developers' handbook.

    Kris

    >
    > PS: I have seen various kinds of instability on most of my 5.4-
    > installations, no matter the patchlevel. This box is just one of many.
    >
    > Anyone?
    >
    > /Eirik
    >
    > db>
    > db> c
    > Fatal trap 12: page fault while in kernel mode
    > cpuid = 1; apic id = 01
    > fault virtual address = 0x2007010
    > fault code = supervisor write, page not present
    > instruction pointer = 0x8:0xc0581fe8
    > stack pointer = 0x10:0xe3384c40
    > frame pointer = 0x10:0xe3384c70
    > code segment = base 0x0, limit 0xfffff, type 0x1b
    > = DPL 0, pres 1, def32 1, gran 1
    > processor eflags = interrupt enabled, resume, IOPL = 0
    > current process = 29 (irq18: fxp0)
    > [thread pid 29 tid 100000 ]
    > Stopped at fxp_add_rfabuf+0x68: movw %ax,0xe(%ebx)
    > db> trace
    > Tracing pid 29 tid 100000 td 0xc22a0000
    > fxp_add_rfabuf(c2404000,c2404500,2,a6c54bb2,b51487f8) at
    > fxp_add_rfabuf+0x68
    > fxp_intr_body(c2404000,c2404000,40,ffffffff,8) at fxp_intr_body+0xf1
    > fxp_intr(c2404000,0,0,0,0) at fxp_intr+0x14e
    > ithread_loop(c22f6500,e3384d38,0,0,0) at ithread_loop+0x1b8
    > fork_exit(c06a9150,c22f6500,e3384d38) at fork_exit+0x80
    > fork_trampoline() at fork_trampoline+0x8
    > --- trap 0x1, eip = 0, esp = 0xe3384d6c, ebp = 0 ---
    >
    > _______________________________________________
    > freebsd-stable@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    >

    
    



  • Next message: Igor Sysoev: "Re: thanks for commiting (MFC ffs_softdep.c 1.182, softdep.h 1.18) to RELENG_5 and 6. When in 4?"

    Relevant Pages

    • Re: OMAP2420 Kernel Debugging problem
      ... OALKitlCreateName has been implemented specifically and in the bootloader ... But for Kernel, the funtion in name.c is taken. ... Connecting to Desktop .. ...
      (microsoft.public.windowsce.platbuilder)
    • Re: VIA and NVIDIA
      ... i've recently set kernel to be as verbose as possible.. ... >> The screen used to go black, and flicker blue once, and stop responding. ... > maybe helps finding whats wrong on your setup that makes it not work. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [APIC] Kernel panic, rsync corruption, intel q8200, 2.6.28-rc8
      ... I boot the first machine I don't see any output on the terminal. ... And the timer still can't work w/o the timer override. ... this will give you a prompt from grub even before the kernel boots ...
      (Linux-Kernel)
    • Re: [APIC] Kernel panic, rsync corruption, intel q8200, 2.6.28-rc8
      ... I boot the first machine I don't see any output on the terminal. ... And the timer still can't work w/o the timer override. ... this will give you a prompt from grub even before the kernel boots ...
      (Linux-Kernel)
    • Re: slow open() calls and o_nonblock
      ... Hi John, thanks for responding. ... I'm using kernel 2.6.20 on a ... Davide directed me to work that is being done specifically to address ... filesystem design, we use too much ram on the filer itself. ...
      (Linux-Kernel)