Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2003 22:28:28 +0200
From:      Eivind Olsen <eivind@aminor.no>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Crash in g_dev_strategy / CURRENT as of yesterday. 
Message-ID:  <15173625.1060727308@[192.168.0.2]>
In-Reply-To: <770.1060717174@critter.freebsd.dk>
References:  <770.1060717174@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
--On 12. august 2003 21:39 +0200 Poul-Henning Kamp <phk@phk.freebsd.dk> 
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
<eivind@aminor.no>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15173625.1060727308>