Re: Fatal trap 12

From: Chris Readle (patterner_at_rocketmail.com)
Date: 10/16/03

  • Next message: Mike Tancsa: "Re: Fatal trap 12"
    Date: Thu, 16 Oct 2003 06:48:53 -0700 (PDT)
    To: freebsd-questions@freebsd.org
    
    

    Got another one this morning. This time the only thing running was the
    make index && make readmes, and XFree86.

    Actually, they both may have finished by then, I started them up then had
    to go to sleep, so I'm not entirely sure how far along it got in the
    process. I do know it was past the index and working on the readmes,
    though.

    /var/log/messages:
    Oct 16 01:26:37 creadle /kernel: Fatal trap 12: page fault while in kernel
    mode
    Oct 16 01:26:37 creadle /kernel: fault virtual address = 0xfffffd9b
    Oct 16 01:26:37 creadle /kernel: fault code = supervisor read,
    page not present
    Oct 16 01:26:37 creadle /kernel: instruction pointer = 0x8:0xc022c1c8
    Oct 16 01:26:37 creadle /kernel: stack pointer = 0x10:0xd2e2ee4c
    Oct 16 01:26:37 creadle /kernel: frame pointer = 0x10:0xd2e2ee54
    Oct 16 01:26:37 creadle /kernel: code segment = base 0x0, limit
    0xfffff, type 0x1b
    Oct 16 01:26:37 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
    Oct 16 01:26:37 creadle /kernel: processor eflags = interrupt
    enabled, resume, IOPL = 0
    Oct 16 01:26:37 creadle /kernel: current process = 53504
    (sh)
    Oct 16 01:26:37 creadle /kernel: interrupt mask = none
    Oct 16 01:26:37 creadle /kernel: trap number = 12
    Oct 16 01:26:37 creadle /kernel: panic: page fault
    Oct 16 01:26:37 creadle /kernel:

    nm -n:
    [chris@creadle chris]$ nm -n /kernel | grep c022c1c8
    [chris@creadle chris]$ nm -n /kernel | grep c022c1c
    [chris@creadle chris]$ nm -n /kernel | grep c022c1
    c022c19c T vm_page_lookup
    c022c1f8 T vm_page_rename

    chris

    --- Chris Readle <patterner@rocketmail.com> wrote:
    > Hi all,
    >
    > New to FBSD, and in the process of moving my Linux/Windows PC to
    > FBSD/Windows.
    >
    > I got two spontaneous reboots last night (the first times it happened)
    > and
    > I got fatal trap 12s in /var/log/messages each time. I wasn't doing
    > anything too heavy, just a make index && make readmes on my ports,
    > listening to some music through XMMS and browsing the web via Mozilla.
    >
    > I searched the archives and the FAQ. I haven't built a debugging kernel
    > yet, but I thought I would post the info I have in the hopes that
    > someone
    > might be able to help.
    >
    > I did do an nm - n on the kernel, however.
    >
    > uname -a:
    > FreeBSD creadle.oc.cox.net 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #4:
    > Wed
    > Oct 15 08:55:21 PDT 2003
    > chris@creadle.oc.cox.net:/usr/obj/usr/src/sys/CREADLE i386
    >
    > /var/log/messages:
    > Oct 14 21:45:23 creadle /kernel: Fatal trap 12: page fault while in
    > kernel
    > mode
    > Oct 14 21:45:23 creadle /kernel: fault virtual address = 0xbfca02c8
    > Oct 14 21:45:23 creadle /kernel: fault code = supervisor
    > read,
    > page not present
    > Oct 14 21:45:23 creadle /kernel: instruction pointer = 0x8:0xc028fe83
    > Oct 14 21:45:23 creadle /kernel: stack pointer =
    > 0x10:0xd2cfbcf8
    > Oct 14 21:45:23 creadle /kernel: frame pointer =
    > 0x10:0xd2cfbd08
    > Oct 14 21:45:23 creadle /kernel: code segment = base 0x0,
    > limit
    > 0xfffff, type 0x1b
    > Oct 14 21:45:23 creadle /kernel: = DPL 0, pres 1, def32 1, gran 1
    > Oct 14 21:45:23 creadle /kernel: processor eflags = interrupt
    > enabled, resume, IOPL = 0
    > Oct 14 21:45:23 creadle /kernel: current process = 73961
    > (sh)
    > Oct 14 21:45:23 creadle /kernel: interrupt mask = net tty bio
    > cam
    > Oct 14 21:45:23 creadle /kernel: trap number = 12
    > Oct 14 21:45:23 creadle /kernel: panic: page fault
    >
    > nm -n:
    > creadle# nm -n /kernel | grep c028fe8
    > c028fe88 T pmap_ts_referenced
    > creadle# nm -n /kernel | grep c028fe
    > c028fe7c T pmap_phys_address
    > c028fe88 T pmap_ts_referenced
    >
    > I did two because I thought it was odd that the first one came up with a
    > higher address than the actual pointer.
    >
    > Any good suggestions?
    >
    > chris
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > The New Yahoo! Shopping - with improved product search
    > http://shopping.yahoo.com
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    "freebsd-questions-unsubscribe@freebsd.org"

    __________________________________
    Do you Yahoo!?
    The New Yahoo! Shopping - with improved product search
    http://shopping.yahoo.com
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Mike Tancsa: "Re: Fatal trap 12"

    Relevant Pages

    • Re: Fatal trap 12
      ... I haven't built a debugging kernel ... >> Do you Yahoo!? ... Shopping - with improved product search ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Any ideas on X freezing up with NVIDIA drivers?
      ... in Linux *and* FBSD so I might be able to help. ... As for AGP and kernel config, I've gotten mine working with AGP in the ... > Do you Yahoo!? ...
      (freebsd-questions)
    • Re: Fatal trap 12
      ... Sig 11's when exiting KDE apps like konsole & knode. ... > kernel is really panicing. ... >>Do you Yahoo!? ... To unsubscribe, ...
      (freebsd-questions)
    • Re: module compilation on 2.6
      ... I just downloaded ATMEL code from sourceforge to find if they have some clues. ... > I had a module built outside kernel tree on 2.4. ... The trick is that the module MUST be designed with 2.6 in mind. ... > Do you Yahoo!? ...
      (Fedora)
    • MODPOST compilatiob between 2.4 and 2.6
      ... I compiled some modles on 2.4. ... There are some statics declared in switch1.c that are being referenced in switch2.c (via extern decleartion). ... What additional info does module writers need to take care for 2.6 kernel. ... New and Improved Yahoo! ...
      (Fedora)