From owner-freebsd-questions@FreeBSD.ORG Thu May 5 14:13:22 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1ED816A4CE for ; Thu, 5 May 2005 14:13:22 +0000 (GMT) Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.18.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id A61EF43DCB for ; Thu, 5 May 2005 14:13:21 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 19009 invoked from network); 5 May 2005 14:13:14 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[83.129.56.109]) (envelope-sender ) by smtprelay03.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 5 May 2005 14:13:14 -0000 Date: Thu, 5 May 2005 16:13:15 +0200 From: Fabian Keil To: FreeBSD-questions@freebsd.org Message-ID: <20050505161315.60c175ff@localhost> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 5.4-STABLE panic: kernel trap 12 with interrupts diabled X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2005 14:13:22 -0000 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: 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/