From owner-freebsd-current Mon Mar 24 12:32:48 2003 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 AEA0A37B404 for ; Mon, 24 Mar 2003 12:32:45 -0800 (PST) Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 423E943F3F for ; Mon, 24 Mar 2003 12:32:44 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: from panzer.kdm.org (localhost [127.0.0.1]) by panzer.kdm.org (8.12.6/8.12.5) with ESMTP id h2OKW38U017181; Mon, 24 Mar 2003 13:32:03 -0700 (MST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.12.6/8.12.5/Submit) id h2OKW3f5017180; Mon, 24 Mar 2003 13:32:03 -0700 (MST) (envelope-from ken) Date: Mon, 24 Mar 2003 13:32:02 -0700 From: "Kenneth D. Merry" To: The Anarcat Cc: Don , Craig Reyenga , freebsd-current@FreeBSD.ORG Subject: Re: Solved??? Re: playing mp3s and burning a cd Message-ID: <20030324133202.A17147@panzer.kdm.org> References: <20030324173510.GA831@lenny.anarcat.ath.cx> <000b01c2f235$896d10d0$0200000a@fireball> <20030324190153.GE831@lenny.anarcat.ath.cx> <20030324141312.M76018@calis.blacksun.org> <20030324194330.GA681@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030324194330.GA681@lenny.anarcat.ath.cx>; from anarcat@anarcat.ath.cx on Mon, Mar 24, 2003 at 02:43:30PM -0500 X-Spam-Status: No, hits=-32.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Mar 24, 2003 at 14:43:30 -0500, The Anarcat wrote: > On Mon Mar 24, 2003 at 02:14:48PM -0500, Don wrote: > > > Should a PR be filed or some QA team contacted to make sure this > > > problem doesn't stay alive in 5.2? :) > > This isn't, by chance, a problem with your setting for the > > sysctl "hw.ata.atapi_dma" is it? > > How extraordinarly cute! This solves it! I'm currently listening to > Me, Mom and Morgentaler and burning a 4x CD without any slowdown, this > is great. > > So I guess a "workaround" is to toggle DMA for my ATAPI bus. Indeed, > the burner is IDE and should be working on DMA mode to get optimal > performance. > > The thing is that atapicam hides the DMA/PIO magic from the usual boot > messagesand there's therefore no way to see wether the device is in > DMA mode unless you compile in both cd0 and acd0 which I heard isn't > recommended... You can do that without problems, just don't use them at the same time, since they're both using the same underlying hardware. You can tell what speed the drive is running by either looking at the transfer rate the cd(4) drive reports, or looking at the dmesg information for the acd driver. e.g.: acd0: DVD-R at ata0-master UDMA33 The UDMA33 tag at the end means that it's running at 33MB/sec, which is what the cd(4) driver confirms: cd1 at ata0 bus 0 target 0 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: cd present [306511 x 2048 byte records] > PS: what's the proper way to enable ATAPI DMA in the loader.conf file? > I don't see any flag WRT that there.. I'm tempted to add: > > set hw.ata.atapi_cam=1 Someone else pointed out that it is atapi_dma. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message