From owner-freebsd-ia64@FreeBSD.ORG Fri Jul 31 08:39:14 2009 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A64841065672; Fri, 31 Jul 2009 08:39:14 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD3D8FC1A; Fri, 31 Jul 2009 08:39:14 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1MWndj-0005ZP-A8; Fri, 31 Jul 2009 09:39:12 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1MWndi-0003U5-CF; Fri, 31 Jul 2009 09:38:58 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id n6V8cwFK061145; Fri, 31 Jul 2009 09:38:58 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id n6V8cvTT061144; Fri, 31 Jul 2009 09:38:57 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 31 Jul 2009 09:38:57 +0100 From: Anton Shterenlikht To: Adam Vande More Message-ID: <20090731083857.GA58821@mech-cluster241.men.bris.ac.uk> References: <4A7271DE.7070702@p6m7g8.com> <6201873e0907302246r10033969p1651104b6e0598cf@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6201873e0907302246r10033969p1651104b6e0598cf@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.2 X-Spam-Level: ---- Cc: "Philip M. Gollucci" , questions@freebsd.org, freebsd-current@freebsd.org, freebsd-ia64@freebsd.org Subject: Re: gmirror / crash dumps X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 08:39:15 -0000 On Fri, Jul 31, 2009 at 12:46:32AM -0500, Adam Vande More wrote: > On Thu, Jul 30, 2009 at 11:23 PM, Philip M. Gollucci > wrote: > > > Hi, > > > > Say I've got the following: > > /dev/mirror/gm0s1b none swap sw > > > > /dev/mirror/gm0s1a 989M 390M 520M 43% / > > /dev/mirror/gm0s1g 15G 1.7G 12G 13% /usr > > /dev/mirror/gm0s1h 544G 1.8M 501G 0% /usr/home > > /dev/mirror/gm0s1d 1.9G 500M 1.3G 27% /usr/src > > /dev/mirror/gm0s1e 1.9G 1.1G 733M 60% /usr/obj > > /dev/mirror/gm0s1f 97G 2.0K 89G 0% /var > > > > Well I'm trying to get my kernel panics to cause dumps > > 1) /etc/rc.conf > > dumpdev=AUTO > > crashinfo_enable="YES" > > > > 2) sudo chmod 700 /var/crash > > > > 3) 8GB RAM, 16GB of swap, /var/crash is 16GB < 97GB > > > > 4) I have the following in my 7-stable kernel > > makeoptions DEBUG=-g > > options AUDIT > > options KTRACE > > options KDB > > options KDB_TRACE > > options DDB > > options GDB > > options BREAK_TO_DEBUGGER > > options INVARIANTS > > options INVARIANT_SUPPORT > > options WITNESS > > options DEBUG_LOCKS > > options DEBUG_VFS_LOCKS > > options LOCK_PROFILING > > options DIAGNOSTIC > > > > The long and the short of it is I don't get any dumps. > > > > I read somewhere that you can't dump onto a gmirror device. > > > That is incorrect, but I don't know the cause of your problem. I run > nothing but gmirror and dumps happen here. I was also told that "you won't get a valid dump if your dumpdev is on a GEOM_MIRROR device" http://lists.freebsd.org/pipermail/freebsd-ia64/2009-July/002205.html -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423