From owner-freebsd-bugs Fri Jul 5 4:53: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A489137B401 for ; Fri, 5 Jul 2002 04:53:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F34D743E3B for ; Fri, 5 Jul 2002 04:52:45 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g65BpNJU001225 for ; Fri, 5 Jul 2002 04:51:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g65BpNmc001224; Fri, 5 Jul 2002 04:51:23 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D36FA37B401 for ; Fri, 5 Jul 2002 04:49:02 -0700 (PDT) Received: from HAL9000.wox.org (12-233-156-170.client.attbi.com [12.233.156.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF54B43E58 for ; Fri, 5 Jul 2002 04:47:17 -0700 (PDT) (envelope-from das@HAL9000.wox.org) Received: from HAL9000.wox.org (localhost [127.0.0.1]) by HAL9000.wox.org (8.12.3/8.12.3) with ESMTP id g65Bl2Ne003381 for ; Fri, 5 Jul 2002 04:47:02 -0700 (PDT) (envelope-from das@HAL9000.wox.org) Received: (from das@localhost) by HAL9000.wox.org (8.12.3/8.12.3/Submit) id g65Bl1iQ003380; Fri, 5 Jul 2002 04:47:01 -0700 (PDT) (envelope-from das) Message-Id: <200207051147.g65Bl1iQ003380@HAL9000.wox.org> Date: Fri, 5 Jul 2002 04:47:01 -0700 (PDT) From: David Schultz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/40225: ata driver incorrectly downgrades UDMA4 drives Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40225 >Category: kern >Synopsis: ata driver incorrectly downgrades UDMA4 drives >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 05 04:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: David Schultz >Release: FreeBSD 4.6-RELEASE i386 >Organization: >Environment: System: FreeBSD HAL9000.wox.org 4.6-RELEASE FreeBSD 4.6-RELEASE #5: Thu Jul 4 01:21:53 PDT 2002 root@HAL9000.wox.org:/usr/obj/usr/src/sys/HAL9000.natd i386 This problem occurs in -CURRENT and 4.6-RELEASE, but not in 4.5-RELEASE, which leads me to believe that it is hiding in the ata code Søren MFC'd on 3-18. >Description: My primary IDE controller has two drives, only one of which is normally mounted. The other one spins down after twenty minutes. But if I suspend the system using either `zzz' or `acpiconf -s 1' and then resume, the `sleeping' drive is downgraded to UDMA2 when the controller is reset. The exact message is: DMA limited to UDMA33, non-ATA66 cable or device Both drives support UDMA4 and have worked fine for years. >How-To-Repeat: Maybe-interesting bits from dmesg follow. ad1 is the drive I actually use. atapci0: port 0xd800-0xd80f at device 4.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 ... ad0: 19595MB [39813/16/63] at ata0-master UDMA66 ad1: 17206MB [34960/16/63] at ata0-slave UDMA66 acd0: CD-RW at ata1-master WDMA2 acd1: DVD-ROM at ata1-slave WDMA2 Mounting root from ufs:/dev/ad1s1a >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message