From owner-freebsd-questions Wed Jul 17 8:39:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E54F637B400 for ; Wed, 17 Jul 2002 08:39:02 -0700 (PDT) Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2606343E3B for ; Wed, 17 Jul 2002 08:39:02 -0700 (PDT) (envelope-from rob@aphnet.co.uk) Received: from mailgate.aphnet.co.uk ([62.49.140.130] helo=aph2k.aphinternal.aphnet.co.uk) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 17UqtJ-0009BW-0U; Wed, 17 Jul 2002 16:39:01 +0100 Received: from aph2k.aphnet.co.uk ([62.49.140.130]) by aph2k.aphinternal.aphnet.co.uk with Microsoft SMTPSVC(5.0.2195.3779); Wed, 17 Jul 2002 16:42:10 +0100 Message-Id: <5.1.1.6.0.20020717162944.021419d8@pop3.norton.antivirus> X-Sender: rob@aph2k X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Wed, 17 Jul 2002 16:37:14 +0100 To: "David" From: Rob O'Donnell Subject: Re: Adding disks via an expansion card Cc: "FreeBSD-Questions" In-Reply-To: <001e01c22da4$facb2920$c26dc33f@handbasket> References: <001a01c22d50$8a78a070$c26dc33f@handbasket> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 17 Jul 2002 15:42:10.0968 (UTC) FILETIME=[83DA6980:01C22DA8] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 08:16 17/07/2002 -0700, you wrote: >----- Original Message ----- >From: "David" > > > I have added a Maxtor UltraATA/100 PCI Adaptor Card to one of my machines > > (to replace failing on-board IDE controllers). On boot, I see that it is > > detected and it detects the hard drive attached to it. However, I have >two > > problems. > > > > atapci1: port > > 0xec00-0xec3f,0xe800-0xe803,0xe400-0xe407,0xe000-0xe003,0xdc00-0xdc07 mem > > 0xee000000-0xee01ffff irq 11 at device 10.0 on pci0 > > ata2: at 0xdc00 on atapci1 > > ata3: at 0xe400 on atapci1 > > > > ad2: 2014MB [4092/16/63] at ata1-master UDMA33 > > ad3: 12416MB [25228/16/63] at ata1-slave UDMA33 > > ad4: 4121MB [8374/16/63] at ata2-master UDMA33 > > > > > >Well, I found a way to do this, though I'm wondering if there's an easier >way. I ended up removing an option in the kernel conf for static IDE >numbering. I recompiled that and rebooted. On the way up I disabled the >first IDE controller on the board. When the rest of the machine came up the >secondary master and secondary became ad0 and ad1, respectively, while the >new controller's master and secondary became ad2 and ad3. > >While this works, it also means that I can't use the secondary controller on >the add-on card I have. > >I found these lines in the kernel conf: > >device ata0 at isa? port IO_WD1 irq 14 >device ata1 at isa? port IO_WD2 irq 15 > >Can I just add another line like this? A friend also suggested I use the >wd driver, but it appears to be mutually exclusive with the ata driver. >Anyone know what the best way to do this would be or suggestions on what I >could do? > >David I added a second IDE controller to my 4.3 box with no problems.. it's still running GENERIC kernel, which detected it ok: atapci0: port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 atapci1: port 0xdc00-0xdc0f,0xd800-0xd803,0xd400-0xd 407,0xd000-0xd003,0xcc00-0xcc07 irq 11 at device 8.0 on pci0 ata2: at 0xcc00 on atapci1 ata3: at 0xd400 on atapci1 saw the discs: ad0: 1040MB [2114/16/63] at ata0-master WDMA2 ad2: 117246MB [238216/16/63] at ata1-master UDMA66 ad3: 19546MB [39714/16/63] at ata1-slave UDMA66 ad4: 117246MB [238216/16/63] at ata2-master UDMA100 ad5: 114473MB [232581/16/63] at ata2-slave UDMA100 ad6: 117246MB [238216/16/63] at ata3-master UDMA100 ad7: 39083MB [79408/16/63] at ata3-slave UDMA100 (hmm,., why do western dig 120Gb have somewhat less space on them than maxtor?) All I remember having to do was MAKEDEV the ad4/5/6/7 devices. after that, it just worked. Only problem was fitting all the discs in the cabinet - ide leads wern't long enough! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message