From owner-freebsd-stable Fri Aug 16 8:41:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A29FC37B400 for ; Fri, 16 Aug 2002 08:41:50 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBF4843E84 for ; Fri, 16 Aug 2002 08:41:49 -0700 (PDT) (envelope-from hetzels@westbend.net) Received: from Admin01 (admin01.westbend.net [216.47.253.18]) by mail.westbend.net (8.12.5/8.12.5) with SMTP id g7GFfjBg055732; Fri, 16 Aug 2002 10:41:45 -0500 (CDT) (envelope-from hetzels@westbend.net) Message-ID: <036c01c2453b$5f602a40$12fd2fd8@Admin01> From: "Scot W. Hetzel" To: , "J. 'LoneWolf' Mattsson" References: <5.1.0.14.2.20020816234804.00b10018@ocean.hkr.se> Subject: Re: Unsupported ATA controller - what's needed to make it supported? Date: Fri, 16 Aug 2002 10:41:21 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: "J. 'LoneWolf' Mattsson" > My question is two fold: > 1) Have I missed something obvious that's causing this really poor > performance? I already have "hw.ata.wc=1" so that wouldn't be it... I have > my old slow drive on its own channel so as to not slug down my new drive.. > I'm using the "high density" proper ribbon cable for the new drive.. The > ATA controller isn't sharing an IRQ... Anything else? Is my old P120 simply > too old to cope, or what? > Since your ATA Controller is unknown, FreeBSD has choosen to use the Generic ATA driver which doesn't support ATA 33, 66, 100, or 133 speeds. > 2) Not being familiar with the workings of the ata(4) driver or driver > internals in general, what information is needed to make this controller > fully supported? Is it information that I can gather, or is there a need > for vendor specific information? > The below information is a start: > "pciconf -l -v" produces the following snippet for the card: > > atapci1@pci0:11:0: class=0x010185 card=0x06801095 chip=0x06801095 > rev=0x01 hdr=0x00 > vendor = 'CMD Technology Inc.' > device = 'PCI-0680 Ultra ATA133 EIDE Controller' > class = mass storage > subclass = ATA > You'll need to either try adding the card to ata-pci.c (/usr/src/sys/dev/ata) yourself, or seek the help of the ata maintainer (soren?) to assit. Look at how your other ATA controller is in the source code, and try adding similuar entries for your 680 Controller. Scot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message