Date: Sun, 1 Sep 2002 16:51:59 -0300 (ADT) From: "Marc G. Fournier" <scrappy@hub.org> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Crash with KVM monitoring in place ... Message-ID: <20020901165132.S9332-100000@hub.org> In-Reply-To: <200209011935.g81JZFLq014946@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > <dillon@backplane.com> > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020901165132.S9332-100000>