Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2003 16:15:53 +0200
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        stable@freebsd.org
Subject:   Re: "disable ata" in kernel configuration not working?
Message-ID:  <20030603161553.W26888@shell.gsinet.sittig.org>
In-Reply-To: <20030603215752.K69881-100000@hewey.af.speednet.com.au>; from andyf@speednet.com.au on Tue, Jun 03, 2003 at 10:30:15PM %2B1000
References:  <xzp3cirtpg5.fsf@flood.ping.uio.no> <20030603215752.K69881-100000@hewey.af.speednet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 03, 2003 at 22:30 +1000, Andy Farkas wrote:
> 
> I am certain there is a total of one (1) ata controllers in the box; I put
> it in there myself. It does NOT appear as ata0 and ata1, it appears as
> ata2 and ata3. Like I said before, there is no onboard ata controller.
> 
> Note how the one and only ide disk that this box boots from is ad4:
> Note how the ata driver bogusly claims there are controllers at ata0 &
> ata1 and that the irqs overlap with previously probed devices:

Your kernel config has ata entries for ISA controllers.  Remove
them and your PCI adapter should become ata0 and the disk should
become ad0.  (If this is what you wanted, I couldn't get it from
your last message and did not follow the thread too closely.)

> ...
> atapci0: <Promise PDC20246 UDMA33 controller>
>  port 0xd400-0xd41f,0xd804-0xd807,0xe000-0xe007,0xe404-0xe407,0xe800-0xe807
>  irq 14 at device 5.0 on pci0
> ata2: at 0xe800 on atapci0
> ata3: at 0xe000 on atapci0
> [ snip ]
> ...
> ata0 at port 0x3f6,0x1f0-0x1f7 irq 14 on isa0
> ata1 at port 0x376,0x170-0x177 irq 15 on isa0
> ...
> ad4: 8223MB <ST38410A> [16708/16/63] at ata2-master UDMA33

Do you see the "ata0 ... on isa0" connection/binding?  Even if
there is no hardware to handle, the logical number is allocated.
So the first auto recognised (i.e. additional) controller cannot
live there, too.  This is very similar to the "Why does my (one
and only) NE2K PCMCIA clone show up as ed1?" question, while
people have ed0 bound to an (absent) ISA card in their config
as it is in GENERIC.


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.



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