From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 1 17:40:04 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 14FAC1065679 for ; Mon, 1 Jun 2009 17:40:04 +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 028918FC08 for ; Mon, 1 Jun 2009 17:40:04 +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 n51He3Uv024559 for ; Mon, 1 Jun 2009 17:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n51He3L8024558; Mon, 1 Jun 2009 17:40:03 GMT (envelope-from gnats) Date: Mon, 1 Jun 2009 17:40:03 GMT Message-Id: <200906011740.n51He3L8024558@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Michael Moll 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: Michael Moll List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jun 2009 17:40:04 -0000 The following reply was made to PR kern/135057; it has been noted by GNATS. From: Michael Moll To: Xin LI Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/135057: New VIA SATA controller are not getting detected correctly Date: Mon, 1 Jun 2009 19:37:40 +0200 Hi Xin, On Mon, Jun 01, 2009 at 01:18:29AM -0700, Xin LI wrote: > Would you please give us the output from your 'pciconf -l'? root@marduk:~# pciconf -l hostb0@pci0:0:0:0: class=0x060000 card=0xaa111106 chip=0x03641106 rev=0x00 hdr=0x00 hostb1@pci0:0:0:1: class=0x060000 card=0x00000000 chip=0x13641106 rev=0x00 hdr=0x00 hostb2@pci0:0:0:2: class=0x060000 card=0x00000000 chip=0x23641106 rev=0x00 hdr=0x00 hostb3@pci0:0:0:3: class=0x060000 card=0x00000000 chip=0x33641106 rev=0x00 hdr=0x00 hostb4@pci0:0:0:4: class=0x060000 card=0x00000000 chip=0x43641106 rev=0x00 hdr=0x00 ioapic0@pci0:0:0:5: class=0x080020 card=0x00000000 chip=0x53641106 rev=0x00 hdr=0x00 hostb5@pci0:0:0:6: class=0x060000 card=0x00000000 chip=0x63641106 rev=0x00 hdr=0x00 hostb6@pci0:0:0:7: class=0x060000 card=0x00000000 chip=0x73641106 rev=0x00 hdr=0x00 pcib1@pci0:0:1:0: class=0x060400 card=0x00000000 chip=0xb1981106 rev=0x00 hdr=0x01 pcib2@pci0:0:2:0: class=0x060400 card=0xc3231106 chip=0xa3641106 rev=0x80 hdr=0x01 pcib3@pci0:0:3:0: class=0x060400 card=0xc3231106 chip=0xc3641106 rev=0x80 hdr=0x01 atapci0@pci0:0:15:0: class=0x01018f card=0x53721106 chip=0x53721106 rev=0x00 hdr=0x00 atapci1@pci0:0:15:1: class=0x01018a card=0x05711106 chip=0x05711106 rev=0x07 hdr=0x00 uhci0@pci0:0:16:0: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0xb0 hdr=0x00 uhci1@pci0:0:16:1: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0xb0 hdr=0x00 uhci2@pci0:0:16:2: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0xb0 hdr=0x00 uhci3@pci0:0:16:3: class=0x0c0300 card=0x30381106 chip=0x30381106 rev=0xb0 hdr=0x00 none0@pci0:0:16:4: class=0x0c0320 card=0x31041106 chip=0x31041106 rev=0x90 hdr=0x00 isab0@pci0:0:17:0: class=0x060100 card=0xaa111106 chip=0x33721106 rev=0x00 hdr=0x00 hostb7@pci0:0:17:7: class=0x060000 card=0x337e1106 chip=0x287e1106 rev=0x00 hdr=0x00 hostb8@pci0:0:19:0: class=0x060000 card=0x00000000 chip=0x337b1106 rev=0x00 hdr=0x00 pcib4@pci0:0:19:1: class=0x060401 card=0x337a1106 chip=0x337a1106 rev=0x00 hdr=0x01 vgapci0@pci0:1:0:0: class=0x030000 card=0x33711106 chip=0x33711106 rev=0x01 hdr=0x00 em0@pci0:2:0:0: class=0x020000 card=0x10828086 chip=0x107d8086 rev=0x06 hdr=0x00 none1@pci0:3:0:0: class=0x020000 card=0x01101106 chip=0x31191106 rev=0x82 hdr=0x00 > By the way would you please try attached patch? Looks good: mmoll@marduk:~$ dmesg |grep ^ad ad4: 715404MB at ata2-master SATA300 ad6: 715404MB at ata3-master SATA300 BTW, here's a picture of the board: http://www.tuxjournal.net/wp-content/uploads/2008/11/via_vb8001_top_h.jpg The Southbridge is labeled as "8237S" there, not 6420. > 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... According to the Operating Guide for the board (available at http://www.via.com.tw/en/products/embedded/ProductDetail.jsp?productLine=1&motherboard_id=711 -> Downloads -> Operating Guide): "It supports for up to two SATA (3 Gbps) devices" and it also has one 40pin IDE Connector onboard (I think I turned that off in the BIOS). Maybe that's the difference between the devices with the differing PCI-IDs? With the patch from the -current mailinglist the disks negotiated to SATA300 (according to dmesg). Best Regards -- Michael Moll