From owner-freebsd-current@FreeBSD.ORG Wed Sep 10 15:04:03 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 AF03B16A4BF for ; Wed, 10 Sep 2003 15:04:03 -0700 (PDT) Received: from forthnet.gr (athmta05.forthnet.gr [193.92.150.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B47943FCB for ; Wed, 10 Sep 2003 15:04:01 -0700 (PDT) (envelope-from lefcha@hellug.gr) Received: from localhost.my.domain (ppp2-isdn-86.the.forthnet.gr [213.16.247.86]) by forthnet.gr (8.12.2/8.12.2) with ESMTP id h8AM3w2e010336 for ; Thu, 11 Sep 2003 01:03:58 +0300 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.12.9/8.12.9) with ESMTP id h8AM3wVc000604 for ; Thu, 11 Sep 2003 01:03:58 +0300 (EEST) (envelope-from lefcha@hellug.gr) Received: (from lefcha@localhost) by localhost.my.domain (8.12.9/8.12.9/Submit) id h8AM3wPk000603 for freebsd-current@freebsd.org; Thu, 11 Sep 2003 01:03:58 +0300 (EEST) (envelope-from lefcha@hellug.gr) X-Authentication-Warning: localhost.my.domain: lefcha set sender to lefcha@hellug.gr using -f Date: Thu, 11 Sep 2003 01:03:57 +0300 From: Lefteris Chatzibarbas To: freebsd-current@freebsd.org Message-ID: <20030910220357.GA540@bsd> References: <20030909173717.GA543@bsd> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030909173717.GA543@bsd> User-Agent: Mutt/1.4.1i Subject: Re: ATAng: ata1-slave CDRW is only sometimes detected - RESOLVED 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: Wed, 10 Sep 2003 22:04:03 -0000 On Tue, Sep 09, 2003 at 08:37:17PM +0300, Lefteris Chatzibarbas wrote: > [...] > > Most of the time the CDRW drive is not detected and I get: > > [...] After today's commit to src/sys/dev/ata/ata-lowlevel.c (1.11 2003/09/10 09:57:16 sos), the ata1-slave CDRW is always detected correctly: 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=0x00 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=0x7f err=0x7f lsb=0x7f msb=0x7f ata1-master: stat=0x10 err=0x01 lsb=0x14 msb=0xeb ata1-slave: stat=0x00 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] 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