From owner-freebsd-hackers Fri Aug 23 7: 6: 8 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 868AC37B400 for ; Fri, 23 Aug 2002 07:06:04 -0700 (PDT) Received: from perimeter.co.za (obelix.perimeter.co.za [209.212.102.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8E2543E6E for ; Fri, 23 Aug 2002 07:06:00 -0700 (PDT) (envelope-from bsd@perimeter.co.za) Received: from PATRICK (gateway.mip.co.za [209.212.102.245]) (AUTH: LOGIN bsd@perimeter.co.za) by perimeter.co.za with esmtp; Fri, 23 Aug 2002 16:05:56 +0200 Message-ID: <054301c24aae$6b99ed50$b50d030a@PATRICK> From: "Patrick O'Reilly" To: "Andrew Gallatin" Cc: freebsd-hackers@freebsd.org References: <15718.14981.573727.965999@grasshopper.cs.duke.edu> Subject: Re: Kernel Panic = System crash 8 times in 4 days Date: Fri, 23 Aug 2002 16:07:27 +0200 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 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 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? 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