From owner-freebsd-questions@FreeBSD.ORG Sat Jan 14 23:54:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 035EC16A41F for ; Sat, 14 Jan 2006 23:54:59 +0000 (GMT) (envelope-from chris@i13i.com) Received: from admin.i13i.com (admin.i13i.com [66.90.92.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 8B05143D46 for ; Sat, 14 Jan 2006 23:54:58 +0000 (GMT) (envelope-from chris@i13i.com) Received: (qmail 13395 invoked from network); 15 Jan 2006 00:16:11 -0000 Received: from mail.i13i.com (HELO webmail.i13i.com) (208.53.187.133) by admin.i13i.com with SMTP; 15 Jan 2006 00:16:11 -0000 Received: from 195.139.252.5 (proxying for 62.92.188.12) (SquirrelMail authenticated user chris@i13i.com) by webmail.i13i.com with HTTP; Sat, 14 Jan 2006 18:16:11 -0600 (CST) Message-ID: <59153.195.139.252.5.1137284171.squirrel@webmail.i13i.com> In-Reply-To: <43C98D1A.8030909@mindling.com> References: <43C96C73.9010904@mindling.com> <0T2rehckIn3Nv9%markus@bsd.trippelsdorf.de> <43C97BE6.5060901@mindling.com> <43C98D1A.8030909@mindling.com> Date: Sat, 14 Jan 2006 18:16:11 -0600 (CST) From: chris@i13i.com To: "Sebastian" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd Subject: Re: Getting around WRITE_DMA errors 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: Sat, 14 Jan 2006 23:54:59 -0000 Try the bios ? > Sebastian wrote: > >> Markus Trippelsdorf wrote: >> >>> Are you sure that your hard drive is not dying? Run smartctl -a >>> /dev/ad0 and see if any errors were being logged. >>> (smartctl is part of the smartmontools port) >>> You should also try another cable. >>> >>> >> Thanks for the response. I'm reasonably sure, the disk is brand new, >> and though it could certainly be bad, I installed Linux on the system >> this morning without issue. I've tried two different UDMA cables also, >> just to be sure. Under PIO4 mode in BSD (by setting hw.ata.ata_dma=0), >> I can install and then write data to my heart's content without any >> errors. >> >> I'm currently reinstalling again, because I believe a partition has >> become corrupted after panicking with the disk in UDMA6 mode. >> > > Just as a followup: Attempting to run "atacontrol mode ad0 UDMA6" > resulted in WRITE_DMA48 errors and a panic. Afterwards, disk access was > slow, and trying to use _any_ UDMA mode resulted in DMA errors being > logged, and eventually another panic. > > Having briefly tested UDMA3-5 with success previously, I felt that the > partitions must have been corrupted somehow, so I reinstalled FreeBSD > from scratch. It's better, after booting with "hw.ata.ata_dma=0" and > then running "atacontrol mode ad0 UDMA5", it's running fine using UDMA5 > and copying lots of data around: > # atacontrol mode ad0 > current mode = UDMA100 > > So my question remains: How do I tell FreeBSD to use UDMA5 on this drive > at boot-time? > > Thanks. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >