From owner-freebsd-stable Sun Sep 1 13:12:58 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC9D737B400 for ; Sun, 1 Sep 2002 13:12:53 -0700 (PDT) Received: from host217-39-133-112.in-addr.btopenworld.com (host217-39-122-112.in-addr.btopenworld.com [217.39.122.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D69343E72 for ; Sun, 1 Sep 2002 13:12:53 -0700 (PDT) (envelope-from dom@host217-39-133-112.in-addr.btopenworld.com) Received: by host217-39-133-112.in-addr.btopenworld.com (Postfix, from userid 1001) id 2C3511EE; Sun, 1 Sep 2002 20:45:54 +0100 (BST) Date: Sun, 1 Sep 2002 20:45:54 +0100 From: Dominic Marks To: Matthew Dillon Cc: "Marc G. Fournier" , freebsd-stable@FreeBSD.ORG Subject: Re: Crash with KVM monitoring in place ... Message-ID: <20020901194553.GA96195@gallium> References: <20020901162024.J27764-100000@hub.org> <200209011935.g81JZFLq014946@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209011935.g81JZFLq014946@apollo.backplane.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Sep 01, 2002 at 12:35:15PM -0700, Matthew Dillon wrote: > > : > :On Sun, 1 Sep 2002, Matthew Dillon wrote: > : > :> > :> :> 'trace'. If over several crashes it dies in the same place > :> :> then we at least have an idea where to look. > :> :> > :> :> How large is your swap space, or your largest free partition? > :> : > :> :My swap is only ~2gig, and my drive looks like: > :> > :> Right... then do as I suggested in a previous email. Reduce > :> the machine's memory to 2G via /boot/loader.conf: > :> > :> hw.physmem="2048m" > :> > :> Then reboot and turn on dumps to the swap device. If you > :> can reproduce the crash with the machine downgraded to 2G > :> we should get a dump we can work with. > : > :Okay, just to confirm, my swap device looks like: > : > :venus# pstat -s > :Device 1K-blocks Used Avail Capacity Type > :/dev/amrd0s1b 2097024 8708 2088316 0% Interleaved > : > :which is just under 2048m, at 2039m instead ... so ... should I sent it > :down to 2000m even, or ... ? > : > :And all I need to do is set 'dumpdev="/dev/amrd0s1b' in /etc/rc.conf ... > :no other settings I need? > > pstat -s reports 128K less then the actual size of the > partition, so you have 2097152 = 2G exactly. 2048m > should be fine. > > Yes, setting dumpdev="/dev/amrd0s1b" in /etc/rc.conf should do > it. You might want to set the dumpdir variable too, you'll need the location for the dumps to have enough space, or when your machine boots up it will try and read the dump from the swap space onto /var/crash (default) obviously its no good if it runs out of space while it is doing this. Good Luck. > -Matt > Matthew Dillon > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- Dominic Marks Computer & Politics Geek [work]::[npl.co.uk] << dominic.marks at npl.co.uk >> [educ]::[umist.ac.uk] << notyet-known at umist.ac.uk >> [home]::[btinternet] << dominic_marks at btinternet.com >> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message