From owner-freebsd-questions@FreeBSD.ORG Sat Mar 5 23:58:28 2005 Return-Path: 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 1FFBE16A4CE for ; Sat, 5 Mar 2005 23:58:28 +0000 (GMT) Received: from web54009.mail.yahoo.com (web54009.mail.yahoo.com [206.190.36.233]) by mx1.FreeBSD.org (Postfix) with SMTP id 77CD343D49 for ; Sat, 5 Mar 2005 23:58:27 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: (qmail 83480 invoked by uid 60001); 5 Mar 2005 23:58:27 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=d3I1b8oNs0iuWH8l3vBZM3rZvHu/LdlQqolUN3MkMHHln2S/8O60Ho4LTM34u5xrCuiXHifE/Uh85z/Zgb/mCGaK0y+4SGTiHMVRjtBACt+OSLz3LxmTAZgOWjVgziFcSQJWTuxMBqnGY+xUqJOWbyf7/m4Nx/7kZzT5i2TwyJA= ; Message-ID: <20050305235826.83478.qmail@web54009.mail.yahoo.com> Received: from [147.46.44.181] by web54009.mail.yahoo.com via HTTP; Sat, 05 Mar 2005 15:58:26 PST Date: Sat, 5 Mar 2005 15:58:26 -0800 (PST) From: Rob To: FreeBSD questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: dma/sysctl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Mar 2005 23:58:28 -0000 Luciano Musacchio wrote: > Hi, > I've a fbsd machine that hangs once in a while, > I've this en /var/log/messages: > ... > Mar 5 14:44:58 chiba kernel: ad2: WARNING - > WRITE_DMA UDMA ICRC error (retrying request) > LBA=2949471 > ... > > So, this means my hd is about to crash? > How can I tell the kernel to reboot on such cases? > (via sysctl?) This is 5.3, right? I bet you would not have such problems with 4.X. My PC instantly crashed at boot with this same message. I solved it by adding following to /boot/loader.conf: hw.ata.ata_dma="0" This will force the harddisk to operate in slow PIO4 mode, but in my case the DMA trouble disappeared. Rob. __________________________________ Celebrate Yahoo!'s 10th Birthday! Yahoo! Netrospective: 100 Moments of the Web http://birthday.yahoo.com/netrospective/