From owner-freebsd-stable@FreeBSD.ORG Thu Nov 27 05:56:54 2008 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 928E3106564A; Thu, 27 Nov 2008 05:56:54 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forwards4.yandex.ru (forwards4.yandex.ru [77.88.32.20]) by mx1.freebsd.org (Postfix) with ESMTP id E402C8FC19; Thu, 27 Nov 2008 05:56:53 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp5.yandex.ru (smtp5.yandex.ru [77.88.32.24]) by forwards4.yandex.ru (Yandex) with ESMTP id 5234D193655; Thu, 27 Nov 2008 08:42:14 +0300 (MSK) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:59614 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S6144126AbYK0FmM (ORCPT + 2 others); Thu, 27 Nov 2008 08:42:12 +0300 X-Yandex-Spam: 1 X-Yandex-Front: smtp5 X-Yandex-TimeMark: 1227764532 X-BornDate: 1137963600 X-Yandex-Karma: 0 X-Yandex-KarmaStatus: 0 X-MsgDayCount: 3 X-Comment: RFC 2476 MSA function at smtp5.yandex.ru logged sender identity as: bu7cher Message-ID: <492E3332.1090907@yandex.ru> Date: Thu, 27 Nov 2008 08:42:10 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Victor Balada Diaz References: <20081126184135.GC22211@alf.bsdes.net> In-Reply-To: <20081126184135.GC22211@alf.bsdes.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: stable@FreeBSD.org, =?UTF-8?B?U8O4cmVuIFNjaG1pZHQ=?= Subject: Re: IXP SB600 SATA missing quirk? 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: Thu, 27 Nov 2008 05:56:54 -0000 Victor Balada Diaz wrote: > i'm trying FreeBSD 7.1 BETA2 in amd64 and i'm having issues with interrupt > storms. The machine works without problems as long as i don't stress much > the HD. If i have high IO load after a few hours the system starts to have > interrupt storms and never again recovers from them until i restart. > > My SATA card is: > > atapci0@pci0:0:18:0: class=0x01018f card=0x73271462 chip=0x43801002 rev=0x00 hdr=0x00 > vendor = 'ATI Technologies Inc' > device = 'IXP SB600 Serial ATA Controller' > class = mass storage > subclass = ATA > > The MotherBoard is MSI K9AG Neo 2[1] and the kernel is > GENERIC without USB and firewire support. > > After digging a bit in the source i've find that linux > people have a quirk for this chipset and i've been unable > to find in our code a similar quirk. You can find the quirk > here: > > http://fxr.watson.org/fxr/source/drivers/pci/quirks.c?v=linux-2.6#L870 > > I don't know exactly what does it do, neither i do know > if it have anything to know with my interrupt issues, but > could someone who knows a bit better tell me if that > could fix the issue or if we need that quirk for other > purposes? It seems this quirk only changes PCIR_PROGIF and PCIR_SUBCLASS registers to PCIP_STORAGE_SATA_AHCI_1_0 and PCIS_STORAGE_SATA values. I don't know which magic these changes should do, but I think they aren't needed. Your controller should work in AHCI mode without this quirk. -- WBR, Andrey V. Elsukov