From owner-freebsd-stable Sun Sep 1 12:52:28 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 B951737B4D1 for ; Sun, 1 Sep 2002 12:52:03 -0700 (PDT) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F2A443E42 for ; Sun, 1 Sep 2002 12:52:03 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from earth.hub.org (earth.hub.org [64.49.215.11]) by earth.hub.org (Postfix) with ESMTP id 61D562CC7F0; Sun, 1 Sep 2002 16:51:59 -0300 (ADT) Date: Sun, 1 Sep 2002 16:51:59 -0300 (ADT) From: "Marc G. Fournier" To: Matthew Dillon Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Crash with KVM monitoring in place ... In-Reply-To: <200209011935.g81JZFLq014946@apollo.backplane.com> Message-ID: <20020901165132.S9332-100000@hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 shouldn't kern.dumpdev tell me what device I have it pointed to? venus# sysctl -a | grep dump kern.dumpdev: kern.sugid_coredump: 0 kern.coredump: 1 machdep.do_dump: 1 venus# grep dump /etc/rc.conf dumpdev="/dev/amrd0s1b" On Sun, 1 Sep 2002, 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. > > -Matt > Matthew Dillon > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message