From owner-freebsd-current@FreeBSD.ORG Tue Jul 22 19:19:35 2008 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 6F51E1065678; Tue, 22 Jul 2008 19:19:35 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id E0E848FC1F; Tue, 22 Jul 2008 19:19:34 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m6MJJSNi047443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Jul 2008 22:19:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m6MJJS4t075190; Tue, 22 Jul 2008 22:19:28 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m6MJJRAo075189; Tue, 22 Jul 2008 22:19:27 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 22 Jul 2008 22:19:27 +0300 From: Kostik Belousov To: Andrew Gallatin Message-ID: <20080722191927.GB17123@deviant.kiev.zoral.com.ua> References: <4884F992.7090008@cs.duke.edu> <20080722154825.GZ17123@deviant.kiev.zoral.com.ua> <488615A0.7030106@cs.duke.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zDIj/tilPJu/aAeA" Content-Disposition: inline In-Reply-To: <488615A0.7030106@cs.duke.edu> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: attilio@freebsd.org, freebsd-current@freebsd.org Subject: Re: reproducible "panic: share->excl" 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: Tue, 22 Jul 2008 19:19:35 -0000 --zDIj/tilPJu/aAeA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 22, 2008 at 01:15:12PM -0400, Andrew Gallatin wrote: > Kostik Belousov wrote: >=20 > >Essentially, you tried to do the write of the part of the region mmaped > >from the file, to the file. The VOP_WRITE() is called with exclusively > >locked vnode, while fault handler tried to lock the vnode in shared mode > >to page in. >=20 > Yes, the operations attempted were rather nonsensical, but should > not have killed the system. Thank you for looking into it. Why nonsensical ? The operations are legitimate, and kernel must not panic. The question still open is whether the patch fixed the issue for you. --zDIj/tilPJu/aAeA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkiGMr8ACgkQC3+MBN1Mb4gJJgCgwNGngTSiw12YAscXzoiHD/0E HAEAoI4+GvjALZFS8Rj/EUhrX+h4A8Rm =rrbl -----END PGP SIGNATURE----- --zDIj/tilPJu/aAeA--