5.4-STABLE panic: kernel trap 12 with interrupts diabled
Subhro
subhro.kar at gmail.com
Thu May 5 07:47:52 PDT 2005
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 at 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 at 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 at 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 at 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.
More information about the freebsd-questions
mailing list