From owner-freebsd-current@FreeBSD.ORG Sat May 13 16:19:36 2006 Return-Path: X-Original-To: current@freebsd.org 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 85EC616A55D for ; Sat, 13 May 2006 16:19:36 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D1F943D69 for ; Sat, 13 May 2006 16:19:34 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k4DGJUhv074622; Sat, 13 May 2006 19:19:30 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Sat, 13 May 2006 19:19:30 +0300 (EEST) From: Dmitry Pryanishnikov To: "Angka H. K." In-Reply-To: <4c40c4e70605130835v46296d6akcc0bdd44bec49d08@mail.gmail.com> Message-ID: <20060513190519.P16055@atlantis.atlantis.dp.ua> References: <4c40c4e70605130152s52fb3188nd847a0b8b0d46972@mail.gmail.com> <861wuy8b84.fsf@xps.des.no> <4c40c4e70605130418y3208840ctb0b1c7b1f61b7a74@mail.gmail.com> <86wtcq6psi.fsf@xps.des.no> <4c40c4e70605130659q4c486a64u188177bd5eb804f5@mail.gmail.com> <86hd3u6lbc.fsf@xps.des.no> <4c40c4e70605130744o5d0fd566n6a219ade5924561d@mail.gmail.com> <86d5ei6k3x.fsf@xps.des.no> <4c40c4e70605130835v46296d6akcc0bdd44bec49d08@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , current@freebsd.org Subject: Re: DMA no active on HL-DT-STCD-RW/DVD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 13 May 2006 16:19:41 -0000 Hello! On Sat, 13 May 2006, Angka H. K. wrote: > By the way what is WDMA and why it saying PIO not WDMA ? WDMA corresponds to so-called "multiword DMA" transfer mode. It's slower than UDMA (IIRC WDMA2 gives 16Mbytes/s, same as PIO4), but still should be sufficient for CD/DVD drive (well, up to 8x-speed DVDs). Of course, it's better to use WDMA2 than PIO4 because WDMA (as well as UDMA) doesn't use CPU cycles for moving data between RAM and device. FreeBSD's ata driver is quite conservative, and doesn't automatically enable WDMA mode for ATAPI device even if hw.ata.atapi_dma=1, so you should just enable this mode with atacontrol. E.g., you can add /sbin/atacontrol mode acd0 wmda2 to your /etc/rc.local file. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE