Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Mar 2001 18:02:36 -0800 (PST)
From:      Randall Hopper <aa8vb@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   4.2:  ata driver problem
Message-ID:  <20010326020236.25077.qmail@web1001.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
     I'm upgrading to 4.2 (from 3.4) this weekend, and I can't get all my IDE
controllers working with the ATA driver, but they do all work with the WD
driver (just as they did in 3.4).  In particular, the ATA driver isn't seeing
the 3rd IDE controller.

In 4.2 (with ATA), I have these kernel lines:

   device          ata0    at isa? port IO_WD1 irq 14 flags 0xa0ffa0ff
   device          ata1    at isa? port IO_WD2 irq 15 flags 0xa0ffa0ff
   device          ata2    at isa? port 0x1e8  irq 11 flags 0xa0ffa0ff
   device          ata
   device          atadisk                 # ATA disk drives
   device          atapicd                 # ATAPI CDROM drives
   #options        ATA_ENABLE_ATAPI_DMA    # Enable DMA on ATAPI devices

and I get these boot-ups probes related to my IDE controllers and disks:

   atapci0: <Intel PIIX3 ATA controller> port 0xe800-0xe80f at device 7.1 on
pci0
   ata0: at 0x1f0 irq 14 on atapci0
   ata1: at 0x170 irq 15 on atapci0
   ...
   ata4 at port 0x1e8-0x1ef,0x3ee irq 11 flags 0xa0ffa0ff on isa0
   ata4-master: ata_command: timeout waiting for intr
   ata4-master: identify failed
   ad0: 32253MB <IBM-DTLA-307045> [65531/16/63] at ata0-master WDMA2
   ad1: 8063MB <IBM-DTTA-350840> [16383/16/63] at ata0-slave WDMA2
   ad2: 8063MB <IBM-DHEA-38451> [16383/16/63] at ata1-master WDMA2
   acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-114 0125> at ata1-slave using
\
PIO4

However, with these WD kernel lines:

   device          wdc0    at isa? port "IO_WD1" irq 14 flags 0xa0ffa0ff
   device          wd0     at wdc0 drive 0
   device          wd1     at wdc0 drive 1
   device          wdc1    at isa? port "IO_WD2" irq 15 flags 0xa0ffa0ff
   device          wd2     at wdc1 drive 0
   device          wd3     at wdc1 drive 1
   device          wdc2    at isa? port "0x1e8" irq 11 flags 0xa0ffa0ff
   device          wd4     at wdc2 drive 0
   device          wcd0            #IDE CD-ROM

all 4 disks and one CD-ROM work just fine (Notice the wdc2 (tertiary IDE
controller) and wd4 (5th IDE disk hanging off tertiary IDE) probes:

   ide_pci0: <Intel PIIX3 Bus-master IDE controller> port 0xe800-0xe80f at
device 7.1 on pci0
   ide_pci0: driver is using old-style compatability shims
   ...
   wdc0 at port 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa0
   wdc0: unit 0 (wd0): <IBM-DTLA-307045>, DMA, 32-bit, multi-block-16
   wd0: 32253MB (66055248 sectors), 65531 cyls, 16 heads, 63 S/T, 512 B/S
   wdc0: unit 1 (wd1): <IBM-DTTA-350840>, DMA, 32-bit, multi-block-16
   wd1: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
   wdc0: driver is using old-style compatability shims
   wdc1 at port 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa0
   wdc1: unit 0 (wd2): <IBM-DHEA-38451>, DMA, 32-bit, multi-block-16
   wd2: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
   wdc1: unit 1 (atapi): <Pioneer DVD-ROM ATAPIModel DVD-114  0125/E1.25>,
removable, accel, dma, iordis
   wcd0: drive speed 0KB/sec, 512KB cache
   wcd0: supported read types: CD-R, CD-RW, CD-DA
   wcd0: Audio: play, 256 volume levels
   wcd0: Mechanism: ejectable tray
   wcd0: Medium: no/blank disc inside, unlocked
   wdc1: driver is using old-style compatability shims
   wdc2 at port 0x1e8-0x1ef irq 11 flags 0xa0ffa0ff on isa0
   wdc2: unit 0 (wd4): <IBM-DTTA-350840>, multi-block-16
   wd4: 8063MB (16514064 sectors), 16383 cyls, 16 heads, 63 S/T, 512 B/S
   wdc2: driver is using old-style compatability shims

Is this a bug?  Or do I have a configuration error?

Thanks,

Randall

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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