From owner-freebsd-i386@FreeBSD.ORG Thu Feb 15 11:10:07 2007 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B54AB16A46B for ; Thu, 15 Feb 2007 11:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 70D7213C4A8 for ; Thu, 15 Feb 2007 11:10:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1FBA715018721 for ; Thu, 15 Feb 2007 11:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1FBA7jf018720; Thu, 15 Feb 2007 11:10:07 GMT (envelope-from gnats) Resent-Date: Thu, 15 Feb 2007 11:10:07 GMT Resent-Message-Id: <200702151110.l1FBA7jf018720@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joris Dobbelsteen Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98FF616A400 for ; Thu, 15 Feb 2007 11:09:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 89AB613C46B for ; Thu, 15 Feb 2007 11:09:34 +0000 (UTC) (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 l1FB9XXY098264 for ; Thu, 15 Feb 2007 11:09:33 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l1FB9XPC098263; Thu, 15 Feb 2007 11:09:33 GMT (envelope-from nobody) Message-Id: <200702151109.l1FB9XPC098263@www.freebsd.org> Date: Thu, 15 Feb 2007 11:09:33 GMT From: Joris Dobbelsteen To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: i386/109200: READ_UDMA UDMA ICRC error cause not detecting cable type X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 11:10:07 -0000 >Number: 109200 >Category: i386 >Synopsis: READ_UDMA UDMA ICRC error cause not detecting cable type >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 15 11:10:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Joris Dobbelsteen >Release: 6.2-RELEASE >Organization: >Environment: FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0 Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Several: ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=XXXXXX repeatedly, eventually you will see ad0: FAILURE - READ_DMA status=51 error=84 LBA=XXXXXX The cable is not suited for UDMA66 mode, but it is for UDMA33 mode. System is AMD-K6 3D (500 MHz) some things from the dmesg (for identification purposes) atapci0: port .. at device 7.1 on pci0 >How-To-Repeat: Just wait, it will fail... >Fix: Do like everybody else: The BIOS detects: 40-conductor cable instead of 80-conductor cable... Linux sets the mode to UDMA33 at most, automatically... Windows sets the mode to UDMA33 at most, automatically... FreeBSD won't, except in safe mode it default to PIO4 (which works). Otherwise you need to manually instruct it "/sbin/atacontrol mode ad0 UDMA33". So please detect it and go into UDMA33 mode. >Release-Note: >Audit-Trail: >Unformatted: