From nobody@FreeBSD.org  Thu Feb 14 16:09:58 2002
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 34A0837B404
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 14 Feb 2002 16:09:58 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g1F09wk46146;
	Thu, 14 Feb 2002 16:09:58 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200202150009.g1F09wk46146@freefall.freebsd.org>
Date: Thu, 14 Feb 2002 16:09:58 -0800 (PST)
From: sten spans <sten@blinkenlights.nl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Promise TX2 ATA133 controller doesnt work with 80 wire cable on alpha
X-Send-Pr-Version: www-1.0

>Number:         34948
>Category:       alpha
>Synopsis:       Promise TX2 ATA133 controller doesnt work with 80 wire cable on alpha
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-alpha
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 14 16:10:02 PST 2002
>Closed-Date:    Mon May 05 03:07:46 PDT 2003
>Last-Modified:  Mon May 05 03:07:46 PDT 2003
>Originator:     sten spans
>Release:        4.5
>Organization:
Blinkenlights.nl
>Environment:
FreeBSD earth.blinkenlights.nl 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Tue Jan 29 07:52:50 GMT 2002     murray@axpbuilder.freebsdmall.com:/usr/src/sys/compile/GENERIC  alpha

>Description:
I get this error when using an 80 wire udma66/100/133 cable
to connect a maxtor harddrive. I verified this config as working
in a normal pc, in the promise controller screen ( udma6 ).

It looks like the driver doesnt do the correct udma133 initialization on alpha.

     Feb 14 19:07:08 earth /kernel: ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying
Feb 14 19:07:08 earth last message repeated 2 times
Feb 14 19:07:08 earth /kernel: ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) falling back to PIO mode


Switching to an udma33 cable sped things up quite a bit.

Feb 14 23:03:34 earth /kernel: ata2-master: DMA limited to UDMA33, non-ATA66 compliant cable
Feb 14 23:03:34 earth /kernel: ad0: 76345MB <MAXTOR 6L080J4> [155114/16/63] at ata2-master UDMA33

>How-To-Repeat:
Use a promise udma 133 controller with the supplied cable and a udma133 drive in an alpha.
>Fix:

>Release-Note:
>Audit-Trail:

From: Andrew Gallatin <gallatin@cs.duke.edu>
To: sten spans <sten@blinkenlights.nl>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: alpha/34948: Promise TX2 ATA133 controller doesnt work with 80 wire cable on alpha
Date: Thu, 14 Feb 2002 19:14:38 -0500 (EST)

 The driver should be totally machine independent.  I suspect that your
 problem might be a hardware problem -- the alpha might be a bit
 noisier in terms of EMI than a PC.
 
 Have you verified that it it works with another OS?
 (no, I don't know what other OSes are kind enough to tell you about
 CRC errors..)
 
 Drew
 
 
  > 
  >      Feb 14 19:07:08 earth /kernel: ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) retrying
  > Feb 14 19:07:08 earth last message repeated 2 times
  > Feb 14 19:07:08 earth /kernel: ad0: UDMA ICRC error reading fsbn 0 (ad0 bn 0; cn 0 tn 0 sn 0) falling back to PIO mode
  > 
  > 
  > Switching to an udma33 cable sped things up quite a bit.
  > 
  > Feb 14 23:03:34 earth /kernel: ata2-master: DMA limited to UDMA33, non-ATA66 compliant cable
  > Feb 14 23:03:34 earth /kernel: ad0: 76345MB <MAXTOR 6L080J4> [155114/16/63] at ata2-master UDMA33
  > 
  > >How-To-Repeat:
  > Use a promise udma 133 controller with the supplied cable and a udma133 drive in an alpha.
  > >Fix:
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon May 5 03:07:10 PDT 2003 
State-Changed-Why:  
There was a bug regarding this, but it has been fixed long ago. 

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