From owner-freebsd-questions Thu Feb 14 15:54:10 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by hub.freebsd.org (Postfix) with ESMTP id 77D6F37B402 for ; Thu, 14 Feb 2002 15:54:07 -0800 (PST) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id PAA22198; Thu, 14 Feb 2002 15:53:47 -0800 Message-ID: <3C6C4E0A.2060003@owt.com> Date: Thu, 14 Feb 2002 15:53:46 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 To: Cliff Sarginson Cc: vanya , freebsd-questions@FreeBSD.ORG Subject: Re: DMA on ATAPI CD's [ Was Re: About printers ] References: <000801be3bd9$b17799e0$942a2cc2@og> <20020214214657.GB347@raggedclown.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Cliff Sarginson wrote: > On Sat, Jan 09, 1999 at 05:09:35PM +0300, vanya wrote: > > (Best to keep unrelated questions in seperate posts). > > >>And one question about DMA for EIDE disks and ATAPI CD. Is DMA automatically >>enabled or user must turn on this option? >> > > I believe DMA is not enabled on ATAPI CD devices, I believe it is > considered a source of possible instability in certain cases (I know > of no proof for this..) .. you can forceably re-enable it by an entry > in sysctl.conf. I have 2 IDE i/faces, with a hard drive and a CD/DVD > on one slave and a CD R/W on another. My line looks as follows: > > hw.atamodes=dma,dma,dma,dma > > You will need to adjust this according to your actual IDE setup, > (i.e. how your ide's are actually configured)... > > "man 8 sysctl.conf" may help. They have add some additional ways of dealing wiht UDMA. For example, my system with a UDMA dvd player shows up with opal:kent> sysctl -a | grep ata kern.ipc.max_datalen: 156 hw.ata.ata_dma: 1 hw.ata.wc: 1 hw.ata.tags: 0 hw.ata.atapi_dma: 1 hw.atamodes: dma,dma,dma,dma, It is the master on the secondary controller. The atapi setting was set in the /boot/loader.conf as loader.conf:hw.ata.atapi_dma="1" It shows up in my dmesg as acd0: DVD-ROM at ata1-master using UDMA66 Kent -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message