Why is ATAPI DMA disabled by default ?

Brooks Davis brooks at one-eyed-alien.net
Wed Aug 13 16:00:27 PDT 2003


On Thu, Aug 14, 2003 at 01:45:45AM +0300, Alexander Serkov wrote:
> I use 5.1-current and have found that by default FreeBSD disables ATAPI's 
> support for DMA transfers and thus uses CPU hungry PIO modes.
> It even makes sysctl used to change this read-only.
> I had changed the default value of atapi_dma to 1 in dev/ata/atapi-all.c to 1 
> and it worked fine for me.
> Can someone explain why it is disabled?

Lots of drives, even fairly new ones be well know vendors, hang the
system during boot if ATAPI DMA is enabled because they lie about
supporting it.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20030813/cd503055/attachment.bin


More information about the freebsd-hackers mailing list