From owner-freebsd-current@FreeBSD.ORG Wed Jan 20 15:28:23 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F047810656A8 for ; Wed, 20 Jan 2010 15:28:23 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout5.freenet.de (mout5.freenet.de [IPv6:2001:748:100:40::2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 87A8A8FC27 for ; Wed, 20 Jan 2010 15:28:23 +0000 (UTC) Received: from [195.4.92.26] (helo=16.mx.freenet.de) by mout5.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.70 #1) id 1NXcTm-0004AI-Bs; Wed, 20 Jan 2010 16:28:22 +0100 Received: from p57ae23bf.dip0.t-ipconnect.de ([87.174.35.191]:39878 helo=ernst.jennejohn.org) by 16.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #94) id 1NXcTl-0004cG-Rf; Wed, 20 Jan 2010 16:28:22 +0100 Date: Wed, 20 Jan 2010 16:28:21 +0100 From: Gary Jennejohn To: David Naylor Message-ID: <20100120162821.3f53af6a@ernst.jennejohn.org> In-Reply-To: <201001201543.15818.naylor.b.david@gmail.com> References: <201001201543.15818.naylor.b.david@gmail.com> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.2; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: stacked unionfs freeze and crash FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 15:28:24 -0000 On Wed, 20 Jan 2010 15:43:12 +0200 David Naylor wrote: > Hi, > > The attached script, that uses stacked unionfs, causes FreeBSD-9 (cvsup > yesterday) to freeze and FreeBSD-8 (cvsup two days ago) to crash: > > Fatal double fault > rip-0xffffffff81e4c1 > rsp=0xffffff80b133ef50 > rbp=0xffffff80b133f150 > cupid = 2; apic id = 02 > panic: double fault > cpuid = 2 > uptime: 1h44m35s > cannot dump. Device not defined or unavailable > > > Both systems use the stock GENERIC kernel, i.e. -9 had full diagnostics built > in (and was run under VirtualBox) and -8 had no diagnostics (and was run > native). > > A LOR is produces prior to freezing under -9 (quiet a time prior). See > kern/141950. > > The script uses unionfs to build ports (in an attempt to create a tinderbox > without the need to delete and/or extract packages). To use the script to: > > # mkdir /tmp/localbase /tmp/builddir > # env LOCALBASE=/tmp/localbase BUILDDIR=/tmp/builddir ./ports-union-builder.sh > Is your /tmp big enough? > This will try build everything for x11/xorg. > Is it possible that VirtualBox is interfering in getting usable diagnostics > for -9 > Who knows? You might try posting your shell script so others can give it a whirl on a "real" 9-current system. > and how can I setup a dump device for -8. Currently I have: > > # swapinfo > Device 1K-blocks Used Avail Capacity > /dev/ad4s1b 8388608 0 8388608 0% > /dev/ad8s1b 8388608 0 8388608 0% > Total 16777216 0 16777216 0% > Do you have dumpdev defined in /etc/rc.conf and/or do you see /dev/dumpdev? Having /dev/dumpdev indicates that dumpon succeeded. Do you have less than 8GB of memory? See dumpon(8) for restrictions. --- Gary Jennejohn