Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2003 13:32:02 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        The Anarcat <anarcat@anarcat.ath.cx>
Cc:        Don <don@calis.blacksun.org>, Craig Reyenga <creyenga@connectmail.carleton.ca>, freebsd-current@FreeBSD.ORG
Subject:   Re: Solved??? Re: playing mp3s and burning a cd
Message-ID:  <20030324133202.A17147@panzer.kdm.org>
In-Reply-To: <20030324194330.GA681@lenny.anarcat.ath.cx>; from anarcat@anarcat.ath.cx on Mon, Mar 24, 2003 at 02:43:30PM -0500
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <SONY DVD RW DRU-500A> 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: <SONY DVD RW DRU-500A 1.0c> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030324133202.A17147>