Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 16:37:14 +0100
From:      Rob O'Donnell <robert@aphnet.co.uk>
To:        "David" <vetter_david@sbcglobal.net>
Cc:        "FreeBSD-Questions" <freebsd-questions@freebsd.org>
Subject:   Re: Adding disks via an expansion card
Message-ID:  <5.1.1.6.0.20020717162944.021419d8@pop3.norton.antivirus>
In-Reply-To: <001e01c22da4$facb2920$c26dc33f@handbasket>
References:  <001a01c22d50$8a78a070$c26dc33f@handbasket>

next in thread | previous in thread | raw e-mail | index | archive | help
At 08:16 17/07/2002 -0700, you wrote:
>----- Original Message -----
>From: "David" <vetter_david@sbcglobal.net>
>
> > 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: <Promise ATA100 controller> 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
> > <snip>
> > ad2: 2014MB <Maxtor 82160D2> [4092/16/63] at ata1-master UDMA33
> > ad3: 12416MB <GENERIC GENERIC> [25228/16/63] at ata1-slave UDMA33
> > ad4: 4121MB <Maxtor 90432D2> [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: <VIA 82C686 ATA66 controller> port 0xc000-0xc00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: <CMD 649 ATA100 controller> 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 <M1614TA> [2114/16/63] at ata0-master WDMA2
ad2: 117246MB <Maxtor 4G120J6> [238216/16/63] at ata1-master UDMA66
ad3: 19546MB <FUJITSU MPG3204AT E> [39714/16/63] at ata1-slave UDMA66
ad4: 117246MB <Maxtor 4G120J6> [238216/16/63] at ata2-master UDMA100
ad5: 114473MB <WDC WD1200AB-22CBA1> [232581/16/63] at ata2-slave UDMA100
ad6: 117246MB <Maxtor 4G120J6> [238216/16/63] at ata3-master UDMA100
ad7: 39083MB <Maxtor 34098H4> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.1.6.0.20020717162944.021419d8>