Date: Sun, 1 Apr 2001 19:02:00 -0400 (EDT) From: aa8vb@nc.rr.com To: FreeBSD-gnats-submit@freebsd.org Cc: aa8vb@nc.rr.com Subject: kern/26278: ata driver doesn't support tertiary IDE controller; wd does Message-ID: <200104012302.f31N20i08835@stealth.dummynet>
next in thread | raw e-mail | index | archive | help
>Number: 26278 >Category: kern >Synopsis: ata driver doesn't support tertiary IDE controller; wd does >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 01 16:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Randall Hopper >Release: FreeBSD 4.2-RELEASE i386 >Organization: self >Environment: Stock 4.2-RELEASE. Two IDE controllers on motherboard. One Tertiary IDE controller installed in bus slot with 8MB IDE hard drive attached. >Description: As the ata driver is the next generation, I tried it first. I could not get it to attach my tertiary IDE controller. Flipping back to the wd driver revealed that it supports it just as well as 3.4-RELEASE did. 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 you can see that the 3 hard drives and the IDE CD-ROM on the first two IDE controllers probe fine, but we're missing the tertiary IDE controller and the fourth hard drive. 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 the IDE 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 >How-To-Repeat: Install a tertiary IDE controller on port 0x1e8, and use the two sections of kernel configs above to confirm that it works with the wdc driver but no the ata driver. >Fix: Not known. Work-around: use the wdc driver for now. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104012302.f31N20i08835>