Re: DMA no active on HL-DT-STCD-RW/DVD

From: Dmitry Pryanishnikov <dmitry_at_atlantis.dp.ua>
Date: Sat, 13 May 2006 22:20:07 +0300 (EEST)
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_at_atlantis.dp.ua
nic-hdl: LYNX-RIPE
Received on Sat May 13 2006 - 17:20:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:55 UTC