From owner-freebsd-current@FreeBSD.ORG Wed Oct 24 17:48:09 2007 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 7060B16A419 for ; Wed, 24 Oct 2007 17:48:09 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 13DC413C4DD for ; Wed, 24 Oct 2007 17:48:09 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 3D53745F66; Wed, 24 Oct 2007 19:47:44 +0200 (CEST) Received: from localhost (public-gprs75260.centertel.pl [91.94.167.76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id ED468456AB; Wed, 24 Oct 2007 19:47:19 +0200 (CEST) Date: Wed, 24 Oct 2007 19:45:55 +0200 From: Pawel Jakub Dawidek To: Olli Hauer Message-ID: <20071024174554.GB1119@garage.freebsd.pl> References: <471BCF96.7000207@gmx.de> <20071022184033.GC1118@garage.freebsd.pl> <471E4B3C.3060807@gmx.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cmJC7u66zC7hs+87" Content-Disposition: inline In-Reply-To: <471E4B3C.3060807@gmx.de> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: zfs kernel messages 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, 24 Oct 2007 17:48:09 -0000 --cmJC7u66zC7hs+87 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 23, 2007 at 09:27:56PM +0200, Olli Hauer wrote: > lock order reversal: > 1st 0xc4cea568 struct mount mtx (struct mount mtx) @=20 > /usr/src/sys/modules/zfs/../../compat/opensolaris/kern/opensolaris_vfs.c= :209 > 2nd 0xc3ee9010 sleep mtxpool (sleep mtxpool) @=20 > /usr/src/sys/kern/kern_resource.c:1266 > KDB: stack backtrace: > db_trace_self_wrapper(c0a9c175,e7318734,c078510e,c0a9e63c,c3ee9010,...) a= t=20 > db_trace_self_wrapper+0x26 > kdb_backtrace(c0a9e63c,c3ee9010,c0a982df,c0a982df,c0a98e54,...) at=20 > kdb_backtrace+0x29 > witness_checkorder(c3ee9010,9,c0a98e54,4f2,38,...) at=20 > witness_checkorder+0x6de > _mtx_lock_flags(c3ee9010,0,c0a98e54,4f2,c4c32d00,...) at=20 > _mtx_lock_flags+0xbc > uifree(c3f08c20,c4967220,c4cea538,e73187d4,c431b9df,...) at uifree+0x2d > crfree(c4c32d00,0,c439446c,d1,c3,...) at crfree+0x54 > domount(c48f8840,c4967220,c43995fb,c469e260,e7318810,...) at domount+0x20f > zfsctl_snapdir_lookup(e7318aa0,e7318aa0,c48f8840,2,c4967330,...) at=20 > zfsctl_snapdir_lookup+0x362 > VOP_LOOKUP_APV(c439d5e0,e7318aa0,c48f8840,c0aa409d,19b,...) at=20 > VOP_LOOKUP_APV+0xa5 > lookup(e7318b48,c0aa409d,c6,bf,c4cd772c,...) at lookup+0x58e > namei(e7318b48,c48f8840,c0bb51d4,c48f8840,e7318b4c,...) at namei+0x34b > kern_lstat(c48f8840,282111b8,0,e7318c18,c0aa5520,...) at kern_lstat+0x4f > lstat(c48f8840,e7318cfc,8,c0a9f13d,c0b469d0,...) at lstat+0x2f > syscall(e7318d38) at syscall+0x2b3 > Xint0x80_syscall() at Xint0x80_syscall+0x20 > --- syscall (190, FreeBSD ELF32, lstat), eip =3D 0x2819c48b, esp =3D=20 Revert the previous patch, refetch and try again. The new one also eliminates this LOR: http://people.freebsd.org/~pjd/patches/opensolaris_vfs.c.patch --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --cmJC7u66zC7hs+87 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHH4TSForvXbEpPzQRAvZDAJ41AMEyTrpSJ2qlDZXAC4Cf+Uv0xQCg3A8o /RMGoAYqXRqpKvxdOnVKwnE= =8ktG -----END PGP SIGNATURE----- --cmJC7u66zC7hs+87--