hw.ata.atapi_dma in 5.4-RELEASE-p1

Holger Kipp hk at alogis.com
Sun May 22 11:09:23 PDT 2005


On Sun, May 22, 2005 at 08:29:58AM -0700, Janet Sullivan wrote:
> I am unable to get my DVD or CD drives out of PIO4 mode on two machines. 
>  One has an ICH3 controller, the other is Nforce2 based.
> 
> When I put hw.ata.atapi_dma="1" in /boot/loader.conf and reboot, I'm 
> still stuck in PIO4.  What am I doing wrong?

Have you tried something like

atacontrol mode 1 UDMA6 UDMA6

to change the mode to the highest values possible?

I have 
katrin# atacontrol info 1
Master: acd0 <HL-DT-ST DVDRAM GSA-4163B/A102> ATA/ATAPI revision 5
Slave:  acd1 <HL-DT-ST RW/DVD GCC-4120B/2.01> ATA/ATAPI revision 0
katrin# atacontrol info 0
Master:  ad0 <SAMSUNG SP1614N/TM100-30> ATA/ATAPI revision 7
Slave:   ad1 <SAMSUNG SP0802N/TK100-24> ATA/ATAPI revision 7

with

katrin# atacontrol mode 1
Master = UDMA33 
Slave  = PIO4

after boot and end up with 

katrin# atacontrol mode 1 UDMA6 UDMA6
Master = UDMA33 
Slave  = WDMA2

Usually I only use acd0, so I didn't care (real life runs
at a higher priority <g> right now).

Regards,
Holger


More information about the freebsd-stable mailing list