From owner-freebsd-scsi@FreeBSD.ORG Fri Jan 14 00:18:00 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 C2BDA1065695; Fri, 14 Jan 2011 00:18:00 +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 6FBF18FC0C; Fri, 14 Jan 2011 00:18:00 +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 p0E0Hwoo012858; Thu, 13 Jan 2011 17:17:58 -0700 (MST) (envelope-from ken@nargothrond.kdm.org) Received: (from ken@localhost) by nargothrond.kdm.org (8.14.2/8.14.2/Submit) id p0E0HwVv012857; Thu, 13 Jan 2011 17:17:58 -0700 (MST) (envelope-from ken) Date: Thu, 13 Jan 2011 17:17:58 -0700 From: "Kenneth D. Merry" To: Joachim Tingvold Message-ID: <20110114001758.GA12793@nargothrond.kdm.org> References: <4D2DAA45.30602@FreeBSD.org> <41C64262-4300-4187-B5FD-04A5EFB7F87C@tingvold.com> <20110113203750.GA39494@nargothrond.kdm.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-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, 14 Jan 2011 00:18:00 -0000 On Fri, Jan 14, 2011 at 01:00:18 +0100, Joachim Tingvold wrote: > On Thu, Jan 13, 2011, at 21:37:50PM GMT+01:00, Kenneth D. Merry wrote: > >Did the system recover this time? > > Yes and no. The mv-process is still running, however I can use 'zroot' > without issues. I can list some folders on 'storage', but not all -- > most of them makes my terminal freeze. And as mentioned, a warm reboot > doesn't work (I have to physically power-cycle it). Hmm. > >Did you see any other messages before the 'out of chain frames' > >messages > >popped up? > > No, not in my last error-log (only boot-entries on the lines above). > > >Try editing sys/dev/mps/mpsvar.h, and change MPS_CHAIN_FRAMES from > >1024 to > >2048 and see if that helps things any. > > > >That won't fix the underlying problem, but it may help you avoid > >running > >out of that resource. > > This won't "conflict" with what you've written here[1]? The 9211-8i > controller I have, use the SAS2008-chip. No, this affects the number of buffers available for scatter/gather entries. Most commands will just have one physical memory buffer attached, since system buffer memory is physically contiguous. It doesn't affect the number of commands the driver sends down to the chip. > Would it be possible that low amounts of free memory (<100MB, the > system has a total of 4GB) could cause this? (since I'm using ZFS, > which relies heavily on memory). I don't think so. If anything, I think that this is likely triggered by a large number of outstanding commands, or perhaps a leak somewhere. If it's the former, hopefully this will fix it. If it's the latter, you'll eventually run into the problem again. > [1] Ken -- Kenneth Merry ken@FreeBSD.ORG