Date: Mon, 1 Jun 2009 08:20:05 GMT From: Xin LI <delphij@delphij.net> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/135057: New VIA SATA controller are not getting detected correctly Message-ID: <200906010820.n518K5ZM082973@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/135057; it has been noted by GNATS. From: Xin LI <delphij@delphij.net> To: Michael Moll <kvedulv@kvedulv.de> 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 <WDC WD7500AYYS-01RCA0 30.04G30> at ata2-master UDMA33 > ad6: 715404MB <WDC WD7500AYYS-01RCA0 30.04G30> 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 <delphij@delphij.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906010820.n518K5ZM082973>