From owner-freebsd-current@FreeBSD.ORG Tue Jul 22 19:51:00 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 7E68F10656A4; Tue, 22 Jul 2008 19:51:00 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.freebsd.org (Postfix) with ESMTP id 496798FC1F; Tue, 22 Jul 2008 19:51:00 +0000 (UTC) (envelope-from gallatin@cs.duke.edu) Received: from [172.31.193.10] (cpe-075-177-134-250.nc.res.rr.com [75.177.134.250]) (authenticated bits=0) by duke.cs.duke.edu (8.14.2/8.14.2) with ESMTP id m6MJoxiv000834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 22 Jul 2008 15:50:59 -0400 (EDT) X-DKIM: Sendmail DKIM Filter v2.5.3 duke.cs.duke.edu m6MJoxiv000834 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cs.duke.edu; s=mail; t=1216756259; bh=Fi3byXqcbMRGMi96LWN5zjGrz6Aq7nTi19NYk7cQa2c=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=EzjxiRmLYzto TT7a7Q0K0OJaYhqfGDlzof01olkz9nhUPd6xqQG+jvCtksyiaXZUw79tKkAE8EyFKs2 h23LvfqMsKdkTfMxMr4/wGYAZmh5SkbenXn4pXciFicAXU8zhHG4CtieIZjduD71DqF L0Kn7qOP4yudiBMw0NOAbLfsc= Message-ID: <48863A1B.6030808@cs.duke.edu> Date: Tue, 22 Jul 2008 15:50:51 -0400 From: Andrew Gallatin User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Kostik Belousov References: <4884F992.7090008@cs.duke.edu> <20080722154825.GZ17123@deviant.kiev.zoral.com.ua> <488615A0.7030106@cs.duke.edu> <20080722191927.GB17123@deviant.kiev.zoral.com.ua> In-Reply-To: <20080722191927.GB17123@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:51:00 -0000 Kostik Belousov wrote: > On Tue, Jul 22, 2008 at 01:15:12PM -0400, Andrew Gallatin wrote: >> Kostik Belousov wrote: >> >>> 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. >> 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. Yes, the patch fixes the panic. Thank you, Drew