From owner-freebsd-current@FreeBSD.ORG Tue Mar 27 20:22:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 545251065673; Tue, 27 Mar 2012 20:22:32 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CE4368FC1B; Tue, 27 Mar 2012 20:22:31 +0000 (UTC) Received: by vcmm1 with SMTP id m1so341286vcm.13 for ; Tue, 27 Mar 2012 13:22:31 -0700 (PDT) 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:content-transfer-encoding; bh=BNgh97xu6/HiAsMklRL03gPhzaMy1JcttnRmzHqdo8s=; b=vV9CbRqCxwCr3sy4F7XFN6VsPmpgpCv2DE1SelM2UXHUw+2fx9ETEqNf9IFPdzo5Lk tR3foB4La5KsFuVp5mhFVH2RgIM5n9g2WxrpEME46/uJrTAqE3aMTxB2frfJZUE8Fgef f5W2ZGTQa9usR0bkoD6tk8rKp3o75gtAmaCX07K5Et7R3sMumKlk0ioiHKME4ZyvYzOt hjneVAj6XrEIqFqbfwg/E4Xel9wYQnqvKiyt3EZd+7G3Fpvhz01SRfyLXXx/GT7bPGyF km1emA/FEKT0AByBwUGvCrMi3QZLCUnrcNM2tj1lsZQHvxlluw5QvL3ClfEeNF/9Rtgq r1QQ== MIME-Version: 1.0 Received: by 10.52.26.103 with SMTP id k7mr10787015vdg.26.1332879750738; Tue, 27 Mar 2012 13:22:30 -0700 (PDT) Received: by 10.220.230.135 with HTTP; Tue, 27 Mar 2012 13:22:30 -0700 (PDT) In-Reply-To: References: <20120120204459.GA51162@nargothrond.kdm.org> <72898EA27A61484885D72A06BD9CECE8@multiplay.co.uk> <20120120232841.GA71874@nargothrond.kdm.org> <20120326132558.GB76647@in-addr.com> <20120327172129.GA67307@nargothrond.kdm.org> Date: Tue, 27 Mar 2012 13:22:30 -0700 Message-ID: From: Garrett Cooper To: Jason Wolfe Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "Desai, Kashyap" , Matt Thyer , "Kenneth D. Merry" , freebsd-current@freebsd.org, Steven Hartland , freebsd-scsi@freebsd.org Subject: Re: LSI supported mps(4) driver available 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, 27 Mar 2012 20:22:32 -0000 On Tue, Mar 27, 2012 at 11:27 AM, Jason Wolfe wrote: > On Tue, Mar 27, 2012 at 10:21 AM, Kenneth D. Merry wrot= e: >> On Tue, Mar 27, 2012 at 23:50:31 +1030, Matt Thyer wrote: >>> On 26 March 2012 23:55, Gary Palmer wrote: >>> >>> It's painful to take this system back to r230921 due to intolerance for >>> downtime from it's users so I'd like to investigate the cause of the >>> problem and try patches/sysctls/whatever first. >>> >>> The drives I'm using are 7 x WDC WD20EARS-00M (3 are AB50, 4 are AB51) = and >>> 1 x WD20EARX-00P AB51. >>> The WD20EARX-00P AB51 is a SATA 3 (6 Gbps) drive but the others are all >>> SATA 2 (3 Gbps). >>> >>> I know the driver doesn't like mixed speeds in IR mode but I'm flashed = with >>> IT firmware as ZFS is doing my RAID (raidz2). >>> >>> I was having problems with the WD20EARX-00P AB51 drive being faulted by= ZFS >>> until I updated the firmware to 11 and now ZFS is happy (I've also done= a >>> full extended drive SMART test and the drive is fine). >>> >>> So what do people suggest (before reversion to r230921) ? >> >> If you're going to prove that it's the new LSI driver, you will probably >> have to go back to the old driver. >> >> You don't have to back out your entire tree, you can just back out the >> driver itself if you have an SVN tree. =A0You can go into sys/dev/mps an= d do: >> >> svn update -r 230714 >> >> And then edit sys/conf/files and comment out these three lines: >> >> dev/mps/mps_config.c =A0 =A0 =A0 =A0 =A0 =A0optional mps >> dev/mps/mps_mapping.c =A0 =A0 =A0 =A0 =A0 optional mps >> dev/mps/mps_sas_lsi.c =A0 =A0 =A0 =A0 =A0 optional mps >> >> Then you should be able to rebuild your kernel with the old driver and s= ee >> if the problem occurs again. >> >> Ken >> -- >> Kenneth Merry >> ken@FreeBSD.ORG > > I'm having an issue with the new mps driver myself > http://lists.freebsd.org/pipermail/freebsd-scsi/2012-February/005243.html > , so I have a patch handy for downgrading also if it helps anyone. =A0It > includes the sys/conf/files removals also. Have you tried upgrading your firmware to phase11 or newer? We saw this issue at iXsystems, but after upgrading to phase11 the first drive "disappearing" issue went away. I have noticed that the driver is noticeably slower at boot on 8.2 and I needed to increase kern.geom.boot_delay to 20 seconds to get booting off FreeNAS-like hardware (uses USB) to work. Thanks! -Garrett