From owner-freebsd-current@FreeBSD.ORG Thu Jul 24 02:36:17 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4963137B401 for ; Thu, 24 Jul 2003 02:36:17 -0700 (PDT) Received: from spider.deepcore.dk (cpe.atm2-0-56339.0x50c6aa0a.abnxx2.customer.tele.dk [80.198.170.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84C5A43F85 for ; Thu, 24 Jul 2003 02:36:15 -0700 (PDT) (envelope-from sos@spider.deepcore.dk) Received: (from sos@localhost) by spider.deepcore.dk (8.12.9/8.12.9) id h6O9aDSN023183; Thu, 24 Jul 2003 11:36:13 +0200 (CEST) (envelope-from sos) From: Soeren Schmidt Message-Id: <200307240936.h6O9aDSN023183@spider.deepcore.dk> In-Reply-To: <16159.33935.258066.110462@whale.home-net> To: John Reynolds Date: Thu, 24 Jul 2003 11:36:13 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL98b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 cc: current@FreeBSD.ORG Subject: Re: questions on S-ATA and ICH5 (now owns hardware :) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 09:36:17 -0000 It seems John Reynolds wrote: > Hi all, a few weeks back I had asked whether -current supported ICH5's S-ATA > and Søren stated that he'd put code in to detect it and it "should work" but > there wasn't a lot of feedback yet from users. Well, I have some feedback. I > just got a new spiffy 120Gb Seagate S-ATA drive today and I can say that > -current (as of 7/22/2003) does at least see the drive plugged into the > controller and I can build filesystems, copy/delete files to my heart's > content. However, I'm not sure if everything is entirely correct. I'm attaching > a verbose dmesg (somewhat trimmed). The first thing I notice is that I see the > following bits: > > atapci1: port 0xd000-0xd00f,0xcc00-0xcc03,0xc800-0xc807,0xc400-0xc403,0xc000-0xc007 irq 9 at device 31.2 on pci0 > ... > ata2: at 0xc000 on atapci1 > ad4: success setting UDMA133 on Intel ICH5 chip > ad4: ATA-6 disk at ata2-master > ad4: 114473MB (234441648 sectors), 232581 C, 16 H, 63 S, 512 B > ad4: 16 secs/int, 1 depth queue, UDMA133 > ad4: piomode=12 dmamode=34 udmamode=70 cblid=1 > > Shouldn't this drive be found as a SATA150 device? Well, technically yes, but in practice the modes the drives reports back as supported are the old UDMA ones, however the interface will run at SATA150 speed no matter what. I've not found a surefire way to tell this apart yet that also gives resonable results if you use a SATA->PATA dongle and other wierd comboes now possible... -Søren