From nobody@FreeBSD.org  Mon Sep 24 15:02:31 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 07F8737B41B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 24 Sep 2001 15:02:31 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f8OM2VH74080;
	Mon, 24 Sep 2001 15:02:31 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109242202.f8OM2VH74080@freefall.freebsd.org>
Date: Mon, 24 Sep 2001 15:02:31 -0700 (PDT)
From: Justin Kolb <jkolb@nutzy.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ata UMDA problem
X-Send-Pr-Version: www-1.0

>Number:         30801
>Category:       i386
>Synopsis:       ata UMDA problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 24 15:10:01 PDT 2001
>Closed-Date:    Wed Dec 12 06:08:41 PST 2001
>Last-Modified:  Wed Dec 12 06:11:52 PST 2001
>Originator:     Justin Kolb
>Release:        4.4
>Organization:
>Environment:
FreeBSD wakko.nutzy.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Sep 18 11:57:08 PDT 2001     murray@builder.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386

>Description:
ASUS P5A (UDMA 33 support) + Western Digital WD136AA (UDMA 66/33 drive) + 40 PIN cable
Large number of ICRC errors followed by a drop down to PIO4 mode. UDMA mode 2 is successfully detected in the bios for the drive during a verbose boot.

Attempts to prove it was a hardware/setup problem involved many tests with combinations of the following things:
1.) Switching between AUTO DMA and forced DMA in the BIOS
2.) Setting UDMA 33 on the drive (wasn't set in earlier tests).
3.) Swapping different 40-pin cables
4.) Running full Western Digitial diagnostic suite on drive (all OK)

Note I also had this problem under 4.3 (I believe the error message has changed though).
>How-To-Repeat:

>Fix:
Setting sysctl hw.atamodes to force PIO mode at startup, this still results in a few ICRC errors prior to the execution of this command during bootup.
>Release-Note:
>Audit-Trail:

From: "David Xu" <davidx@viasoft.com.cn>
To: <freebsd-gnats-submit@FreeBSD.org>, <jkolb@nutzy.net>
Cc:  
Subject: Re: i386/30801: ata UMDA problem
Date: Thu, 27 Sep 2001 10:03:46 +0800

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_00B1_01C1473B.B26E2510
 Content-Type: text/plain;
 	charset="gb2312"
 Content-Transfer-Encoding: quoted-printable
 
 It seems you have a bad cable or bad harddisk.
 
 --
 David Xu
 
 
 ------=_NextPart_000_00B1_01C1473B.B26E2510
 Content-Type: text/html;
 	charset="gb2312"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META content=3D"text/html; charset=3Dgb2312" http-equiv=3DContent-Type>
 <META content=3D"MSHTML 5.00.3018.900" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV><FONT size=3D2>It&nbsp;seems you have a bad cable or bad=20
 harddisk.</FONT></DIV>
 <DIV>&nbsp;</DIV>
 <DIV><FONT size=3D2>--</FONT></DIV>
 <DIV><FONT size=3D2>David Xu</FONT></DIV>
 <DIV>&nbsp;</DIV></BODY></HTML>
 
 ------=_NextPart_000_00B1_01C1473B.B26E2510--
 
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Oct 4 22:56:31 PDT 2001 
Responsible-Changed-Why:  
Over to the ATA maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30801 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Wed Dec 12 06:08:41 PST 2001 
State-Changed-Why:  
I'm pretty certain this is due to bad hardware. Try a new cable 
if that doesn't help try a 80pin cable that helps in situations  
where noise is the killer. Also remember that an ATA cable shall 
not be longer than 18" (45cm), this is important... 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30801 
>Unformatted:
