I try to change atapi_dma to "1" but it doesn't work (It was "Re: ATI Radeon IGP 340M")

jason jason at ec.rr.com
Tue Oct 7 18:24:00 PDT 2003


Use hw.ata.atapi.dma="x"  for atapi devices(cdroms and dvdroms).  Drop 
that atapi for hard drives.  Here x = 0-6 at speeds of 16.7, 25, 33.3, 
44.4, 66.7, 100, 133.  Mode 6 only works on select drives, like mators, 
with a board that supports, like an nforce.  Most cdroms should not be 
more than a mode 2.  Thats for a 52x where 52x150kb/s=7800kb/s=7.6mb/s 
max transfer.  My liteon supports 33.3mb/s tranfers, and I use that mode 
but it is no real avantage over mode 0 or 1.  Dvds use 1250kb/s as their 
x value, so a 8x dvd would need 8x1250kb/s=10000kb/s=9.8mb/s.  So just 
cut and paste this in the loader.conf file.



Juan Rodriguez Hervella wrote:

>On Monday 06 October 2003 19:49, Mike Silbersack wrote:
>  
>
>>On Mon, 6 Oct 2003, Juan Rodriguez Hervella wrote:
>>    
>>
>>>Thank you very much.
>>>
>>>It's working. I've tried to play a DVD using "ogle", but
>>>it doesn't work very well, the movement isn't steady....I've got
>>>a friend with the same laptop using Linux and he tells me it works
>>>nice.....so I guess it's a FreeBSD performance problem....*sigh*
>>>
>>>Thank you anyway.
>>>
>>>--
>>>JFRH
>>>      
>>>
>>FreeBSD doesn't enable DMA access to CD/DVD drives by default, that may be
>>part of the problem; try enabling atapi_dma (see the ata manpage), that
>>might help.
>>
>>Mike "Silby" Silbersack
>>    
>>
>
>I've tried both atapi_dma="1" in "loader.conf" and "atacontrol mode 1 udma100 
>XXX" but when I attempt to access the device, it hangs up.
>
>I copy a "dmesg" if this can help. Look at the end there are some error 
>messages related to ATA....
>  
>




More information about the freebsd-questions mailing list