From owner-freebsd-questions@FreeBSD.ORG Mon Jul 25 07:41:40 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC676106566B for ; Mon, 25 Jul 2011 07:41:40 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 8D7AE8FC23 for ; Mon, 25 Jul 2011 07:41:40 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p6P7fama026901 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 25 Jul 2011 00:41:37 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p6P7fagp026900; Mon, 25 Jul 2011 00:41:36 -0700 (PDT) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA00661; Mon, 25 Jul 11 00:03:13 PDT Date: Mon, 25 Jul 2011 07:03:23 -0700 From: perryh@pluto.rain.com To: jherman@dichotomia.fr Message-Id: <4e2d77ab.MMEk62U6kU+dlZeX%perryh@pluto.rain.com> References: <4E2CB198.9010601@netfence.it> <4E2CBCAB.1070209@dichotomia.fr> In-Reply-To: <4E2CBCAB.1070209@dichotomia.fr> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: ATA troubles X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2011 07:41:40 -0000 Jerome Herman wrote: > >> Jul 24 23:48:36 mydavid kernel: ad6: FAILURE - READ_DMA48 > >> status=51 error=40 LBA=1671887488 > >> Jul 24 23:48:36 mydavid kernel: > >> g_vfs_done():stripe/backup[READ(offset=1712012836864, > >> length=131072)]error = 5 > ... since they are ATA drives make sure you are using 80pins > ribbons and that DMA is properly activated in BIOS. > > You can also try to reduce DMA level, it must be on UDMA5 by > default, try using UDMA 4 (aka UDMA/66) or UDMA 3. I fixed a similar problem -- involving a VIA 6421 controller -- a while back, by using atacontrol(8) to reduce the DMA speed from UDMA133 to UDMA100. Evidently it is possible, under some circumstances, for a device and controller to negotiate a speed that's too high to actually work :(