From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 20:06:02 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 03CC816A4CE; Thu, 24 Jun 2004 20:06:02 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i5OK61Vc007332; Thu, 24 Jun 2004 16:06:01 -0400 (EDT) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.12.11/8.12.11/Submit) id i5OK61Cx007331; Thu, 24 Jun 2004 16:06:01 -0400 (EDT) (envelope-from green) Date: Thu, 24 Jun 2004 16:06:00 -0400 From: Brian Fundakowski Feldman To: Andrew Gallatin Message-ID: <20040624200600.GB1112@green.homeunix.org> References: <20040624072910.53703.qmail@web14101.mail.yahoo.com> <16602.49633.178084.134850@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16602.49633.178084.134850@grasshopper.cs.duke.edu> User-Agent: Mutt/1.5.6i cc: Claus Guttesen cc: current@freebsd.org Subject: Re: unable to make a crashdump 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: Thu, 24 Jun 2004 20:06:02 -0000 On Thu, Jun 24, 2004 at 07:58:25AM -0400, Andrew Gallatin wrote: > > Claus Guttesen writes: > > Hi. > > > > I'm trying to get a crashdump from my kernel when it > > panics. I have the following in my kernel: > > > > makeoptions DEBUG=-g > > options DDB, DDB_UNATTENDED > > You may also want to add DDB_TRACE. This gets a stack > trace on console regardless of a crashdump's success. > You may have to jot it down by hand, but in many cases its enough > to characterize the panic enough for a meaningful problem report. > > <...> > > > syncing bugger 3795 > > > > And then it hangs. Swap is 2 GB, RAM is 1 GB. > > > > > Sync'ing on panic nearly always locks my machines up too. > When I turn this off (sysctl kern.sync_on_panic=0), then > I reliably get dumps. > > Is anybody able to reliably get dumps with kern.sync_on_panic enabled? > Maybe it works on SCSI boxes (all of my crashboxes are IDE)... I don't have SCSI, but it certainly doesn't work for me. I have no idea why it's the default when it screws over so many people (and how is it going to work if the filesystem code panics?) -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\