Date: Mon, 18 Nov 2002 18:57:46 +0100 (CET) From: Stefan Esser <se@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/45413: tagged/non-tagged IDE drives as MASTER/SLAVE fails on first write to SLAVE Message-ID: <20021118175746.1B8F51620@StefanEsser.FreeBSD.org>
next in thread | raw e-mail | index | archive | help
>Number: 45413 >Category: kern >Synopsis: tagged/non-tagged IDE drives as MASTER/SLAVE fails on first write to SLAVE >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Nov 18 10:00:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: Stefan Esser >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD StefanEsser 5.0-CURRENT FreeBSD 5.0-CURRENT #4: Mon Nov 18 18:20:40 CET 2002 se@FreeBSD.org:/usr/src/sys/i386/compile/ISDN686 i386 atapci0: <VIA 8235 ATA133 controller> port 0x9000-0x900f at device 17.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x9000 ata0: mask=03 ostat0=50 ostat2=50 ata0-master: ATAPI 00 00 ata0-slave: ATAPI 00 00 ata0: mask=03 stat0=50 stat1=50 ata0-master: ATA 01 a5 ata0-slave: ATA 01 a5 ata0: devices=03 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x9008 ata1: mask=03 ostat0=50 ostat2=50 ata1-master: ATAPI 14 eb ata1-slave: ATAPI 14 eb ata1: mask=03 stat0=00 stat1=00 ata1: devices=0c ata1: at 0x170 irq 15 on atapci0 ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it ad0: <IBM-DTLA-307045/TX6OA60A> ATA-5 disk at ata0-master ad1: <Maxtor 90845D4/GAS54112> ATA-4 disk at ata0-slave ata1-master: piomode=4 dmamode=2 udmamode=3 dmaflag=1 ata1-master: DMA limited to UDMA33, non-ATA66 cable or device ata1-master: success setting UDMA2 on VIA chip acd0: <JLMS DVD-ROM LTD-166S/DS08> DVD-ROM drive at ata1 as master acd0: Medium: CD-ROM 120mm data disc ata1-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1 ata1-slave: success setting UDMA2 on VIA chip acd1: <LITE-ON LTR-52246S/6S02> CD-RW drive at ata1 as slave >Description: Mixing an 45GB IBM DTLA (UDMA100) as master and an old 8GB Maxtor (UDMA33) as slave makes the Maxtor fail, if tags are enabled on the IBM. The driver falls back to PIO mode for the Maxtor, which becomes usable in that mode. Disabling tags on the IBM makes the Maxtor co-exist with the IBM, which seems to indicate a driver problem. (E.g. tagged commands sent to the IBM leaves state in the controller or driver that is unsuitable for the Maxtor.) >How-To-Repeat: Configure an IDE bus with tagged master, non-tagged slave and enable IDE tagged command queuing via "hw.ata.tags=1" in /boot/loader.conf. First write to the slave causes a hang until the retries are exhausted. Same setup works fine if "hw.ata.tags=0". >Fix: Unknown. Maybe disabling tags for all drives on an IDE cable should be attempted as recovery procedure before falling back to PIO. >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?20021118175746.1B8F51620>