5.4-STABLE panic: kernel trap 12 with interrupts diabled

From: Fabian Keil (freebsd-listen_at_fabiankeil.de)
Date: 05/05/05

  • Next message: Andrew L. Gould: "Re: gnumeric portupgrade fails (libgnomedb)"
    Date: Thu, 5 May 2005 16:13:15 +0200
    To: FreeBSD-questions@freebsd.org
    
    

    Hello list,

    the day before yesterday I experienced my first
    panic on 5.4-STABLE. Build and cvsup'ed last
    Friday. My system is a ThinkPad R51

    I did nothing spectacular, after boot I:

    logged in as user
    cdrecord -scanbus (which didn't work as I hadn't yet set it suid)
    su
    chmod +x for cdrecord and readcd (meant was +g ;-)
    exit
    cdrecord -scanbus (didn't yet work ;-)
    su
    cdrecord -scanbus (did work)
    readcd dev=2,0,0 -factor meshpoints=100 f=./file
    exit

    Then I moved the laptop and plugged in the AC/DC adapter.

    whoami brought me:

    Kernel trap 12 with interrupts disabled
    Fatal trap 12: page fault while in kernel mode
    fault virtual address = 0xa94d06c
    fault code = supervisor read, page not present
    instruction pointer = 0x8:0xc053cbe5
    stack pointer = 0x10:0xe669f98c
    frame pointer = 0x10:0xe669f990
    code segment = base 0x0, limit 0xfffff, type 0x1b
                                     = DPL 0, pres 1, def32 1, gran 1
    processor eflags = resume, IOPL = 0
    current process = 601 (whoami)
    trap number = 12
    panic: page fault

    I saved the dump manually with savecore and then tried
    to follow:
    <http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/advanced.html#KERNEL-PANIC-TROUBLESHOOTING>

    fk@r51 ~ $nm -n /boot/kernel/kernel | grep c053cb
    c053cb4c T init_turnstiles
    c053cbc9 t init_turnstile0
    c053cbd8 t turnstile_setowner

    My kernel contains "makeoptions DEBUG=-g", however
    I don't have the file /sys/compile/KERNELCONFIG/kernel.debug
    and thus wasn't able to do
    % gdb -k /sys/compile/KERNELCONFIG/kernel.debug /var/crash/vmcore.0

    The next best thing seemed to be the -c option, no luck either.

    fk@r51 ~ $gdb -c vmcore.0
    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "i386-marcel-freebsd".
    "/usr/home/fk/vmcore.0" is not a core dump: File format not recognized
    (gdb)

    fk@r51 ~ $cat info.0
    Dump header from device /dev/ad0s3b
      Architecture: i386
      Architecture Version: 16777216
      Dump Length: 536215552B (511 MB)
      Blocksize: 512
      Dumptime: Tue May 3 20:18:11 2005
      Hostname: r51.local
      Magic: FreeBSD Kernel Dump
      Version String: FreeBSD 5.4-STABLE #6: Sat Apr 30 14:57:04 CEST 2005
        fk@r51.local:/usr/obj/usr/src/sys/THINKPAD
      Panic String: page fault
      Dump Parity: 1084811848
      Bounds: 0
      Dump Status: good

    The kernel was build "the new way".
    I was not able to reproduce the panic.

    Is there anything else I can do?

    Regards
    Fabian

    -- 
    http://www.fabiankeil.de/
    _______________________________________________
    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: Andrew L. Gould: "Re: gnumeric portupgrade fails (libgnomedb)"

    Relevant Pages

    • Re: oops in :snd_pcm_oss:resample_expand+0x19c/0x1f0
      ... Thanks for trying out kdump. ... For example, the small script you wrote for saving the dump, is already ... "service kdump start" and initrd will be generated and kdump kernel will ... Currently we can use gdb but only for linearly mapped region. ...
      (Linux-Kernel)
    • panics with 5.2.1 on single processor on dual motherboard
      ... The kernel currently has SMP, ... GNU gdb 5.2.1 ... page fault while in kernel mode ... acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 ...
      (freebsd-current)
    • Re: reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0
      ... It is a simi-production machine that cvsups daily and builds and installs a new world and kernel. ... Dump Length: 341225472B ... However, panics that "suddenly" start happening frequently on a system that has been stable for a while with no OS or workload changes made, are usually due to the hardware starting to fail. ... page fault while in kernel mode ...
      (freebsd-questions)
    • Kernel panic. Unsure of cause.
      ... Unread portion of the kernel message buffer: ... page fault while in kernel mode ... Physical memory: 3058 MB ... Dump Length: 326086656B ...
      (freebsd-questions)
    • Need help debugging kernel
      ... system panics and reboots about every 24 hours (24 hours since last ... Kernel has following additions to GENERIC - options: ... GDB is free software, covered by the GNU General Public License, and you are ... page fault while in kernel mode ...
      (freebsd-hackers)