From owner-freebsd-questions@FreeBSD.ORG Sun Feb 3 09:23:38 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6189F16A417 for ; Sun, 3 Feb 2008 09:23:38 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 1CB4E13C43E for ; Sun, 3 Feb 2008 09:23:38 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDESK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id m139Na3p098127; Sun, 3 Feb 2008 01:23:37 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: , Date: Sun, 3 Feb 2008 01:25:07 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914 In-Reply-To: Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Sun, 03 Feb 2008 01:23:37 -0800 (PST) Cc: Subject: RE: SATA question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 09:23:38 -0000 Looks like it isn't detecting it as a generic controller. But I think this is the problem. Note that the system is applying ata2 and ata3 to atapci0, and ata0 and ata1 to atapci1. This is backwards, I've not seen this before in the ata driver. Normally, ata0 and ata1 are applied to the first controller - atapci0 - and ata2 and ata3 are applied to the second controller - atapci1 - and so on. Søren Schmidt put the support in for this chipset to the ata driver. I'd file a PR and put it down to a driver bug. Ted > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Darryl Hoar > Sent: Friday, February 01, 2008 7:06 AM > To: 'Ted Mittelstaedt'; freebsd-questions@freebsd.org > Subject: RE: SATA question > > > > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Darryl Hoar > > Sent: Tuesday, January 29, 2008 6:59 AM > > To: freebsd-questions@freebsd.org > > Subject: SATA question > > > > > > Well, > > maybe I spoke to soon. While looking at dmesg in prep for doing > > a custom kernel for my new server, I noticed an oddity. > > > > ad4 - DMA limited to UDMA33, device found non-ata66 cable. > > ad4 - > > > > Is this telling me the system recognized my > > 160GB 7.2K RPM Serial ATA 3Gbps 3.5-in Cabled Hard Drive as > > a UDMA33 ? > > > > >>No doubt, a pciconf followed by insertion of the ID into the > >>ata detection routines would help - assuming your sata chipset > >>is supported. > > >>You don't have the entire dmesg here but it looks like it's > >>using the generic driver. > > >>Ted > > > atapci0: port > 0xecb0-0xecb7,0xeca0-0xeca > 3,0xecb8-0xecbf,0xeca4-0xeca7,0xece0-0xecef mem > 0xefdfe000-0xefdfffff irq 6 > at d > evice 14.0 on pci3 > ata2: on atapci0 > ata3: on atapci0 > > atapci1: port > 0x1f0-0x1f7,0x3f6,0x170-0x > 177,0x376,0x8c0-0x8cf at device 2.1 on pci0 > ata0: on atapci1 > ata1: on atapci1 > > acd0: CDRW at ata0-master UDMA33 > ad4: DMA limited to UDMA33, device found non-ATA66 cable > ad4: 152587MB at ata2-master UDMA33 > ad6: DMA limited to UDMA33, device found non-ATA66 cable > ad6: 152587MB at ata3-master UDMA33 > > This is the copied relevant portions of demsg's output. I have only used > pciconf to > list devices, so am basically unfamilar with it. > > So, how do I get the system to recognize the drives as SATA ? > > thanks, > Darryl > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >