From owner-freebsd-questions@FreeBSD.ORG Thu May 5 14:47:52 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 71EC216A4CE for ; Thu, 5 May 2005 14:47:52 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0295143DA6 for ; Thu, 5 May 2005 14:47:52 +0000 (GMT) (envelope-from subhro.kar@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so357216rng for ; Thu, 05 May 2005 07:47:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:organization:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type; b=TcnetIRfwC6Es4C4tYGlAizP3muGb6hRgseuEEnPdFRp8+B266wO7wSNwyDuaL4UZ7Rj9q3fO0uepvoQp4Rrjj4fqLSzvw1PXz7//i/iR5++Ni+OGwBF/Q8swvhxP8j8WJyphZl8yulP4HNdxGkk/pth+7c7JyEx70BSoC6PSVk= Received: by 10.38.76.11 with SMTP id y11mr516903rna; Thu, 05 May 2005 07:47:51 -0700 (PDT) Received: from ?59.93.160.183? ([59.93.160.183]) by mx.gmail.com with ESMTP id h17sm1177151rnb.2005.05.05.07.47.49; Thu, 05 May 2005 07:47:51 -0700 (PDT) Message-ID: <427A3203.7070405@gmail.com> Date: Thu, 05 May 2005 20:17:31 +0530 From: Subhro Organization: Indian Institute of Information Technology User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fabian Keil References: <20050505161315.60c175ff@localhost> In-Reply-To: <20050505161315.60c175ff@localhost> Content-Type: multipart/mixed; boundary="------------080407060101010905060900" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: FreeBSD-questions@freebsd.org Subject: Re: 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:47:52 -0000 This is a multi-part message in MIME format. --------------080407060101010905060900 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: > > >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. --------------080407060101010905060900--