From owner-freebsd-current@FreeBSD.ORG Fri Jan 29 11:41:58 2010 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 07A1F1065679 for ; Fri, 29 Jan 2010 11:41:58 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 862F38FC12 for ; Fri, 29 Jan 2010 11:41:57 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e21so19409fga.13 for ; Fri, 29 Jan 2010 03:41:56 -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 :x-enigmail-version:content-type:content-transfer-encoding; bh=NL6CsDEmBL2hpTerr1P3875qRWrzq56fzIOsDyFP6ZM=; b=l4UjKXSx2gf8J4BAIMEv6H3jdzdqD2iW6kSj2+S1AcG1/p7vTek89aQhrK/IhqTQLw aZ/dBqHPWv2eoxPzV5e68yjVJ5lhwepPdJP2ILbLme0PUIRnEqKG9YuXvJSAALnhyorJ HX3RArMWoIDCtFt2bLGO9/K3P3JN54VZq/v9k= 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=UMphORtRg9eA13Bbs9CE/RQ7YBwYaGXCyBKwR+YvyBQnPWRUq3UbmIH6lRHLZpO/zC yyc61dJ3bc4jbTncDGEYe/jWaL1LRTblgGCFjIbCfevmXG4/HHE3GYRkQfyRaE0GCJrJ beSKlUn8eflHdl1iBVOXdHkyCq3e0buz2+67U= Received: by 10.103.80.34 with SMTP id h34mr311833mul.20.1264765316372; Fri, 29 Jan 2010 03:41:56 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id i5sm10205747mue.25.2010.01.29.03.41.53 (version=SSLv3 cipher=RC4-MD5); Fri, 29 Jan 2010 03:41:54 -0800 (PST) Sender: Alexander Motin Message-ID: <4B62C97F.7080000@FreeBSD.org> Date: Fri, 29 Jan 2010 13:41:51 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Yamagi Burmeister References: <4B55D9D4.1000008@FreeBSD.org> <4B61C688.2050609@FreeBSD.org> <4B61CCB6.4040005@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Pack of CAM improvements 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: Fri, 29 Jan 2010 11:41:58 -0000 Yamagi Burmeister wrote: > On Thu, 28 Jan 2010, Alexander Motin wrote: > >>>> Yamagi Burmeister wrote: >>>>> ahcich0: is 00000002 cs 00000000 ss 00000000 rs 00000001 tfd 50 serr >>>>> 00000000 >>>>> ahcich0: Timeout on slot 0 >>>> >>>> Try to disable MSI interrupts with `hint.ahci.0.msi=0`. >>> >>> That fixed the problem. Thank you :) >> >> That's quite strange, as in many other cases IXP700 is working fine. >> Different revisions? What is your `pciconf -lvbc` reports? > > When I helped nox@ debugging a problem with timeouts we noticed, that > our controlers are of differend revisions. The pciconf output ist: > > ahci0@pci0:0:17:0: class=0x010601 card=0x43911002 chip=0x43911002 > rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' > device = 'SB700 SATA Controller [AHCI mode]' > class = mass storage > subclass = SATA > bar [10] = type I/O Port, range 32, base 0xd000, size 8, enabled > bar [14] = type I/O Port, range 32, base 0xc000, size 4, enabled > bar [18] = type I/O Port, range 32, base 0xb000, size 8, enabled > bar [1c] = type I/O Port, range 32, base 0xa000, size 4, enabled > bar [20] = type I/O Port, range 32, base 0x9000, size 16, enabled > bar [24] = type Memory, range 32, base 0xfe8ff800, size 1024, > enabled > cap 01[60] = powerspec 2 supports D0 D3 current D0 > cap 05[50] = MSI supports 4 messages, 64 bit > cap 12[70] = SATA Index-Data Pair What's interesting, is that Asus board with the same chipset doesn't expose MSI support at all: ahci0@pci0:0:17:0: class=0x010601 card=0x43911002 chip=0x43911002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'SB700 SATA Controller [AHCI mode]' class = mass storage subclass = SATA bar [10] = type I/O Port, range 32, base 0xc000, size 8, enabled bar [14] = type I/O Port, range 32, base 0xb000, size 4, enabled bar [18] = type I/O Port, range 32, base 0xa000, size 8, enabled bar [1c] = type I/O Port, range 32, base 0x9000, size 4, enabled bar [20] = type I/O Port, range 32, base 0x8000, size 16, enabled bar [24] = type Memory, range 32, base 0xfbcffc00, size 1024, enabled cap 01[60] = powerspec 2 supports D0 D3 current D0 cap 12[70] = SATA Index-Data Pair -- Alexander Motin