From owner-freebsd-current@FreeBSD.ORG Sat May 13 16:27:59 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 D233B16A459 for ; Sat, 13 May 2006 16:27:59 +0000 (UTC) (envelope-from harikurniawan@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BDBE43D6E for ; Sat, 13 May 2006 16:27:45 +0000 (GMT) (envelope-from harikurniawan@gmail.com) Received: by nz-out-0102.google.com with SMTP id n29so601955nzf for ; Sat, 13 May 2006 09:27:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fi7Et09JwjTwSrimS3M8jK+MNVWia9WeNe2mUESR76++JzkNHhS4IqcVLek/U7eBE7P6UMje7PTj313kOIuOmEMNXqzRzVKODWaGnOwm1x9M0ZoVtT1zuYfUAkA8wmRWMcZPfSRFYj5/wiNLnKsZ6mJD3jTURdLyIfb2S/gJhvs= Received: by 10.64.114.10 with SMTP id m10mr637340qbc; Sat, 13 May 2006 09:27:44 -0700 (PDT) Received: by 10.64.201.12 with HTTP; Sat, 13 May 2006 09:27:44 -0700 (PDT) Message-ID: <4c40c4e70605130927p13c45284k59f151a6d1657566@mail.gmail.com> Date: Sat, 13 May 2006 16:27:44 +0000 From: "Angka H. K." To: "Dmitry Pryanishnikov" In-Reply-To: <20060513190519.P16055@atlantis.atlantis.dp.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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> 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:28:00 -0000 This is the result of this command : angka# atacontrol mode acd0 wmda2 current mode =3D PIO4 angka# atacontrol mode acd0 wmda2 current mode =3D PIO4 angka# On 5/13/06, Dmitry Pryanishnikov wrote: > > 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 slowe= r 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=3D1, 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 >