Re: 5.4-STABLE panic: kernel trap 12 with interrupts diabled

From: Subhro (subhro.kar_at_gmail.com)
Date: 05/05/05

  • Next message: Tillman Hodgson: "Re: Kerberos 5"
    Date: Thu, 05 May 2005 20:17:31 +0530
    To: Fabian Keil <freebsd-listen@fabiankeil.de>
    
    
    

    On 5/5/2005 19:43, Fabian Keil wrote:

    >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
    >
    >
    It would be great to have a look at the core. Can you put it up
    somewhere on the WEB? Also if you are not running a GENERIC kernel then
    let us have a look at the config file.

    Regards
    S.

    
    

    _______________________________________________
    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: Tillman Hodgson: "Re: Kerberos 5"

    Relevant Pages

    • 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)
    • Re: trap 12
      ... page fault while in kernel mode ... instruction pointer = 0x8:0xffffffff807c6c12 ... Cannot dump. ...
      (freebsd-stable)
    • Re: USB3 express card panics on 9.0-RC1
      ... On Thursday 03 November 2011 13:30:19 Jan Henrik Sylvester wrote: ... This is on FreeBSD 9.0-RC1/amd64 with a generic kernel installed from ... page fault while in kernel mode ... get a dump in /var/crash/ after the next boot to multiuser. ...
      (freebsd-current)
    • Re: Panic in 6-BETA1 during mount
      ... > during mount of an UFS1 filesystem with extended attributes. ... > Architecture Version: 33554432 ... > Magic: FreeBSD Kernel Dump ...
      (freebsd-stable)