From owner-freebsd-current Mon Mar 24 11:52:12 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 95E7037B401 for ; Mon, 24 Mar 2003 11:52:09 -0800 (PST) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE0B343F75 for ; Mon, 24 Mar 2003 11:52:08 -0800 (PST) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP id MUA74016; Mon, 24 Mar 2003 11:52:07 -0800 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 136F65D07; Mon, 24 Mar 2003 11:52:07 -0800 (PST) To: The Anarcat Cc: Don , Craig Reyenga , freebsd-current@freebsd.org Subject: Re: Solved??? Re: playing mp3s and burning a cd In-reply-to: Your message of "Mon, 24 Mar 2003 14:43:30 EST." <20030324194330.GA681@lenny.anarcat.ath.cx> Date: Mon, 24 Mar 2003 11:52:07 -0800 From: "Kevin Oberman" Message-Id: <20030324195207.136F65D07@ptavv.es.net> X-Spam-Status: No, hits=-6.5 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT 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 > Date: Mon, 24 Mar 2003 14:43:30 -0500 > From: The Anarcat > Sender: owner-freebsd-current@FreeBSD.ORG > > > --3V7upXqbjpZ4EhLz > Content-Type: text/plain; charset=iso-8859-1 > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > 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... > > A. > > 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=3D1 > > anywhere there... Close. Add: hw.ata.atapi_dma="1" # Run the CD-ROM/DVD in DMA mode to /boot/loader.conf. This should be in almost EVERY /boot/loader.conf. The default is 0 (PIO) because DMA is broken on at least a few early CD readers, but it is very rare to have it fail. (I've never seen it.) R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message