From owner-freebsd-stable@FreeBSD.ORG Sun Dec 20 04:32:09 2009 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 B547E1065672 for ; Sun, 20 Dec 2009 04:32:09 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from smtp7.server.rpi.edu (smtp7.server.rpi.edu [128.113.2.227]) by mx1.freebsd.org (Postfix) with ESMTP id 27BBD8FC14 for ; Sun, 20 Dec 2009 04:32:08 +0000 (UTC) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp7.server.rpi.edu (8.13.1/8.13.1) with ESMTP id nBK3SvtM022903; Sat, 19 Dec 2009 22:28:58 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <4B27E64F.2080804@FreeBSD.org> References: <20091215182300.929c7a9c.lehmann@ans-netz.de> <4B27E64F.2080804@FreeBSD.org> Date: Sat, 19 Dec 2009 22:28:56 -0500 To: Alexander Motin , Oliver Lehmann From: Garance A Drosehn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Bayes-Prob: 0.0001 (Score 0) X-RPI-SA-Score: 0.10 () [Hold at 20.00] COMBINED_FROM X-CanItPRO-Stream: outgoing X-Canit-Stats-ID: Bayes signature not available X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.227 Cc: stable@FreeBSD.org Subject: Re: problems with SATA controller after recent RELENG_8 upgrade 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: Sun, 20 Dec 2009 04:32:09 -0000 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