From owner-freebsd-hackers Fri Aug 23 7:11:58 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2A7F37B405 for ; Fri, 23 Aug 2002 07:11:50 -0700 (PDT) Received: from relay2.agava.net.ru (ofc.agava.net [195.161.118.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FC6543EA3 for ; Fri, 23 Aug 2002 07:11:49 -0700 (PDT) (envelope-from ivan_alb@agava.com) Received: from agava.com (ivan-alb.domain [192.168.1.12]) by relay2.agava.net.ru (Postfix) with ESMTP id 94C974776DF; Fri, 23 Aug 2002 18:11:47 +0400 (MSD) Message-ID: <3D6642A2.3040102@agava.com> Date: Fri, 23 Aug 2002 18:11:46 +0400 From: Ivan Albetkov Reply-To: ivan_alb@agava.com Organization: AGAVA Software User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020702 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Patrick O'Reilly Cc: Andrew Gallatin , freebsd-hackers@freebsd.org Subject: Re: Kernel Panic = System crash 8 times in 4 days References: <15718.14981.573727.965999@grasshopper.cs.duke.edu> <054301c24aae$6b99ed50$b50d030a@PATRICK> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Patrick O'Reilly wrote: > From: "Andrew Gallatin" > > >>Patrick, >> >>Your problem appears to be happening in a loaded module. >>From the stack trace, it would seem to be a loaded module dealing with >>filesystems. My money is on vinum. >> >>However, its a bit difficult to get a meaningful stack trace from a >>loadable module. To try debugging the module, grab the "gdbmods" >>shells script from: http://people.freebsd.org/~gallatin/gdbmods You >>run it as root: >>gdbmods /sys/compile/KERNCONF/kernel.debug /var/crash/vmcore.0 >> > > Andrew, > > thanks for helping out. > > I seem to be getting a different problem with gdbmods: > > # ./gdbmods kernel.debug.200208211211 vmcore.2 > please be patient while loaded modules are resolved > gdbmods using kernel: kernel.debug.200208211211 > gdbmods using core: vmcore.2 > > gdb extra arguments: > if: Missing file name. > # > > >>That means that either your crashdump doesn't match the kernel.debug >>you told the script to use, or the kernel you told the script to use >>does not have debug symbols. >> >>If this does not work, or looks too complex, can you please compile >>vinum statically into your kernel. Then when you crash, you should >>see function names between spec_strategy() and trap() in the stack >>trace. > > > OK - It looks to me like I need to build with: > options VINUMDEBUG > > Is that it? Then "make kernel" and bounce her? No, no, no! Your vinum is loaded as module, not compiled in. By default it compiles with VINUMDEBUG. so if you left all antouched now you must have /modules/vinum.ko with debug symbols. And don't care about gdbmods :). All you need to debug vinum is in man 4 vinum "Debugging problems with vinum: kernel panics" > > Regards, > Patrick O'Reilly. > ___ _ __ > / _ )__ __ (_)_ __ ___ _/ /____ __ > / __/ -_) _) / ~ ) -_), ,-/ -_) _) > /_/ \__/_//_/_/~/_/\__/ \__/\__/_/ > http://www.perimeter.co.za > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > -- Ivan Albetkov AGAVA Software (http://www.agava.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message