From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 1 08:20:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 92C6C106564A for ; Mon, 1 Jun 2009 08:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 80C4B8FC18 for ; Mon, 1 Jun 2009 08:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n518K5ih082974 for ; Mon, 1 Jun 2009 08:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n518K5ZM082973; Mon, 1 Jun 2009 08:20:05 GMT (envelope-from gnats) Date: Mon, 1 Jun 2009 08:20:05 GMT Message-Id: <200906010820.n518K5ZM082973@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Xin LI Cc: Subject: Re: misc/135057: New VIA SATA controller are not getting detected correctly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Xin LI List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 08:20:05 -0000 The following reply was made to PR kern/135057; it has been noted by GNATS. From: Xin LI To: Michael Moll Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/135057: New VIA SATA controller are not getting detected correctly Date: Mon, 01 Jun 2009 01:18:29 -0700 This is a multi-part message in MIME format. --------------060307080004030208020802 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Michael, Would you please give us the output from your 'pciconf -l'? By the way would you please try attached patch? By the way are you sure that these chips supports SATA300 (my sources says that they just support 1.5Gbps mode)? I think they don't support legacy IDE on the other hand... Michael Moll wrote: >> Number: 135057 >> Category: misc >> Synopsis: New VIA SATA controller are not getting detected correctly >> Confidential: no >> Severity: serious >> Priority: low >> Responsible: freebsd-bugs >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: change-request >> Submitter-Id: current-users >> Arrival-Date: Fri May 29 11:10:02 UTC 2009 >> Closed-Date: >> Last-Modified: >> Originator: Michael Moll >> Release: 8.0-CURRENT >> Organization: >> Environment: > FreeBSD marduk.kvedulv.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed May 27 16:50:02 CEST 2009 mmoll@marduk.kvedulv.de:/usr/obj/usr/src/sys/MARDUK i386 >> Description: > On newer VIA boards (VB8001 for example) the ATA controller is not recognized correctly and so only UDMA33 is possible. > > mmoll@marduk:~$ dmesg |grep ^ad > ad4: 715404MB at ata2-master UDMA33 > ad6: 715404MB at ata3-master UDMA33 >> How-To-Repeat: > Boot FreeBSD on such a board. >> Fix: > A patch like the one in http://lists.freebsd.org/pipermail/freebsd-current/2009-February/003568.html > >> Release-Note: >> Audit-Trail: >> Unformatted: > _______________________________________________ > freebsd-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkojjtQACgkQi+vbBBjt66ACHwCfQqUf6XMZadA3IG/StTL8Pq+C qEgAoKk6SIzTfgjFgmyme5dFvSf4IZb2 =InN2 -----END PGP SIGNATURE----- --------------060307080004030208020802 Content-Type: text/plain; name="via.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="via.diff" Index: chipsets/ata-via.c =================================================================== --- chipsets/ata-via.c (revision 193197) +++ chipsets/ata-via.c (working copy) @@ -100,6 +100,8 @@ static struct ata_chip_id new_ids[] = {{ ATA_VIA6410, 0x00, 0, 0x00, ATA_UDMA6, "6410" }, { ATA_VIA6420, 0x00, 7, 0x00, ATA_SA150, "6420" }, + { ATA_VIA6420_5372, 0x00, 7, 0x00, ATA_SA150, "6420" }, + { ATA_VIA6420_7372, 0x00, 7, 0x00, ATA_SA150, "6420" }, { ATA_VIA6421, 0x00, 6, VIABAR, ATA_SA150, "6421" }, { ATA_VIA8237A, 0x00, 7, 0x00, ATA_SA150, "8237A" }, { ATA_VIA8237S, 0x00, 7, 0x00, ATA_SA150, "8237S" }, Index: ata-pci.h =================================================================== --- ata-pci.h (revision 193197) +++ ata-pci.h (working copy) @@ -421,6 +421,8 @@ #define ATA_VIA8662 0x31021106 #define ATA_VIA6410 0x31641106 #define ATA_VIA6420 0x31491106 +#define ATA_VIA6420_5372 0x53721106 +#define ATA_VIA6420_7372 0x73721106 #define ATA_VIA6421 0x32491106 /* global prototypes ata-pci.c */ --------------060307080004030208020802--