Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2008 10:07:10 +0100
From:      Victor Balada Diaz <victor@bsdes.net>
To:        =?iso-8859-1?Q?S=F8ren?= Schmidt <sos@FreeBSD.ORG>
Cc:        "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-stable@FreeBSD.ORG, freebsd-amd64@FreeBSD.ORG
Subject:   Re: [ATA] and re(4) stability issues
Message-ID:  <20081215090710.GO1320@alf.bsdes.net>
In-Reply-To: <A8284393-C4E8-4E7D-9ADF-F8270C354E13@FreeBSD.ORG>
References:  <20081209185236.GA1320@alf.bsdes.net> <493F84A4.1080308@yandex.ru> <20081210091107.GC1320@alf.bsdes.net> <A8284393-C4E8-4E7D-9ADF-F8270C354E13@FreeBSD.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help
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. 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081215090710.GO1320>