From owner-freebsd-current@FreeBSD.ORG Tue Sep 9 10:37:22 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1141816A4BF for ; Tue, 9 Sep 2003 10:37:22 -0700 (PDT) Received: from forthnet.gr (athmta01.forthnet.gr [193.92.150.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C7EE43FBD for ; Tue, 9 Sep 2003 10:37:19 -0700 (PDT) (envelope-from lefcha@hellug.gr) Received: from localhost.my.domain (ppp1-isdn-170.the.forthnet.gr [213.16.246.170]) by forthnet.gr (8.12.2/8.12.2) with ESMTP id h89HbGuP024298 for ; Tue, 9 Sep 2003 20:37:16 +0300 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.12.9/8.12.9) with ESMTP id h89HbHPA000632 for ; Tue, 9 Sep 2003 20:37:17 +0300 (EEST) (envelope-from lefcha@hellug.gr) Received: (from lefcha@localhost) by localhost.my.domain (8.12.9/8.12.9/Submit) id h89HbHeO000631 for freebsd-current@freebsd.org; Tue, 9 Sep 2003 20:37:17 +0300 (EEST) (envelope-from lefcha@hellug.gr) X-Authentication-Warning: localhost.my.domain: lefcha set sender to lefcha@hellug.gr using -f Date: Tue, 9 Sep 2003 20:37:17 +0300 From: Lefteris Chatzibarbas To: freebsd-current@freebsd.org Message-ID: <20030909173717.GA543@bsd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: ATAng: ata1-slave CDRW is only sometimes detected X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Sep 2003 17:37:22 -0000 Hello, I have the following units on a MSI KT4V (KT400/VT8235) motherboard (80pin cable is used for both primary and secondary controller): ata0-master: WDC WD800JB ATA-6 disk ata0-slave: ata1-master: TEAC DV-516E DVDROM drive ata1-slave: TEAC CD-W524E CDRW drive For about a week I have the aforementioned setup. I had the same setup before ATAng got committed, but with a different DVDROM drive, without problems. When ATAng got committed I had only the CDRW drive as ata1-master, also, without problems. Most of the time the CDRW drive is not detected and I get: atapci0: port 0xfc00-0xfc0f at device 17.1 on pci0 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0-slave: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: reset tp1 mask=03 ostat0=50 ostat1=50 ata1-master: stat=0x90 err=0x01 lsb=0x14 msb=0xeb ata1-slave: stat=0x90 err=0x7f lsb=0x7f msb=0x7f ata1-master: stat=0x10 err=0x01 lsb=0x14 msb=0xeb ata1: reset tp2 mask=03 stat0=10 stat1=7f devices=0x4 ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin ad0: setting UDMA100 on VIA 8235 chip ad0: ATA-6 disk at ata0-master ad0: 76319MB (156301488 sectors), 155061 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA100 ata1-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin acd0: setting PIO4 on VIA 8235 chip acd0: DVDROM drive at ata1 as master acd0: read 8250KB/s (8250KB/s), 256KB buffer, PIO4 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc Sometimes the CDRW drive is detected and I get: atapci0: port 0xfc00-0xfc0f at device 17.1 on pci0 ata0: reset tp1 mask=03 ostat0=50 ostat1=00 ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0-slave: stat=0x50 err=0x01 lsb=0x00 msb=0x00 ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: reset tp1 mask=03 ostat0=50 ostat1=50 ata1-master: stat=0x10 err=0x01 lsb=0x14 msb=0xeb ata1-slave: stat=0x10 err=0x01 lsb=0x14 msb=0xeb ata1: reset tp2 mask=03 stat0=10 stat1=00 devices=0xc ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] ata: ata0 already exists; skipping it ata: ata1 already exists; skipping it ata0-master: pio=0x0c wdma=0x22 udma=0x45 cable=80pin ad0: setting UDMA100 on VIA 8235 chip ad0: ATA-6 disk at ata0-master ad0: 76319MB (156301488 sectors), 155061 C, 16 H, 63 S, 512 B ad0: 16 secs/int, 1 depth queue, UDMA100 ata1-slave: pio=0x0c wdma=0x22 udma=0x42 cable=80pin ata1-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin acd0: setting PIO4 on VIA 8235 chip acd0: DVDROM drive at ata1 as master acd0: read 8250KB/s (8250KB/s), 256KB buffer, PIO4 acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet acd0: Writes: acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray, unlocked acd0: Medium: no/blank disc acd1: unknown transfer phase acd1: setting PIO4 on VIA 8235 chip acd1: CDRW drive at ata1 as slave acd1: read 6890KB/s (6890KB/s) write 4134KB/s (4134KB/s), 1404KB buffer, PIO4 acd1: Reads: CDR, CDRW, CDDA stream, packet acd1: Writes: CDR, CDRW, test write, burnproof acd1: Audio: play, 256 volume levels acd1: Mechanism: ejectable tray, unlocked acd1: Medium: no/blank disc The kernel used for the above messages, was built on Mon Sep 8 21:39:20 EEST 2003, and the complete verbose output of dmesg is available from: http://members.hellug.gr/lefcha/dmesg0.out http://members.hellug.gr/lefcha/dmesg1.out Thanks