From owner-freebsd-questions@freebsd.org Wed Mar 23 09:54:04 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 270A399AD5A for ; Wed, 23 Mar 2016 09:54:04 +0000 (UTC) (envelope-from pho@holm.cc) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07EED1CCE for ; Wed, 23 Mar 2016 09:54:03 +0000 (UTC) (envelope-from pho@holm.cc) Received: from x2.osted.lan (87-58-223-204-dynamic.dk.customer.tdc.net [87.58.223.204]) by relay01.pair.com (Postfix) with ESMTP id EC752D00A01; Wed, 23 Mar 2016 05:54:01 -0400 (EDT) Received: from x2.osted.lan (localhost [127.0.0.1]) by x2.osted.lan (8.14.9/8.14.9) with ESMTP id u2N9rx86069903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 23 Mar 2016 10:53:59 +0100 (CET) (envelope-from pho@x2.osted.lan) Received: (from pho@localhost) by x2.osted.lan (8.14.9/8.14.9/Submit) id u2N9rwCJ069902; Wed, 23 Mar 2016 10:53:58 +0100 (CET) (envelope-from pho) Date: Wed, 23 Mar 2016 10:53:58 +0100 From: Peter Holm To: Konstantin Belousov Cc: Nick Evans , freebsd-questions@freebsd.org Subject: Re: Intel 750 Panic Unmounting During TRIM Message-ID: <20160323095358.GA63874@x2.osted.lan> References: <20160322125935.6be25e20@pleiades.nextvenue.com> <20160322202520.GA32179@x2.osted.lan> <20160323065745.GV1741@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160323065745.GV1741@kib.kiev.ua> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2016 09:54:04 -0000 On Wed, Mar 23, 2016 at 08:57:45AM +0200, Konstantin Belousov wrote: > On Tue, Mar 22, 2016 at 09:25:20PM +0100, Peter Holm wrote: > > On Tue, Mar 22, 2016 at 12:59:35PM -0400, Nick Evans wrote: > > > > > > panic: losing buffer 1 > > > cpuid = 2 > This one is interesting. > > > > > I see a different panic with this scenario: > > panic: Lock Per-Filesystem Softdep Lock not exclusively locked @ ../../../ufs/ffs/ffs_softdep.c:1950 > > > > https://people.freebsd.org/~pho/stress/log/trim7.txt > This issue should be fixed by the following patch. > > diff --git a/sys/ufs/ffs/ffs_softdep.c b/sys/ufs/ffs/ffs_softdep.c > index 04ea39c..bedc8e1 100644 > --- a/sys/ufs/ffs/ffs_softdep.c Yes, this patch fixes the "Per-Filesystem Softdep Lock" panic. Still trying to reproduce the "loosing buffer" panic. - Peter