Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 17:40:03 GMT
From:      Michael Moll <kvedulv@kvedulv.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/135057: New VIA SATA controller are not getting detected correctly
Message-ID:  <200906011740.n51He3L8024558@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: Michael Moll <kvedulv@kvedulv.de>
To: Xin LI <delphij@delphij.net>
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 <WDC WD7500AYYS-01RCA0 30.04G30> at ata2-master SATA300
 ad6: 715404MB <WDC WD7500AYYS-01RCA0 30.04G30> 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



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