From owner-freebsd-stable@FreeBSD.ORG Fri Dec 14 18:33:10 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 14AA2C0; Fri, 14 Dec 2012 18:33:10 +0000 (UTC) (envelope-from ken@kdm.org) Received: from nargothrond.kdm.org (nargothrond.kdm.org [70.56.43.81]) by mx1.freebsd.org (Postfix) with ESMTP id 788E28FC08; Fri, 14 Dec 2012 18:33:09 +0000 (UTC) Received: from nargothrond.kdm.org (localhost [127.0.0.1]) by nargothrond.kdm.org (8.14.2/8.14.2) with ESMTP id qBEILlY9066662; Fri, 14 Dec 2012 11:21:47 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id qBEILltT066661; Fri, 14 Dec 2012 11:21:47 -0700 (MST) (envelope-from ken) Date: Fri, 14 Dec 2012 11:21:47 -0700 From: "Kenneth D. Merry" To: olivier Subject: Re: NFS/ZFS hangs after upgrading from 9.0-RELEASE to -STABLE Message-ID: <20121214182147.GA66456@nargothrond.kdm.org> References: <50C9AFC6.6080902@FreeBSD.org> <50CA1639.1010409@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i Cc: freebsd-fs@freebsd.org, freebsd-stable@freebsd.org, Kashyap.Desai@lsi.com, Andriy Gapon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 18:33:10 -0000 This doesn't quite make sense. In your original email, you said that you're using a mpt-based Fibre Channel card and have a ZFS filesystem on top of that. If that's the case, why would going back to an older version of the mps(4) driver change things at all? It has no support for that hardware. Ken On Thu, Dec 13, 2012 at 22:14:15 -0800, olivier wrote: > For what it's worth, I think I might have solved my problem by reverting to > an older version of the mps driver. I checked out a recent version of > 9-STABLE and reversed the changes in > http://svnweb.freebsd.org/base?view=revision&revision=230592 (perhaps there > was a simpler way of reverting to the older mps driver). So far so good, no > hang even when hammering the file system. > > This does not conclusively prove that the new LSI mps driver is at fault, > but that seems to be a likely explanation. > > Thanks to everybody who pointed me in the right direction. Hope this helps > others who run into similar problems with 9.1 > Olivier > > On Thu, Dec 13, 2012 at 10:14 AM, olivier wrote: > > > > > > > On Thu, Dec 13, 2012 at 9:54 AM, Andriy Gapon wrote: > > > >> Google for "zfs deadman". This is already committed upstream and I think > >> that it > >> is imported into FreeBSD, but I am not sure... Maybe it's imported just > >> into the > >> vendor area and is not merged yet. > >> > > > > Yes, that's exactly what I had in mind. The logic for panicking makes > > sense. > > As far as I can tell you're correct that deadman is in the vendor area but > > not merged. Any idea when it might make it into 9-STABLE? > > Thanks > > Olivier > > > > > > > > > >> So, when enabled this logic would panic a system as a way of letting know > >> that > >> something is wrong. You can read in the links why panic was selected for > >> this job. > >> > >> And speaking FreeBSD-centric - I think that our CAM layer would be a > >> perfect place > >> to detect such issues in non-ZFS-specific way. > >> > >> -- > >> Andriy Gapon > >> > > > > -- Kenneth Merry ken@FreeBSD.ORG