From owner-freebsd-alpha@FreeBSD.ORG Mon Apr 14 06:22:23 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B110137B401 for ; Mon, 14 Apr 2003 06:22:23 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3BA943FDF for ; Mon, 14 Apr 2003 06:22:20 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.9/8.12.9) with ESMTP id h3EDM5MS006644 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 14 Apr 2003 09:22:05 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h3EDM0I55022; Mon, 14 Apr 2003 09:22:00 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16026.46584.737019.331576@grasshopper.cs.duke.edu> Date: Mon, 14 Apr 2003 09:22:00 -0400 (EDT) To: Riccardo.Veraldi@fi.infn.it In-Reply-To: References: X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-alpha@freebsd.org Subject: Re: problem with UDMA mode on XP1000 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 13:22:24 -0000 Riccardo.Veraldi@fi.infn.it writes: > anyone has hints how I could fix this problem? I'm re-sending something I sent a few months back when somebody else complained of the same problem in a miata. Miata's and xp1000 have the same form factor, all the the below applies: Why? Well, alphas are electrinically noisy, and physically cramped. The 500au in particular was designed by some sort of sadist who wanted things to look pretty and didn't give a damn how things worked on the inside. If I had a $1.00 for every drop of blood I ever lost by skinning my knuckles inserting or removing drives or pci cards from miatas, I'd be rich. Rant aside, ATA cables are VERY sensative to EMI noise. What's happening to you is that the cable is either badly twisted, running too close to an EMI source, or both. This is causing the transfers across the cable between the controller and the disk to be corrupted (that's the ICRC error you're seeing). This is NOT the fault of the software, rather its a real hardware problemn with your setup. The software is saving you from serious disk corruption. I suggest moving things around inside and making sure that the cables are kink-free and don't run close to a source of EMI noise (cpu, powersupply, other pci cards). This is much easier said than done on a miata like yours. You might also consider purchasing the highest quality cables you can find (I have no suggestions as to brand..). Maybe serial ata has better sheilding and would do better. I dunno. I do know that it took me 3 sets of cables and considerable fiddling to get ata33 to work on a UP1000. Alternatively, you could use atacontrol to force a slower mode like udma66 or udma33 which the cable might be more capable of handling. I have an old promise card in my miata which seems to handle udma33 OK. Good luck. You'll need it. Drew