From owner-freebsd-questions@FreeBSD.ORG Sat Apr 29 13:54:16 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5791516A402 for ; Sat, 29 Apr 2006 13:54:16 +0000 (UTC) (envelope-from fbsd@douville.net) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.FreeBSD.org (Postfix) with SMTP id EA9A643D46 for ; Sat, 29 Apr 2006 13:54:15 +0000 (GMT) (envelope-from fbsd@douville.net) Received: (qmail 71322 invoked from network); 29 Apr 2006 13:54:15 -0000 Received: from unknown (HELO sdouvilnonq1) (sns536@rogers.com@70.28.192.141 with login) by smtp101.rog.mail.re2.yahoo.com with SMTP; 29 Apr 2006 13:54:15 -0000 Message-ID: <040e01c66b94$5b3d3e70$d701a8c0@sdouvilnonq1> From: "Steve Douville" To: References: <03ad01c66b4a$374b9510$d701a8c0@sdouvilnonq1> <20060429053950.GA24299@xor.obsecurity.org> Date: Sat, 29 Apr 2006 09:53:55 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Subject: Re: Kernel Panic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 13:54:16 -0000 > a) You're not using the kernel.debug, and b) it's not a sensible > backtrace. Perhaps it's a side-effect of a) (i.e. you're not running > kgdb against the same kernel that panicked). I compiled the kernel using config -g, then rebooted using that kernel. At some point, the system crashes, the dump file is written, and when it reboots, savecore saves the dump to the crash directory. The I use kgdb with this: ns11# kgdb /sys/i386/compile/ADKernel/kernel.debug /var/kcrash/vmcore.5 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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". #0 0xc055c5e2 in doadump () (kgdb) where #0 0xc055c5e2 in doadump () #1 0xc055cb82 in boot () #2 0xc055ce18 in panic () #3 0xc068502c in trap_fatal () #4 0xc06847d5 in trap () #5 0xc0674baa in calltrap () #6 0x00000018 in ?? () #7 0xc2d90010 in ?? () #8 0xc2d90010 in ?? () #9 0x00000002 in ?? () #10 0xc283b000 in ?? () #11 0xef1f09d0 in ?? () #12 0xef1f09b8 in ?? () #13 0xc28f55c0 in ?? () #14 0xc28f55c0 in ?? () #15 0x00000000 in ?? () #16 0xc283b020 in ?? () #17 0x0000000c in ?? () #18 0x00000000 in ?? () #19 0xc057a8f9 in turnstile_setowner () #20 0xc057abbb in turnstile_wait () #21 0xc0554565 in _mtx_lock_sleep () #22 0xc05543dc in _mtx_lock_flags () #23 0xc2699c68 in ?? () #24 0xc26a2a60 in ?? () #25 0x00000000 in ?? () #26 0xc26a0289 in ?? () #27 0x000009ef in ?? () #28 0x00000004 in ?? () #29 0xc26a2a60 in ?? () #30 0x00000000 in ?? () #31 0x00004002 in ?? () #32 0xc23d5400 in ?? () #33 0x06400004 in ?? () #34 0x00000000 in ?? () #35 0x0100007f in ?? () #36 0x00000000 in ?? () #37 0x00000000 in ?? () #38 0x00000000 in ?? () #39 0x0100007f in ?? () #40 0x00000000 in ?? () #41 0x00000000 in ?? () #42 0x00000000 in ?? () #43 0x00000000 in ?? () #44 0x00000801 in ?? () #45 0x00000000 in ?? () #46 0x00000000 in ?? () #47 0xd22d0014 in ?? () #48 0x00000001 in ?? () #49 0x00000000 in ?? () #50 0x00020014 in ?? () #51 0x00000000 in ?? () #52 0x00000000 in ?? () #53 0x00000000 in ?? () #54 0x00000000 in ?? () #55 0x00000000 in ?? () #56 0xc26a2a60 in ?? () #57 0xc25a8c54 in ?? () #58 0x0000001c in ?? () #59 0x00000030 in ?? () #60 0x00000000 in ?? () #61 0x0000265f in ?? () #62 0x00000000 in ?? () #63 0x00000033 in ?? () #64 0x00000000 in ?? () #65 0x00000000 in ?? () #66 0x00000000 in ?? () #67 0xc25a8c40 in ?? () #68 0xef1f0b3c in ?? () #69 0xc25a8c00 in ?? () #70 0xef1f0b80 in ?? () #71 0xc23d1200 in ?? () #72 0xc23c17a0 in ?? () #73 0xc0735a80 in ip_rsvpd () #74 0x00000002 in ?? () #75 0xef1f0b1c in ?? () #76 0xc2696402 in ?? () #77 0xc25a8c40 in ?? () #78 0x00000014 in ?? () #79 0xc23d5400 in ?? () #80 0x00000001 in ?? () #81 0xef1f0b3c in ?? () #82 0xef1f0b4c in ?? () #83 0xc05ca963 in pfil_run_hooks () TIA, Steve