From owner-freebsd-current@FreeBSD.ORG Wed Oct 26 14:00:56 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0EBA1065679 for ; Wed, 26 Oct 2011 14:00:56 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id B25BB8FC0A for ; Wed, 26 Oct 2011 14:00:56 +0000 (UTC) Received: by vcbfo13 with SMTP id fo13so2223830vcb.13 for ; Wed, 26 Oct 2011 07:00:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.153.12 with SMTP id i12mr352694vcw.7.1319637656073; Wed, 26 Oct 2011 07:00:56 -0700 (PDT) Received: by 10.220.194.194 with HTTP; Wed, 26 Oct 2011 07:00:55 -0700 (PDT) X-Originating-IP: [93.221.182.5] In-Reply-To: <20111025202755.4243ae74@kan.dyndns.org> References: <20111008201456.GA3529@lexx.ifp.tuwien.ac.at> <20111017190027.GA9873@lexx.ifp.tuwien.ac.at> <20111018131353.GA83797@lexx.ifp.tuwien.ac.at> <649509EEAEBA42D4A3DCC1FDF5DA72E5@multiplay.co.uk> <20111025202755.4243ae74@kan.dyndns.org> Date: Wed, 26 Oct 2011 16:00:55 +0200 Message-ID: From: "C. P. Ghost" To: Alexander Kabaev Content-Type: text/plain; charset=ISO-8859-1 Cc: Alexey Shuvaev , freebsd-current@freebsd.org Subject: Re: Panics after AHCI timeouts 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: Wed, 26 Oct 2011 14:00:57 -0000 On Wed, Oct 26, 2011 at 2:27 AM, Alexander Kabaev wrote: > I do see timeouts on one of my Samsung ST3750330A disks and they > definitely do not cause any panics. The weird part in my case is that > disk then immediately reappears as online and mirror zpool can be > rebuilt by just onlining the disk with 'zpool online ' > command. > > It seems to be happening once system has accumulated some uptime. If > rebooted, it keeps running for a week or two with no issues, but then > timeouts start to happen more or less reliably every single 24 hours. Does it correlate with high disk activity, i.e. with periodic(8)? On my machine, I have a feeling that timeouts occur more often at that point, than normally... and that they also occur when multiple processes access the disk simultaneously. If it's only one process, the machine (usually) doesn't hang, even when that process is copying big files back and forth for a long period of time (it's a backup process). But interleave that process with another one accessing the same disk, and poof!, almost immediately ahci timeouts. occur. Very strange... Maybe a race condition of some sort after all? > -- > Alexander Kabaev Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/