From owner-freebsd-fs@FreeBSD.ORG Thu Sep 16 11:21:12 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C67310656C2 for ; Thu, 16 Sep 2010 11:21:12 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C225F8FC15 for ; Thu, 16 Sep 2010 11:21:11 +0000 (UTC) Received: by bwz15 with SMTP id 15so1842638bwz.13 for ; Thu, 16 Sep 2010 04:21:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=4ZloGiDxWPJ7aVdASGPX4+9bbPqkdqEdG4w546/qYLI=; b=tdN8GnX2jSjz5VFjZtno+LC0urVj6SGJ+HIjCgMv861Aom9qd0raTPCfSEF/20D/i6 IihR+dQpHgKOYLBfis++EL5l4LY/D9gdtB1k763ITM7EEhwUDUOzDRweY+jPT8LNBWkh PJSFCyeL1Qedoay/wduOcoBDOprPn0kTqPJLQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=Y9H7dpYzVgAx+eUPzwbUhYBRDpM3E+oSUuyHrRfljU7N2P0oFPYL4CpB1qhwovhwgj QLFHoP/lw5RiA3ySxWNpRHoyY2hVTy1D9ZPLWltTZ2pkOTO3wI8p+qFfak5YS03JA9+o FUgbmK1+Qxfrbo9KIXGCRxaOAipnSKTPqhaGU= Received: by 10.204.113.20 with SMTP id y20mr2279182bkp.170.1284636070610; Thu, 16 Sep 2010 04:21:10 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id s34sm2381465bkk.1.2010.09.16.04.21.08 (version=SSLv3 cipher=RC4-MD5); Thu, 16 Sep 2010 04:21:09 -0700 (PDT) Sender: Alexander Motin Message-ID: <4C91FD8E.8080201@FreeBSD.org> Date: Thu, 16 Sep 2010 14:20:46 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Andriy Gapon References: <20100909140000.5744370gkyqv4eo0@webmail2.ukgrid.net> <20100909182318.11133lqu4q4u1mw4@webmail2.ukgrid.net> <4C89D6A8.1080107@icyb.net.ua> <20100910143900.20382xl5bl6oo9as@webmail2.ukgrid.net> <20100910141127.GA13056@icarus.home.lan> <20100910155510.11831w104qjpyc4g@webmail2.ukgrid.net> <20100910152544.GA14636@icarus.home.lan> <20100910173912.205969tzhjiovf8c@webmail2.ukgrid.net> <4C8A6B26.8050305@icyb.net.ua> <20100910184921.16956kbaskhrsmg4@webmail2.ukgrid.net> <4C8A7B20.7090408@FreeBSD.org> <4C91F845.4010100@FreeBSD.org> <4C91FCD9.1000203@icyb.net.ua> In-Reply-To: <4C91FCD9.1000203@icyb.net.ua> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-fs@FreeBSD.org, a.smith@ukgrid.net Subject: Re: ZFS related kernel panic X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Sep 2010 11:21:12 -0000 Andriy Gapon wrote: > on 16/09/2010 13:58 Alexander Motin said the following: >> Thanks to console access provided, I have found the reason of crash. >> Attached patch should fix it. Patched system successfully runs the >> stress test for 45 minutes now, comparing to crashing in few minutes >> without it. >> >> Also I've found that timeouts reported by the driver are not fatal. >> Affected commands are correctly completing as soon as after detecting >> time out driver freezes new incoming requests to resolve situation, and >> as result, idling the bus. ones. These timeouts I think caused by some >> congestion on SATA interface, that probably caused by port multiplier. >> This panic could be triggered only by such fake timeouts, not the real > > Can the same happen with ahci (in theory)? Yes, but only on AHCI controllers with FIS-based switching support. At this moment there is only one such chip - 6Gbps Marvell 88SE912x. Same patch should apply ahci(4) also. -- Alexander Motin