From owner-freebsd-current@FreeBSD.ORG Sat May 13 19:20:20 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 BAD3416A411 for ; Sat, 13 May 2006 19:20:20 +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 97D2143D5E for ; Sat, 13 May 2006 19:20:17 +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 k4DJK74s015631; Sat, 13 May 2006 22:20:07 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Sat, 13 May 2006 22:20:07 +0300 (EEST) From: Dmitry Pryanishnikov To: Marcin Jessa In-Reply-To: <20060513183648.7444b11b.lists@yazzy.org> Message-ID: <20060513221144.O16055@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> <20060513190519.P16055@atlantis.atlantis.dp.ua> <20060513183648.7444b11b.lists@yazzy.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: des@des.no, harikurniawan@gmail.com, 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 19:20:21 -0000 Hello! On Sat, 13 May 2006, Marcin Jessa wrote: >> 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 > > Does this mean I should set my laptop's drive mode to WDMA2 instead of > UDMA100 (HD) and UDMA33 (CDRW)? No, there is no point in using WDMA if your hardware works well in UDMA mode. UDMA is faster (at least twice) than WDMA2, and provides data CRC check = more reliable. But if device supports _only_ PIO and WDMA, it's better to use WDMA mode. > Marcin. Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE