From owner-freebsd-fs@FreeBSD.ORG Fri Dec 14 06:14:16 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D0792D3C; Fri, 14 Dec 2012 06:14:16 +0000 (UTC) (envelope-from olivier777a7@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 853A88FC0C; Fri, 14 Dec 2012 06:14:16 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi5so1975695pad.13 for ; Thu, 13 Dec 2012 22:14:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lD8ye38yOiC5Jllvu4GChUMBUnwpuV1W3TwPBjmwkdc=; b=l0hy/U0D9YWmYjHUsUOU5DX/DfSx9KYWHGCq33K/ReOdpXQWW9TMfSNxn//mtRmMsP yAbnjfbPby1d8tayMjeiOkmvesPz/xhG6oVkCPpcWsenBYWWCyucQHR5LR2XC9kpggMO INapMSGn2/cLBqAL6TMsrV4pnQ46Ss5B/CBqJg1pIMtj1xqMMscmuLUAhPtS6f4PdaDE xIXUtaWXJ9j5BhnY0UbMyFSdLyFXC1/oJ3TwFBkWQ9mvIgWT6NPcJIdre/rJ8CqxHcV3 qbSJuoDPMBdnLl7idpOv9nn+JoP7PULB3AMFyddbfzwprCGC5KtgXEpa6I+JpjDAwDFM AiuQ== MIME-Version: 1.0 Received: by 10.68.238.165 with SMTP id vl5mr13179584pbc.0.1355465655907; Thu, 13 Dec 2012 22:14:15 -0800 (PST) Received: by 10.66.148.136 with HTTP; Thu, 13 Dec 2012 22:14:15 -0800 (PST) In-Reply-To: References: <50C9AFC6.6080902@FreeBSD.org> <50CA1639.1010409@FreeBSD.org> Date: Thu, 13 Dec 2012 22:14:15 -0800 Message-ID: Subject: Re: NFS/ZFS hangs after upgrading from 9.0-RELEASE to -STABLE From: olivier To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-fs@freebsd.org, ken@FreeBSD.org, freebsd-stable@freebsd.org, Kashyap.Desai@lsi.com X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Dec 2012 06:14:17 -0000 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 >> > >