From owner-freebsd-questions Wed Jul 17 8:41:58 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 3056A37B400 for ; Wed, 17 Jul 2002 08:41:53 -0700 (PDT) Received: from mail.utexas.edu (wb3-a.mail.utexas.edu [128.83.126.138]) by mx1.FreeBSD.org (Postfix) with SMTP id 6CACE43E64 for ; Wed, 17 Jul 2002 08:41:52 -0700 (PDT) (envelope-from oscars@mail.utexas.edu) Received: (qmail 11818 invoked by uid 0); 17 Jul 2002 15:41:49 -0000 Received: from chepe.cc.utexas.edu (HELO chepe.mail.utexas.edu) (128.83.135.25) by umbs-smtp-3 with SMTP; 17 Jul 2002 15:41:49 -0000 Message-Id: <5.1.0.14.2.20020717104008.01eb9900@mail.utexas.edu> X-Sender: oscars@mail.utexas.edu X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 17 Jul 2002 10:42:04 -0500 To: "David" , questions@freebsd.org From: Oscar Ricardo Silva Subject: Re: Adding disks via an expansion card 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 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 AM 7/17/2002 -0700, David, you wrote: >----- 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 Have you tried going into /dev and issuing the MAKEDEV commands to make the individual devices? How about going through /stand/sysinstall and seeing if you can manipulate the new drives from there? I ran into the same problem with you after adding an ATA/66 card. I had to add the create the devices /dev/ad6s1, etc. using MAKEDEV and that worked without a problem. Oscar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message