From owner-freebsd-stable@FreeBSD.ORG Tue Feb 23 15:50:27 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A5A210656A7 for ; Tue, 23 Feb 2010 15:50:27 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by mx1.freebsd.org (Postfix) with ESMTP id 284CD8FC1D for ; Tue, 23 Feb 2010 15:50:26 +0000 (UTC) Received: by fxm23 with SMTP id 23so3879457fxm.3 for ; Tue, 23 Feb 2010 07:50:21 -0800 (PST) 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 :content-type:content-transfer-encoding; bh=NCU8TFnu0WH1EmCR7Sfjb9fB6UGj8QTauFXX0FDt7mw=; b=SM8ezyt157PQB8m2dlFxhfhvXicb2aVMIM2MDSBcotC0K50XKMdT1CDd6r6Ue9ckA1 XKK4iMHNoAuuNuxZ6YHdOrgvCitGoeRq3efUTES4Q01hUicHJGfvDeTQsKrJgx4yi92K e6pwrbtfZa/cild1XkW+XOJKe/AS6UaxdD9C8= 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:content-type:content-transfer-encoding; b=BJT1gD8HPEVK1+FLV+Mw2NRz9sytdkNPMSwLY9Lz37Qih/CW4JARJCq2FGGYZpeDUV RGAHGJ1L1M55FAykCPb8KsVpAvGXqVGqsNMXFSL844YLcidlJcvgNJ9kZ7QGU1IJwOna d6yKWvdB2SMytx4ck2TKoZ8TqznxDaGmsMH3I= Received: by 10.223.75.155 with SMTP id y27mr267365faj.79.1266940221108; Tue, 23 Feb 2010 07:50:21 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 13sm2547384fxm.6.2010.02.23.07.50.20 (version=SSLv3 cipher=RC4-MD5); Tue, 23 Feb 2010 07:50:20 -0800 (PST) Sender: Alexander Motin Message-ID: <4B83F93A.4030805@FreeBSD.org> Date: Tue, 23 Feb 2010 17:50:18 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: George Liaskos References: <1266934981.00222684.1266922202@10.7.7.3> <1266938581.00222692.1266925802@10.7.7.3> In-Reply-To: <1266938581.00222692.1266925802@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Harald Schmalzbauer , freebsd-stable@freebsd.org Subject: Re: ahcich timeouts, only with ahci, not with ataahci X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2010 15:50:27 -0000 George Liaskos wrote: > I am having the same issue since Feb 20 which was my last update. Which version was before? > ahcich1: Timeout on slot 3 > ahcich1: is 00000000 cs 00000018 ss 00000000 rs 00000018 tfd d0 serr 00000000 > ahcich1: Timeout on slot 5 > ahcich1: is 00000000 cs 00000060 ss 00000000 rs 00000060 tfd d0 serr 00000000 > ahcich1: Timeout on slot 7 > ahcich1: is 00000000 cs 00000180 ss 00000000 rs 00000180 tfd d0 serr 00000000 > ahcich1: Timeout on slot 9 > ahcich1: is 00000000 cs 00000600 ss 00000000 rs 00000600 tfd d0 serr 00000000 Situation looks alike, except it is CD drive and so without NCQ. I am still don't see bugs from driver side here. Do you see delays before timeout messages? You may try to enable verbose kernel messages to get some more info. >> dmesg | grep ahci > ahci0: port > 0x1c40-0x1c47,0x1834-0x1837,0x1838-0x183f,0x1830-0x1833,0x1c20-0x1c3f > mem 0xfc226000-0xfc2267ff irq 16 at device 31.2 on pci0 > ahci0: [ITHREAD] > ahci0: AHCI v1.20 with 4 3Gbps ports, Port Multiplier not supported > ahcich0: at channel 0 on ahci0 > ahcich0: [ITHREAD] > ahcich1: at channel 1 on ahci0 > ahcich1: [ITHREAD] > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > cd0 at ahcich1 bus 0 scbus1 target 0 lun 0 Show this also with verbose. > On Tue, Feb 23, 2010 at 10:40 AM, Harald Schmalzbauer > wrote: >> Hello, >> >> I'm frequently getting my machine locked with ahcichX timeouts: >> ahcich2: Timeout on slot 0 >> ahcich2: is 00000000 cs 00000001 ss 00000000 rs 00000001 tfd c0 serr >> 00000000 >> ahcich2: Timeout on slot 8 >> ahcich2: is 00000000 cs 00000100 ss 00000000 rs 00000100 tfd c0 serr >> 00000000 >> ahcich2: Timeout on slot 8 >> ahcich2: is 00000000 cs fffff07f ss ffffff7f rs ffffff7f tfd c0 serr >> 00000000 >> ... >> >> This happens when backup over GbE overloads ZFS/HDD capabilities. >> I reduced vfs.zfs.txg.timeout to 1 to prevent the machine from locking up >> almost immediately, but from it still happens. >> When I don't use ahci but ataahci (the old driver if I understand things >> correct) I also see the ZFS burst write congestion, but this doesn't lead to >> controller timeouts, thus blocking the machine. >> >> Sometimes the machine recovers from the disk lock, but most often I have to >> reboot. >> >> Kernel is from Feb. 19, so recent ahci improovements are active. >> Controller is ICH9R with 3 Samsung F3 SpinPoints. >> >> Any ideas how to work arround the hangs other than using the old ahci >> driver? -- Alexander Motin