From owner-freebsd-questions Wed Jul 17 8:17: 6 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 3C63C37B400 for ; Wed, 17 Jul 2002 08:17:02 -0700 (PDT) Received: from pimout3-int.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D20C43EA9 for ; Wed, 17 Jul 2002 08:17:01 -0700 (PDT) (envelope-from vetter_david@sbcglobal.net) Received: from handbasket (adsl-63-195-109-194.dsl.snfc21.pacbell.net [63.195.109.194]) by pimout3-int.prodigy.net (8.11.0/8.11.0) with SMTP id g6HFH0a227042 for ; Wed, 17 Jul 2002 11:17:00 -0400 Message-ID: <001e01c22da4$facb2920$c26dc33f@handbasket> From: "David" To: "FreeBSD-Questions" References: <001a01c22d50$8a78a070$c26dc33f@handbasket> Subject: Re: Adding disks via an expansion card Date: Wed, 17 Jul 2002 08:16:49 -0700 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 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 ----- Original Message ----- From: "David" > I've looked through what I can of the Handbook and FAQ but can't seem to > find an answer. > > 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. > > 1) The CD-ROM attached to the card is not detected. > 2) The devices don't exist in /dev to do anything with it. > > I have tried to use 'MAKEDEV all' to get the devices to appear there, but it > doesn't seem to do it. Do I have to add the devices manually? > > exerpt from dmesg: > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message