Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Apr 2002 12:51:35 -0400
From:      ScaryG <freymann@scaryg.shacknet.nu>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Adding a Maxtor Ultra ATA/100 PCI Adapter - what goes in the KERNEL?
Message-ID:  <20020427125135.1b45e41c.freymann@scaryg.shacknet.nu>

next in thread | raw e-mail | index | archive | help
I'm trying to get my new 40 GIG IDE Maxtor hard drive to perform at its
best in a very old Dual Pentium Pro Motherboard that only supports ATA33
IDE on the motherboard.

So I bought a Maxtor Ultra ATA/100 PCI Adapter.

I need to add something to my Kernel in order for FreeBSD to recognize and
use the second controller.

I'm using 4.4-RELEASE-p9 FreeBSD.

Upon bootup, this is reported:

atapci0: <Intel PIIX3 ATA controller> port 0xf000-0xf00f at device 7.1 on
pci0 ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: <Promise ATA100 controller> port
0x8400-0x843f,0x8300-0x8303,0x8200-0x8207,0x8100-0x8103,0x8000-0x8007 mem
0xe1000000-0xe101ffff irq 11 at device 10.0 on pci0 ata2: at 0x8000 on
atapci1 ata3: at 0x8200 on atapci1

ata2-master: ata_command: timeout waiting for intr
ata2-master: identify failed
ad0: 39083MB <Maxtor 4D040H2> [79408/16/63] at ata0-master WDMA2
acd0: CD-RW <Hewlett-Packard CD-Writer Plus 9100> at ata1-master using
PIO4 Mounting root from ufs:/dev/ad0s1a

In my KERNEL config:

# ATA and ATAPI devices
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
device          atapifd                 # ATAPI floppy drives
device          atapist                 # ATAPI tape drives
options         ATA_STATIC_ID           #Static device numbering
#options        ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

I added this:
 
device          wdc2    at isa? port 0 flags 0xa0ffa0ff
device          wd4     at wdc2 drive 0
device          wd5     at wdc2 drive 1
 
device          wdc3    at isa? port 0 flags 0xa0ffa0ff
device          wd6     at wdc3 drive 0
device          wd7     at wdc3 drive 1

as suggested in LINT but the wd driver has been deleted in favour of the
ata driver. (I guess LINT should be updated)

So now I'm wondering what ATA options should be included in the Kernel?

Thanks.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Scary Gerry -- Senior Systems Manager
 freymann@scaryg.shacknet.nu
 -For web-hosting, DNS Services or PHP &
 MySql programming see www.interpool.ca
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



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?20020427125135.1b45e41c.freymann>