From owner-freebsd-scsi@FreeBSD.ORG Fri Feb 4 00:25:37 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF2561065740; Fri, 4 Feb 2011 00:25:37 +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 74FF38FC19; Fri, 4 Feb 2011 00:25:37 +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 p140PbFr026943; Thu, 3 Feb 2011 17:25:37 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id p140PbS4026942; Thu, 3 Feb 2011 17:25:37 -0700 (MST) (envelope-from ken) Date: Thu, 3 Feb 2011 17:25:37 -0700 From: "Kenneth D. Merry" To: Joachim Tingvold Message-ID: <20110204002537.GA26904@nargothrond.kdm.org> References: <20110114001758.GA12793@nargothrond.kdm.org> <07392102-4584-4690-9188-5202728CC7CA@tingvold.com> <20110120155746.GA22515@nargothrond.kdm.org> <070C12D5-A54F-4A48-A151-EBA16EF32A13@tingvold.com> <20110203221056.GA25389@nargothrond.kdm.org> <20110204000249.GA26663@nargothrond.kdm.org> <5B54C6A9-02C8-48B2-B693-012B8C828DA4@tingvold.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5B54C6A9-02C8-48B2-B693-012B8C828DA4@tingvold.com> User-Agent: Mutt/1.4.2i Cc: freebsd-scsi@freebsd.org, Alexander Motin Subject: Re: mps0-troubles X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2011 00:25:37 -0000 On Fri, Feb 04, 2011 at 01:20:10 +0100, Joachim Tingvold wrote: > On Fri, Feb 04, 2011, at 01:02:49AM GMT+01:00, Kenneth D. Merry wrote: > >That change went in a few weeks ago. > > Ahh, okay. I'll try updating it this weekend, then. > > >Try this patch, perhaps it will work. > > No errors this time, but it didn't seem to do anything; > > [root@filserver ~]# sysctl hw.mps > hw.mps.disable_msi: 0 > hw.mps.disable_msix: 0 > hw.mps.0.debug_level: 0 > hw.mps.0.allow_multiple_tm_cmds: 0 Hmm. Lots of possiblilities, but a few things to look at: - Did you do a buildkernel or a make cleandepend && make depend && make? - Look at the timestamp on mps.o in your kernel build directory - touch mps.c, rebuild your kernel, and look to see that it got built - 'grep io_cmds_active *' in sys/dev/mps, and make sure the patch got applied. - make sure you installed the kernel in the right place - make sure you booted the correct kernel (look at uname -a to see when it was built) Ken -- Kenneth Merry ken@FreeBSD.ORG