From nobody@FreeBSD.org  Mon Dec 20 17:08:49 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1060F16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Dec 2004 17:08:49 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EEF9743D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Dec 2004 17:08:48 +0000 (GMT)
	(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 iBKH8mHL005727
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 20 Dec 2004 17:08:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id iBKH8mht005726;
	Mon, 20 Dec 2004 17:08:48 GMT
	(envelope-from nobody)
Message-Id: <200412201708.iBKH8mht005726@www.freebsd.org>
Date: Mon, 20 Dec 2004 17:08:48 GMT
From: Stphane Thiell <sthiell@intego.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: SATA not recognized on ATI RS300 chipset
X-Send-Pr-Version: www-2.3

>Number:         75319
>Category:       i386
>Synopsis:       SATA not recognized on ATI RS300 chipset
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 20 17:10:19 GMT 2004
>Closed-Date:    Sun Jan 02 15:52:24 GMT 2005
>Last-Modified:  Thu Jan  6 00:50:30 GMT 2005
>Originator:     Stphane Thiell
>Release:        5.3
>Organization:
>Environment:
FreeBSD nova.thiell.com 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #2: Mon Dec 20 20:53:39 CET 2004     root@nova.thiell.com:/usr/obj/usr/src/sys/NOVA  i386
>Description:
With 5.3-release, on an Asus M/B Chipset: ATI RS300 / IXP200, a SATA disk is only recognized as an UDMA33 disk:

atapci0: <GENERIC ATA controller> port 0xff00-0xff0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 20.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
acd0: CDROM <SAMSUNG CD-ROM SH-152A/C504> at ata0-master UDMA33
ad2: 239372MB <Maxtor 7Y250M0/YAR51HW0> [486344/16/63] at ata1-master UDMA33


{18:05}[root@nova]~# atacontrol cap 1 0
ATA channel 1, Master, device ad2:

Protocol              device model          Maxtor 7Y250M0
serial number         Y640NL9E
firmware revision     YAR51HW0
cylinders             16383
heads                 16
sectors/track         63
lba supported         268435455 sectors
lba48 supported       490234752 sectors
dma supported
overlap not supported

Feature                      Support  Enable    Value   Vendor
write cache                    yes      yes
read ahead                     yes      yes
SATA NCQ                       no        -      0/0x00
SMART                          yes      yes
microcode download             yes      yes
security                       yes      no
power management               yes      yes
advanced power management      yes      no      0/0x00
automatic acoustic management  yes      yes     254/0xFE        192/0xC0


>How-To-Repeat:

>Fix:
N/A
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->sos 
Responsible-Changed-By: arved 
Responsible-Changed-When: Sun Jan 2 14:36:57 GMT 2005 
Responsible-Changed-Why:  
Over to Mr. ATA 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75319 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Sun Jan 2 15:47:08 GMT 2005 
State-Changed-Why:  
The ATI controllers are not supported yet. 
They eventually will be when time and HW get available to me. 
Anyhow, since SATA only can run at its native speed (150MB/s), there is 
nothing lost until that happens. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=75319 

From: Tom Samplonius <tom.samplonius@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org, sthiell@intego.com
Cc:  
Subject: Re: i386/75319: SATA not recognized on ATI RS300 chipset
Date: Wed, 5 Jan 2005 16:48:01 -0800

 ---
 The ATI controllers are not supported yet. 
 They eventually will be when time and HW get available to me. 
 Anyhow, since SATA only can run at its native speed (150MB/s), there is 
 nothing lost until that happens. 
 ---
 
   I don't think this is quite correct.  I think the ATI RS300 natively
 supports PATA, and if a RS300 motherboard has SATA support, it is via
 a bridge.
 
   I've confirmed that SATA performance on my ATI RS300 equiped system
 is quite poor (15MB/s), which is about half of what I get out of the
 PATA connector.  I think drives plugged into the PATA connector are
 operating at something higher than UDMA33, since performance seems to
 be better than ones hould be should be able to get from UDMA33.
 
   There is a RS300 IDE patch for Linux 2.6:
 
 http://lkml.org/lkml/2004/2/26/261
 
 http://www.kernel.org/pub/linux/kernel/people/bart/atiixp_ide/
 
 
   It might be of some help as a reference.  There doesn't seem to be a
 lot too it.  Most of the patch is IDE mode selection.
 
 
 Tom
>Unformatted:
