Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2002 04:47:01 -0700 (PDT)
From:      David Schultz <dschultz@uclink.Berkeley.EDU>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/40225: ata driver incorrectly downgrades UDMA4 drives
Message-ID:  <200207051147.g65Bl1iQ003380@HAL9000.wox.org>

next in thread | raw e-mail | index | archive | help

>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: <VIA 82C596 ATA66 controller> 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 <QUANTUM FIREBALLP LM20.5> [39813/16/63] at ata0-master UDMA66
ad1: 17206MB <WDC AC418000D> [34960/16/63] at ata0-slave UDMA66
acd0: CD-RW <TDK CDRW161040X> at ata1-master WDMA2
acd1: DVD-ROM <TOSHIBA DVD-ROM SD-M1202> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207051147.g65Bl1iQ003380>