Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2009 22:28:56 -0500
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>, Oliver Lehmann <lehmann@ans-netz.de>
Cc:        stable@FreeBSD.org
Subject:   Re: problems with SATA controller after recent RELENG_8 upgrade
Message-ID:  <p06240800c75349e8c685@[128.113.24.47]>
In-Reply-To: <4B27E64F.2080804@FreeBSD.org>
References:  <20091215182300.929c7a9c.lehmann@ans-netz.de> <4B27E64F.2080804@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 9:41 PM +0200 12/15/09, Alexander Motin wrote:
>
>Looks like it was working first, until something happened. I've reread
>all Promise related changes and don't see problem there. The only idea I
>have is that it could be larger transfer, which was not used before. Try
>to apply this patch to get limitation back for these controllers:
>
>--- ata-promise.c.prev  2009-12-15 21:35:43.000000000 +0200
>+++ ata-promise.c       2009-12-15 21:35:24.000000000 +0200
>@@ -957,6 +957,7 @@ ata_promise_mio_dmainit(device_t dev)
>      ata_dmainit(dev);
>      /* note start and stop are not used here */
>      ch->dma.setprd = ata_promise_mio_setprd;
>+    ch->dma.max_iosize = 65536;
>  }

For what it's worth:  I also had a problem after rebuilding 8.x-stable
last weekend, and that problem was also fixed by this change.  My
machine has a:   Promise PDC40518 SATA150 controller

Thanks.

-- 
Garance Alistair Drosehn     =               drosehn@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA



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