From nobody@FreeBSD.org  Sun Sep 18 21:57:10 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1D9B016A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2005 21:57:10 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E330C43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2005 21:57:09 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j8ILv9oY069835
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Sep 2005 21:57:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j8ILv9np069834;
	Sun, 18 Sep 2005 21:57:09 GMT
	(envelope-from nobody)
Message-Id: <200509182157.j8ILv9np069834@www.freebsd.org>
Date: Sun, 18 Sep 2005 21:57:09 GMT
From: david hu <djsdelight@msn.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: 5.4-STABLE ATA Timeout WRITE_DMA
X-Send-Pr-Version: www-2.3

>Number:         86312
>Category:       i386
>Synopsis:       5.4-STABLE ATA Timeout WRITE_DMA
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 18 22:00:35 GMT 2005
>Closed-Date:    Sun Jan 29 05:22:44 GMT 2006
>Last-Modified:  Sun Jan 29 05:22:44 GMT 2006
>Originator:     david hu
>Release:        FreeBSD 5.4-STABLE
>Organization:
n/a
>Environment:
FreeBSD aileen 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Jul 26 18:02:28 PDT 2005     david@aileen:/usr/obj/usr/src/sys/AILEEN  i386
>Description:
I finally started using/turned on this box that was built a few months ago.  I then notice these messages in the /var/log/messages:

Sep 13 09:18:49 aileen kernel: ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=3100383

It appears to happen every so often.. once a week at the least or serveral times a week at the most.  This is a brand new WD hard disk: 
Device Model:     WDC WD2500JB-00KFA0
Firmware Version: 08.05J08
User Capacity:    250,059,350,016 bytes

Here is my ATA controller from dmesg:
atapci1: <VIA 8237 UDMA133 controller> port 0xdc00-0xdc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0

Its an onboard ATA controller on the Abit KV8 Pro board.
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Fri Nov 4 11:17:26 GMT 2005 
State-Changed-Why:  
Requested some feedback from the submitter.  I had similiar 
problems and i changed my IDE cable to a 80pins version 
which solved the problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86312 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Jan 29 05:22:26 UTC 2006 
State-Changed-Why:  
Feedback timeout (> 2 months). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86312 
>Unformatted:
