From owner-freebsd-amd64@FreeBSD.ORG Mon Dec 15 09:07:12 2008 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 241351065672; Mon, 15 Dec 2008 09:07:12 +0000 (UTC) (envelope-from victor@bsdes.net) Received: from alf.bsdes.net (244.Red-217-126-240.staticIP.rima-tde.net [217.126.240.244]) by mx1.freebsd.org (Postfix) with ESMTP id C17158FC17; Mon, 15 Dec 2008 09:07:11 +0000 (UTC) (envelope-from victor@bsdes.net) Received: by alf.bsdes.net (Postfix, from userid 1001) id 9841F119CF7; Mon, 15 Dec 2008 10:07:10 +0100 (CET) Date: Mon, 15 Dec 2008 10:07:10 +0100 From: Victor Balada Diaz To: =?iso-8859-1?Q?S=F8ren?= Schmidt Message-ID: <20081215090710.GO1320@alf.bsdes.net> References: <20081209185236.GA1320@alf.bsdes.net> <493F84A4.1080308@yandex.ru> <20081210091107.GC1320@alf.bsdes.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Mailman-Approved-At: Mon, 15 Dec 2008 16:25:24 +0000 Cc: "Andrey V. Elsukov" , freebsd-stable@FreeBSD.ORG, freebsd-amd64@FreeBSD.ORG Subject: Re: [ATA] and re(4) stability issues X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2008 09:07:12 -0000 On Wed, Dec 10, 2008 at 10:55:35AM +0100, Søren Schmidt wrote: > On 10Dec, 2008, at 10:11 , Victor Balada Diaz wrote: > > > >Thanks for explaining me what the flags do. I'm not skilled enough > >to create > >the DMA quirks but if you could give me some patches i'll test them. > >Also > >if you have any other idea on what could i test or how can i debug > >this > >it would be more than welcome. > > > Comment out the following two lines in ata_ahci_dmainit(): > > if (ATA_INL(ctlr->r_res2, ATA_AHCI_CAP) & ATA_AHCI_CAP_64BIT) > ch->dma->max_address = BUS_SPACE_MAXADDR; > > And you will not use 64bit DMA even if the chipset supports it. > However I have not seen any chipsets supporting this fail, YMMV as > usual :) > Hello Søren, I'm triggering interrupt storms with this chipset after a few days of stressing the HD calling sysutils/stress with stress -d 10 -i 10 and in other term, doing: while true; do dd if=/dev/zero of=BAH bs=1M count=1024; done; Right now, as reported by systat -vmstat i have 578k interrupts in atapci and the machine is idle. Do you have any idea on how could i debug this? any advice would be much more than welcome. Thanks a lot. Regards. -- La prueba más fehaciente de que existe vida inteligente en otros planetas, es que no han intentado contactar con nosotros.