From owner-freebsd-current@FreeBSD.ORG Tue Aug 12 13:26:55 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F252C37B401 for ; Tue, 12 Aug 2003 13:26:54 -0700 (PDT) Received: from vimes.aminor.no (vimes.aminor.no [213.187.177.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3599943FCB for ; Tue, 12 Aug 2003 13:26:52 -0700 (PDT) (envelope-from eivind@aminor.no) Received: from [192.168.0.2] (rincewind.eivind [192.168.0.2]) by vimes.aminor.no (Postfix) with ESMTP id 6659278E06; Tue, 12 Aug 2003 22:26:51 +0200 (CEST) Date: Tue, 12 Aug 2003 22:28:28 +0200 From: Eivind Olsen To: Poul-Henning Kamp Message-ID: <15173625.1060727308@[192.168.0.2]> In-Reply-To: <770.1060717174@critter.freebsd.dk> References: <770.1060717174@critter.freebsd.dk> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline cc: freebsd-current@freebsd.org Subject: Re: Crash in g_dev_strategy / CURRENT as of yesterday. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 20:26:55 -0000 --On 12. august 2003 21:39 +0200 Poul-Henning Kamp wrote: > I'm not of a gdb wizard either, but I think you type "up" or "down" until > you are at stack frame #12, and the simply say "print *bp->b_dev" eivind@vimes:~/tmp/debug/CURRENT-2003-08-11 > gdb -k kernel.debug vmcore.1 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"... panic: from debugger panic messages: --- Syntax error: Unterminated quoted string --- Reading symbols from /usr/obj/usr/src/sys/VIMES/modules/usr/src/sys/modules/vinum/vinum.ko.debug ...done. Loaded symbols for /usr/obj/usr/src/sys/VIMES/modules/usr/src/sys/modules/vinum/vinum.ko.debug Reading symbols from /usr/obj/usr/src/sys/VIMES/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug.. .done. Loaded symbols for /usr/obj/usr/src/sys/VIMES/modules/usr/src/sys/modules/ipfw/ipfw.ko.debug Reading symbols from /boot/kernel/dragon_saver.ko...done. Loaded symbols for /boot/kernel/dragon_saver.ko #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) fr 12 #12 0xc030697e in spec_xstrategy (vp=0xc1fa9cc0, bp=0x0) at /usr/src/sys/fs/specfs/spec_vnops.c:512 512 DEV_STRATEGY(bp); (kgdb) print *bp->b_dev There is no member named b_dev. (kgdb) I can give you SSH access to the server if it's any help / easier for you to look at this yourself without telling me one command at a time. -- Regards / Hilsen Eivind Olsen