Re: IDE Hard disk reverts from DMA to PIO

From: Carey Frisch [MVP] (cnfrisch_at_nospamgmail.com)
Date: 02/16/05


Date: Tue, 15 Feb 2005 18:48:30 -0600

Why is my drive using PIO mode instead of DMA in Windows XP?

Problem:
The drive controller is set to use "DMA if available" but reports to be only in PIO mode. User cannot turn on DMA for ATA device. The only option for the user who wants to enable DMA mode is to uninstall and reinstall the affected channel, "Primary IDE Channel" or "Secondary IDE Channel". Reboot the system and Windows XP will reinstall the driver for the channel.

Cause:
Windows XP will turn off DMA mode for a device after encountering certain errors during data transfer operations. If more that six DMA transfer timeouts occur, Windows will turn off DMA and use only PIO mode on that device.

Windows XP downgrades the Ultra DMA transfer mode after receiving more than six CRC errors. Whenever possible, the operating system will step down one UDMA mode at a time (from UDMA mode 4 to UDMA mode 3, and so on).

All CRC and timeout errors are logged in the system event log. These types of errors could be caused by improper mounting or improper cabling (for example, 40-pin instead of 80-pin cable). Or such errors could indicate imminent hardware failure, for example, in a hard drive or chipset.

*Referenced from Microsoft - http://www.microsoft.com/hwdev/tech/storage/IDE-DMA.asp

Solution:
  1.. Ensure you are using an 80-pin UDMA cable that does not exceed 18 inches in length.
  2.. Windows XP Service Pack 1.
  3.. Uninstall and reinstall the affected channel, "Primary IDE Channel" or "Secondary IDE Channel". Reboot the system and Windows XP will reinstall the driver for the channel.

    1.. Open Device Manager.
    2.. Double-click on IDE ATA/ATAPI controllers
    3.. Right-click on Primary IDE Channel or Secondary IDE Channel and select uninstall.
    4.. Click on "Ok".
    5.. Restart the system.
    6.. Upon restart, Windows will reinstall the Primary or Secondary IDE channel.
Note: It is recommended to obtain the latest drivers for the hard drive controller on the motherboard or controller add-in card from the manufacturer.

Download PowerMax
http://www.maxtor.com/portal/site/maxtor/menuitem.3c67e325e0a6b1f6294198b091346068/?channelpath=/en_us/Support/Software%20Downloads/ATA%20Hard%20Drives&downloadID=22

-- 
Carey Frisch
Microsoft MVP
Windows XP - Shell/User
Microsoft Newsgroups
Be Smart! Protect Your PC!
http://www.microsoft.com/athome/security/protect/default.mspx 
------------------------------------------------------------------------------
"G. Michael Askew" wrote:
My mum's PC has an Aopen AX34 mobo and I installed WinXP Home SP2 on her  
new Maxtor 6Y080L0 80GB IDE HDD. It seemed to be running really slow, and  
I discovered this was due to the hard disk running in PIO mode (not DMA).  
I've read up on this and tried everything suggested (swapped 80-wire IDE  
cables, uninstalled IDE controller, set DMA failure counter to reset after  
success) and still it won't come out of PIO.
The 2nd IDE channel (connected to CDRW and DVD-ROM) works fine in DMA mode.
I've tried upgrading the BIOS, but no change.
I ran several hard disk testing programs (from Ultimate Boot CD) and it  
comes up as healthy, but I'm wondering if I have a faulty IDE controller.
System Event logs in XP show six "atapi" code 9 errors: "The device,  
\Device\Ide\IdePort0, did not respond within the timeout period." followed  
by "atapi" code 11 error: "The driver detected a controller error on  
\Device\Ide\IdePort0."
Anyone got any ideas what I can do?
I just had an idea of running the HDD from the second IDE channel, and the  
optical drives from the first. Just in case the primary IDE controller is  
faulty. Would WinXP work with this config?
Michael


Relevant Pages

  • Re: SEAGATE forced PIO instead of UDMA mode
    ... primary master device. ... still the same results under Windows. ... way until you fix the reason its decided to turn DMA off. ... fresh on the new seagate but still its PIO mode. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Direct Memory Access
    ... windows wizard will report that new hardware found ... "MyDVD has detected that DMA is turned off for one or more of the ... IDE Channel is fine - it uses "DMA if available". ...
    (microsoft.public.windowsxp.video)
  • Re: Nero 5.5 CD burning problem with XP SP2- record buffer fluctuates wildly
    ... IDE0 back on Sept 8 so XP probably disabled DMA on my hard drive then. ... > that my CD burner is DMA and should not be running in PIO mode. ... Rock [MVP Windows Shell/User] ...
    (microsoft.public.windowsxp.general)
  • Re: SEAGATE forced PIO instead of UDMA mode
    ... way until you fix the reason its decided to turn DMA off. ... I tried uninstalling the windows drivers and reinstalling them but nothing changed. ... seagate but still its PIO mode. ... Switching between slave, ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: DVD writer drive and 48x CD rom drive settings?
    ... DMA should be ON for both units. ... Go into device manager and uninstall the ide channel that the optical drives ... Microsoft MVP Windows Shell/User ...
    (microsoft.public.windowsxp.hardware)

Loading