From owner-freebsd-current@FreeBSD.ORG Thu Jun 4 22:11:27 2009 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 8B9DC106564A; Thu, 4 Jun 2009 22:11:27 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 245898FC12; Thu, 4 Jun 2009 22:11:27 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n54MC1qR033427; Thu, 4 Jun 2009 18:12:01 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: David Naylor In-Reply-To: <200906042321.44624.naylor.b.david@gmail.com> References: <200906042321.44624.naylor.b.david@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-LuskzQxLg+UT4IMVva/F" Organization: MarcusCom, Inc. Date: Thu, 04 Jun 2009 18:11:27 -0400 Message-Id: <1244153487.19104.16.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.2 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: freebsd-current@freebsd.org, kib@freebsd.org Subject: Re: __getcwd panics [lock held] (r193174, r193186) 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: Thu, 04 Jun 2009 22:11:27 -0000 --=-LuskzQxLg+UT4IMVva/F Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2009-06-04 at 23:21 +0200, David Naylor wrote: > Hi, >=20 > A recent change (r193174, r193186) in vfs_cache has been causing __getcwd= to=20 > panic the system. The panic appears to trigger when I try install lang/e= zm3=20 > (with other things also happening). Can you try this patch: http://people.freebsd.org/~marcus/vfs_cache.c.diff Joe >=20 > -- hand copied --- >=20 > System call _getcwd returning with the following locks held: > shared rw Name Cache (Name Cache) r =3D 0 (0xc0eced7c) locked=20 > @ /usr/src/sys/kern/vfs_cache.c:1104 > panic: witness_warn >=20 > --- above reproducible --- >=20 > cpuid =3D 2 > KDB: enter: panic > [thread pid 23322 tid 100190 ] > Stopped at kdb_enter+0x3a: movl $0, kdb_why > db> cont > Uptime 20m35s > Physical memory: 3055 MB > Dumping 271 MB: 256 240 224panic: bufwrite: buffer is not busy??? > cpuid =3D 0 > KDB: enter: panic > [thread pid 25 tid 100055 ] > Stopped at kdb_enter+0x3a: movl $0, kdb_why > db> cont > Uptime: 20m36s > Automatic reboot in 15 seconds - press a key on the console to abort > Rebooting... > cpu_reset: Stopping other CPUs >=20 > --- systems hangs here, does nothing else --- > --- hard reset --- >=20 > I reverst the change (and r193175) and the panic 'disappeared'. =20 >=20 > Willing to test patches. =20 >=20 > Regards, >=20 > David --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-LuskzQxLg+UT4IMVva/F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkooRo4ACgkQb2iPiv4Uz4cVcgCfZdoIvmgO2pyuC5sMDCwFyMnz We8Anj2pVYCEoAbV2gxpkI93iNzcYD3K =Z18v -----END PGP SIGNATURE----- --=-LuskzQxLg+UT4IMVva/F--