From owner-freebsd-current@FreeBSD.ORG Wed Jan 20 16:34:46 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 1E4A41065695 for ; Wed, 20 Jan 2010 16:34:46 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx1.freebsd.org (Postfix) with ESMTP id 967718FC18 for ; Wed, 20 Jan 2010 16:34:45 +0000 (UTC) Received: by fxm10 with SMTP id 10so2094402fxm.34 for ; Wed, 20 Jan 2010 08:34:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=gvVaCaE19FZxn/k9WMaISvRgYQ6dlRJ8OszvqWEnMi8=; b=Qq58Y0ZPb8xMAj+i8yW1fWuxK/50LT2UwguMFhla4IlNnA9DW8GHzG5JbxmO4pC7ad CPLssMVAQ4ggAlQmfPrMRN7jwlY+L0iSXmF/YP3f5aAxwpvf+l9+KSaKTEurbcdAdRAK GoxdMa56ql7NLNjW6I+vT0/heueIHTkirsrQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; b=HJFO6w/7Vxpwe32PwXCLr1JLQyhAb7riCFeI0ct2Py5tvITvsRqbcp238HB124jvl6 42U0JDphzB+7cwMglN3UqueV4HFKijy2WdGCBvg8esdDQlOt/0JuflYpFqvNV5Vu9fKL VPlg+qPBz3wjXsBXuUl1KKIZYrg4laHJ7V2MU= Received: by 10.216.86.132 with SMTP id w4mr70716wee.87.1264005284267; Wed, 20 Jan 2010 08:34:44 -0800 (PST) Received: from dragon.dg ([41.216.197.17]) by mx.google.com with ESMTPS id 28sm9701534eye.3.2010.01.20.08.34.42 (version=SSLv3 cipher=RC4-MD5); Wed, 20 Jan 2010 08:34:43 -0800 (PST) From: David Naylor Organization: Private To: gary.jennejohn@freenet.de Date: Wed, 20 Jan 2010 18:34:45 +0200 User-Agent: KMail/1.12.3 (FreeBSD/8.0-STABLE; KDE/4.3.3; amd64; ; ) References: <201001201543.15818.naylor.b.david@gmail.com> <20100120162821.3f53af6a@ernst.jennejohn.org> <201001201805.57798.naylor.b.david@gmail.com> In-Reply-To: <201001201805.57798.naylor.b.david@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart4066690.RP3TjsJMoC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201001201834.48466.naylor.b.david@gmail.com> 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 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 16:34:46 -0000 --nextPart4066690.RP3TjsJMoC Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Wednesday 20 January 2010 18:05:54 David Naylor wrote: > On Wednesday 20 January 2010 17:28:21 Gary Jennejohn wrote: > > On Wed, 20 Jan 2010 15:43:12 +0200 David Naylor wrote: > > > Hi, > > > > > > The attached script, that uses stacked unionfs, causes FreeBSD-9 (cvs= up > > > yesterday) to freeze and FreeBSD-8 (cvsup two days ago) to crash: > > > > > > Fatal double fault > > > rip-0xffffffff81e4c1 > > > rsp=3D0xffffff80b133ef50 > > > rbp=3D0xffffff80b133f150 > > > cupid =3D 2; apic id =3D 02 > > > panic: double fault > > > cpuid =3D 2 > > > uptime: 1h44m35s > > > cannot dump. Device not defined or unavailable > > > > > > > > > Both systems use the stock GENERIC kernel, i.e. -9 had full diagnosti= cs > > > 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). S= ee > > > 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=3D/tmp/localbase BUILDDIR=3D/tmp/builddir > > > ./ports-union-builder.sh > > > > Is your /tmp big enough? >=20 > I was actually using /home, didn't think people wanted to contaminate that > directory. Plenty of space. >=20 > > > 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. >=20 > I did attach the script. Guess mailer ate it, again. I'll try again... >=20 > > > 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. >=20 > No I haven't and no I don't. I thought it automatically used swap? >=20 > I'll 'activate' it and post the results. Here it is. If anyone ones the full core.txt just shout. =20 #0 doadump () at pcpu.h:223 223 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:223 #1 0xffffffff80589ba9 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xffffffff80589fdc in panic (fmt=3D0xffffffff8098bd81 "double fault") at /usr/src/sys/kern/kern_shutdown.c:579 #3 0xffffffff8086e546 in dblfault_handler (frame=3DVariable "frame" is not= =20 available.) at /usr/src/sys/amd64/amd64/trap.c:884 #4 0xffffffff808557fc in Xdblfault () at /usr/src/sys/amd64/amd64/exception.S:278 #5 0xffffffff81e464c1 in unionfs_statfs (mp=3DVariable "mp" is not availab= le.) at /usr/src/sys/modules/unionfs/../../fs/unionfs/union_vfsops.c:428 Previous frame inner to this frame (corrupt stack?) (kgdb) --nextPart4066690.RP3TjsJMoC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEABECAAYFAktXMKgACgkQUaaFgP9pFrJ1TgCdFbDeTCPhyEJBL63GC7c89/e4 zkgAn2TjWNGRZ2C7r3whz05rSFRs+8f6 =7p12 -----END PGP SIGNATURE----- --nextPart4066690.RP3TjsJMoC--