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?
On Sunday, 22. May 2005 17:29, 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?The drives probably don't support any UDMA modes. WDMA modes aren't enabled for atapi devices because there's a very large number of devices which don't implement them right or not at all, yet claim to support them. You can enable whatever DMA modes those drives support with the atacontrol utility after the kernel has booted up. -- ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050522/61fb42ce/attachment.bin
>>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?> The drives probably don't support any UDMA modes. WDMA modes aren't enabled > for atapi devices because there's a very large number of devices which don't > implement them right or not at all, yet claim to support them.That was it. The drives only support WDMA modes. Thanks!
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