0% found this document useful (0 votes)
1K views12 pages

Dma 2 Pio Mode Problem

Uploaded by

easyyu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views12 pages

Dma 2 Pio Mode Problem

Uploaded by

easyyu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

Skip 

to Main Content
  Search   

  Windows Problem Solver


Community site – open information exchange  

Start Recent posts Blogs Chat Forums Site map


Home :: Forums – main content :: Hardware, drivers 

Navigation DMA reverts to PIO User login


Wed, 2007­07­11 08:30 — admin  
Recent posts   Username: *
Blogs  l German version: Das stotternde DVD­Laufwerk oder die gelähmte Festplatte  
 
Chat  l Results (user vote statistics) 
Forums – main content   l Discussion  Password: *
News ticker   
Polls  The stuttering DVD drive or the lame hard disk
Site map  Log in  
Create content  Quick solution
Create new account 
Search  If you're not interested in the details, but just want to fix this problem as quickly as possible:
Request new password
Pages  1. Click here. 
2. Despite any warnings click on the [Open] or [Execute] buttons as required to execute the file 
resetdma.vbs. (If you fear that this web site could be malevolent, you can use the manual  Donations
method instead, which is described below. Or you could download, save, and inspect the 
If this web site has helped you, 
program with an editor like the Windows Notepad. It is a script text file.) 
please help us too!
3. If the program found any ATA channel to reset, reboot your computer and test all drives. 
Currency: US$     
4. If the problem is still not solved, set the offending channel to PIO manually, reboot your 
computer, set the channel back to DMA, and reboot again.  Amount: 5
Popular content 5. Please report your results here. Thanks! 
Add a message, if you like.
Earlier user reports from 2007­04­04 to 2007­07­21 indicated that the program resetdma.vbs has:
Today's:
Windows XP Service Pack  l Displayed: "No resettable DMA channels ... found" 29 times 
2/3 Problem Solver l Displayed: "ATA channels have been reset" and enabled DMA after a reboot 48 times 
 
DMA reverts to PIO l Displayed: "ATA channels have been reset", but did not enable DMA 10 times 
Cannot delete file or folder
Please note that this works only with the Windows drivers. If your device had  its own manufacturer's 
Systray icons missing drivers installed, this program cannot fix the problem and will not do anything to them. Instead it will 
Not enough server storage report that no resettable DMA channels were found.
DMA fällt zurück auf PIO Note also that many CD and DVD drives only use UDMA­2, because their data rate is much lower 
Wake On LAN than that of a hard disk. This is normal and no reason to worry.
ForFiles ­ delete old files, etc.  If you are interested in the details, read on. The program tries to reenable DMA in the registry exactly 
as described below, for all suitable ATA channels. Windows then redetects the DMA status after the 
next reboot. Recent blog posts
Active forum topics
Google's Chrome Browser 
Removing old group policy  General description Contains Microsoft Code 
information  This article also applies to Windows 2000. (Peter Frank reported successful application on Windows 
2000 with Service Pack 4.) Chrome ­ a new web browser 
Systray icons missing 
from Google 
DMA is an abbreviation for Direct Memory Access, an access method for external devices where the 
Not enough server storage 
data transfer is not done by the central processor, but by a small special processor called DMA  OLPC Origin: … the XO 
Generic Host Process for  controller. It uses a procedure called cycle stealing, where the central processor memory access  Laptop 
Win32 Services error  cycles are delayed for very short times to intersperse DMA controller memory access cycles. Some 
newer, faster DMA modes are called UDMA (Ultra DMA). Linux Xubuntu and Kubuntu 
Unable to connect to internet  impressions 
The alternative, slow and inefficient data transfer mode is called PIO, Programmed Input­Output, where 
using my xp through another 
the central processor transfers data byte for byte or word for word. This requires many processor  Windows Vista 
xp machine. 
commands for each data word and therefore causes a high and unwanted processor load. security 'rendered useless' by 
Clearing run history  researchers 

DMA reverts to PIO 
Possible causes for falling back to PIO mode New search engine "Cuil" 
The most frequent use why a CD or DVD port falls back to PIO mode is a scratched  or otherwise  from 3 former senior Google 
Email sender authentication  unreadable CD or DVD. employees 
with SPF or Domainkeys 
However, there are a few reasons why a computer may use PIO instead of DMA, particularly when it's  CherryPal PC offers 
tsstcorp cd/dvdw ts­l532m  the hard disk port that falls back, not a CD/DVD drive port. For example, David Duberman reported in  subscription­free cloud 
will not burn correctly dl in  2005 that some Dell computers have DMA disabled in their BIOS by default for the second hard disk.  computing 
windows as well as no fault  So it is a good idea to check the BIOS settings first.
mode  Build an XP SP3 Recovery 
2007­05­13 – Jason Paquette confirmed that the BIOS setting in his Dell computer was wrong too and  Disc 
IWindd   prevented DMA mode. Correcting the BIOS setting immediately enabled the DMA mode.
A not so rare hardware problem is a bad or too long IDE data cable. You need 80­way cables, not the  May 1, 1964: First Basic 
more  Program Runs 
older ones with only 40 wires. With poor cables the device may work, but Windows will probably step 
down to lower DMA speeds or even to PIO. Microsoft device helps police ­
Recent comments A further cause may be waking from standby mode, if one of the involved components does not  Seattle Times 
perform this process correctly.
Thanks for the solution  more 
41 min 8 sec ago 2007­02­20 – Stefan Welte wrote that on an Elitegroupsystems K7S5A computer all IDE hard disks 
Redirect problem solved ran in PIO mode, because automatic device recognition was disabled in the BIOS. (The computer 
2 hours 11 min ago booted from a SCSI disk.) Enabling device recognition solved the problem without any further  Windows news ticker
measures.
Thanks for the quick response Acer Aspire One WiMAX 
2 hours 33 min ago Occasionally a chip set or controller driver is buggy, so check with the manufacturer for updates. netbook coming in 2009 ­ 
Magic bullet 2007­03­01 – Francois Eraud reports one such case in a Sony laptop, regarding an ALI M5229 chip  SlashGear 
14 hours 53 min ago set controller, solved with driver version 4.008. Linux in The Economic 
Group or local policies? Meltdown ­ Datamation  
2008­03­30 – Arran located the elusive drivers for this ALI M5229 controller chip. Please read his 
15 hours 3 min ago comment below. London Ambulance Service to 
I didn't make it through the check compatibility issues 
Other reasons can show up in the event log, so check this first and see if you can find repeated Atapi  when ... ­ 
1 day 5 hours ago
errors recorded. If so, you likely have a hardware defect. You can use the procedures described on  PublicTechnology.net 
Not related to systray icons,  this page, but your computer will probably fall back to PIO mode again and again, until you solve the 
duplication Downturn Forces Cutbacks 
underlying problem, which may be located inside the device, on the motherboard, or in the IDE data 
1 day 11 hours ago Big and Small ­ Wall Street 
cable and its connectors.
Another fix Journal 
A dramatic example was reported on 2006­12­29 by David Hähningen: EMC's Mozy Launches 
1 day 21 hours ago
Two excellent hints Online Backup For Business 
If you (half asleep in the dark and with considerable force) try to put the ATA plug on the hard 
2 days 13 hours ago Macs ­ InformationWeek  
disk the wrong way around, the gap called "KEYPIN" (pin 20 on the plug) pushes pin 21 of the 
My Results hard disk socket and bends it aside. (This pin is responsible for DMA requests of the hard  Panelists Praise Vista 
2 days 20 hours ago disk.) Performance, Despite the 
'Pain' ­ Redmond 
As the disk can no longer reach the host with its requests, there is a communications  Channel Partner 
problem, and Windows XP switches into PIO mode. A blessing in disguise: You can still save 
Just the net, please ­ 
the data, though slower than usual. ;)
guardian.co.uk 
Few will succeed in repairing the disk. Just pulling the pin straight may not quite cut it, as the  Managing Windows networks 
connection to the printed circuit board is probably broken. using scripts, Part 11: 
Remote scripting ... ­ 
2007­02­07 – Carl Kaufmann wrote that he looked for a solution for a computer with an Intel chip set 
SearchNetworking.com 
and found the Intel(R) Application Accelerator. As instructed, he first installed the Intel Chip Set 
Installation Utility, which already solved the problem (as observed in Task Manager). He went on  IPhone 3G Feather Case 
anyway to install the accelerator. After that there was no longer any DMA/PIO choice in the controller  Measures Less Than 1mm ­ 
options, but everything now works right automatically. PC World 
Webcam Resurrection: 
2007­05­15 – John Schumacher confirms: 
Silverlight Dissatisfaction ­ 
I thought I was having this problem, but that isn't the case. My BIOS listed Ultra DMA as being  EDN.com 
disabled on all my drives. I looked for the Advanced Settings tabs for the IDE channels in  more
Device Manager, but the tabs were no longer there. I ran Nero InfoTool, which confusingly 
listed DMA on for primary and secondary masters, but off for primary and secondary slaves. 
After doing some more searching, I found out that the Intel Application Accelerator I recently  Who's new
installed is the culprit. Running Intel Application Accelerator confirmed that everything was OK.
retinamaven 
The Intel Application Accelerator can also have a quite adverse effect when it is run on an unsuitable 
fkoch1
processor. If in doubt, uninstall it and retest. (See this comment, "Intel Application Accelerator", by 
dkneyle = Ausie Davo.) ClearAsMud
nwagner
The trap
Windows contains a trap in which quite a few computers seem to get caught sooner or later. The trap  dslater
was described in a Web article whose link no longer works (and also in another one mentioned below):
The crucial paragraphs are:
Who's online
PIO mode is enabled by default in the following situations:  There are currently 1 user and 24 
...  guests online.
For repeated DMA errors. 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,  Online users
Windows will turn off DMA and use only PIO mode on that device.  admin
In this case, the user cannot turn on DMA for this device. The only option for the user who 
wants to enable DMA mode is to uninstall and reinstall the device. 
hits since 2007 ­11­01
Windows XP downgrades the Ultra DMA transfer mode after receiving more than six CRC  Free PHP scripts by PHPJunkYard.com
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). 
... 

Of course, drive firmware being quite complex and certainly containing programming defects of its 
own, it is not all that difficult to produce such errors. In my case a scratched DVD and later also an 
unreadable (overburned) CD did the trick, got the drive to choke and Windows to disable DMA for 
good. Later my hard disk hiccupped just once and also went back to PIO for good.
I had been using my laptop for DVD viewing for years, until I inserted a borrowed and heavily scratched 
DVD. The player and apparently even the DVD drive choked on it, and when I finally got the DVD to 
play, I found that playing was jerky and processor load was 100%, roughly half of which was system 
overhead.
This indicated that the drive had reverted from the usual UDMA (Ultra Direct Memory Access) mode 2 
to PIO (Programmed Input Output) mode. No amount of resetting or changing the relevant registry 
parameters from 1 (try DMA) to 2 (force DMA) helped. Stubbornly the drive kept using PIO mode, and 
Windows even changed these settings back to 0 (use PIO only).
The following text will refer to the secondary IDE port because that is more often affected, but 
essentially the same also holds for the primary IDE port,  to which the main hard disk is connected in 
most computers.
Before you begin to work on the problem, log on as Administrator or as a user with administrator 
rights.

Check Your IDE Port Mode
First check what mode your secondary IDE port is currently working in. Go to Device Manager: right­
click on My Computer, select Properties, click on the Hardware  tag, click on the Device Manager 
button, click on the plus sign to the left of IDE ATA/ATAPI Controller, double­click on the secondary 
IDE channel, click on Extended Settings and check whether it is set to DMA when available. Directly 
underneath that setting is a grey field that shows the actual working mode of your IDE channel. You 
want the highest possible DMA or Ultra DMA mode there, and you definitely don't want PIO mode.
If the Extended Settings tab is not there, perhaps another driver is used, probably from the 
manufacturer of the IDE ATAPI controller. You can still perform a simple test. In the Task Manager 
activate the option View, Show kernel times. Then put a high load on the device, for example by 
copying a large file, and check whether the kernel times are minimal (red line). If you observe 
considerable kernel times, roughly around half of the total load, then the device is running in PIO 
mode, which is bad. The whole purpose of the DMA mode is to relieve the processor (in kernel mode) 
of this load.
Assuming the Microsoft IDE ATAPI driver, normally you don't have to use the registry editor, because 
the normal settings are also available through the properties dialog for the IDE port, but  if you want to 
look at it anyway, the parameter for the secondary IDE port can be found through regedit.exe at

HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 1

It is named Scsi only for historic reasons. Scsi Port 0 is the primary IDE port, to which presumably 
your hard disk is connected.
After trying various remedies—in vain—I found the abovementioned article and went to work again. I 
uninstalled the DVD drive in Device Manager and rebooted, but that did not help either.
So I searched for more and better information, then I went on and did the following.

Re­enable DMA using the Registry Editor
This chapter describes the manual way to do what the quick solution at the top of this page does 
automatically through a script program. If you're not interested in the details, you can back up to the 
chapter "Quick solution" above and run the script.
My thanks go to my fellow MVP Alexander Grigoriev who taught me this method.
Run REGEDIT. Go to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E96A­E325­11CE­
BFC1­08002BE10318}

It has subkeys like 0000, 0001, 0002, etc. Normally 0001 is the primary IDE channel, 0002 the 
secondary, but other numbers can occur under certain circumstances. You have to go through these 
subkeys and check the DriverDesc value until you find the proper IDE channel.
Delete MasterIdDataChecksum or SlaveIdDataChecksum, depending on whether the device in 
question is attached as master or slave, but it can't actually hurt to delete both. Reboot. The drive 
DMA capabilities will be redetected.
Note that many CD and DVD drives only use UDMA­2, because their data rate is much lower than 
that of a hard disk. This is normal and no reason to worry.
2006­01­19 – Horst Schülke wrote that it is sufficient to empty the content of these values. But you 
can also delete the values entirely. Windows will automatically recreate them anyway, with new 
content.
Open Device Manager again and check whether the device is now actually using  DMA mode. If so, 
congratulations, you've made it (at least until the next time  Windows disables DMA). If not, you may 
have to change the IDE channel setting from PIO back to the highest available DMA mode and reboot 
again.
Many thanks to Tomáš Souček, Peter Götz, Alex Vaillant, and Cory Culbertson for piecing together 
the following information:

There are three keys that work together:
MasterDeviceTimingMode 
MasterDeviceTimingModeAllowed 
UserMasterDeviceTimingModeAllowed
Each bit in these values means a transfer mode that the device may or may  not be capable of. 
Somewhere at MS some of these bits can be looked up.
MasterDeviceTimingMode:
This is the actual mode the device is running at.
MasterDeviceTimingModeAllowed:
This entry may be the problem child. Peter wrote: "Normally not present in XP, it is created as 
a reaction to errors. This entry has absolute priority." However, there are doubts whether this 
is the absolute truth. It is still not entirely clear where this entry comes from. Erasing it or 
setting it to a DWORD value of 0xFFFFFFFF, rebooting, re­enabling DMA mode, and 
rebooting again seems to have solved the problem in some cases.
UserMasterDeviceTimingModeAllowed:
This entry contains the user's setting, manually entered in the advanced  device properties. 
Has the same structure as MasterDeviceTimingMode. This entry appears when the user sets 
a limited mode manually, such as PIO only.
Another key that seems to create the problem is MasterIdDataChecksum.
All these parameters also exist for the slave drive as SlaveDeviceTimingMode, etc.

More information is needed. If you know anything, please click on Add new comment at the end of this 
article and write it down.

Alternative Method—Uninstalling the Port 
1. Uninstall the secondary IDE port
To do that, open Device Manager as follows. Right­click on My Computer, select Properties, click on 
the Hardware tag, click on the Device Manager button, click on the plus sign to the left of IDE 
ATA/ATAPI Controller, right­click on Secondary IDE Channel, click on Uninstall. Deactivating is not 
enough.
Reboot to make the changes active and permanent.
After booting Windows will automatically reinstall the IDE channel and the DVD (or CD) drive. This 
Plug­n­Play process can take a little while, so give it a minute after the boot process finishes.

2. Check or reactivate DMA
But this may not always be not enough, because unfortunately Windows does not always 
automatically activate DMA on a DVD or CD drive. You have to check and, if necessary, tell Windows 
to try to use DMA first. It is possible that Windows XP with Service Pack 2 re­enables DMA 
automatically on reboot, but I have not tested this yet.
To re­enable DMA, go to Device Manager again. Right­click on My Computer, select Properties, click 
on the Hardware tag, click on the Device Manager button, click on the plus sign to the left of IDE 
ATA/ATAPI Controller, double­click on the secondary IDE channel, click on Extended Settings and 
change the relevant setting from PIO only to DMA when available.
On Windows NT and 2000 you now have to reboot a second time, but Windows XP applies the 
change instantly. Then you can go to the same place in Device Manager again and check whether the 
device is now actually using DMA mode. If so, all is well.
Note that many CD and DVD drives only use UDMA­2, because their data rate is much lower than 
that of a hard disk. This is normal and no reason to worry.

3. Driver is not intended for this platform
If you keep getting the following error message, please read on:

There is a problem installing this hardware.

IDE channel

An error occurred during the installation of the device. Driver is not intended for this platform.

2005­03­30 – Johannes B. wrote: The reason for this error is often that Daemon Tools or Alcohol 120% 
are installed. In this case the solution described below would not work. But when you uninstall these 
programs and then restart Windows, it will then install the device drivers without any further problems.
If these programs are not installed, then one possible way out is to rename  C:\WINDOWS\system32
\drivers\atapi.sys (or a similar path on your computer) to something like atapi.old.
If that's not possible, you can try it from the repair console (boot from the  Windows install CD and 
select the repair console).
If Windows always automatically recreates atapi.sys, you can try renaming it in safe mode or from a 
command line window or you can try to rename or remove it in the driver cache as well.

Desensitize Your Computer's IDE Channels
There's a bit more to it. The following article offers a way to reduce the  incidence of this problem, 
although it still doesn't solve it altogether.
IDE ATA and ATAPI Disks Use PIO Mode After Multiple Time­Out or CRC Errors Occur
http://support.microsoft.com/kb/817472/
Do read this article because it contains a useful long­term workaround. But you have to go through the 
procedure described here to re­enable DMA first.
Assuming you've done that, insert the ResetErrorCountersOnSuccess registry values mentioned in 
this article into both the primary and the secondary IDE port  registry keys as described.
Unfortunately this is only a half solution, because when you enter an unreadable DVD, you will get 6 
errors in a row, and the IDE channel will revert to PIO mode, but at least when you pull out the DVD in 
time and then insert a good one, the error counter will be reset and it will at least be a bit more difficult 
for Windows to hobble your IDE drive.
A little warning: One user reported that by mistakenly putting the value into  the parent key, rather than 
into one of the 0000, 0001, 0002, etc., subkeys, he was accused by Microsoft's Genuine Advantage 
check of using a pirated copy of Windows and therefore denied online updates.

Emails
Useful info on re ­enabling DMA. No more jerky video from primary  slave! Thank you
Thank you for a very helpful article. After applying your fix  I saw a 10x speed improvement!
Don't mention it!!! After months of trouble ­free operation, DVD  playback suddenly started to crap out on me, and your site was 
the only one I  could find that remedied this problem. I had been trying to fix it for several weeks when I found it, and boy was I 
happy. I'm the one who needs to thank *you*!!!  Thank you!!! :)
Thank you for the great page on DMA/PIO issues. I had a problem  caused by Daemon tools that you covered on your page. 
Without your work I might  never have solved this problem. I intend on donating again after my next paycheck.
You ROCK! Your write ­up on Windows setting DMA back to PIO saved  me. I was about to take a 12 gauge to my computer. My 
DVD player wouldn't work  for SHIT (stuttering, dropping frames, etc.). I uninstalled my secondary IDE controller, re­booted, & 
problem solved. THANKS!
Your DMA reverts to PIO page relieved me from horrible sound  stututustuttuttering. [...] Hard disk went from PIO mode back to 
Ultra DMA mode  5 when I uninstalled primary IDE channel in device manager and XP reinstalled  it. Thanks.
I love you...
no i don't —but I'm really greatfull that you published this site [...] as I was  quite desperate and 24 hours mentally down 
because my harddisk only managed 2,2  MB/sec (now, thanks to you: 66,2)
best wishes!
Wonderful Dude,
I just want you to know that your posts on how to fix choppy DVD players saved  my butt tonight. I love the fact that I can go 
and search for an answer on the  internet, and a good soul such as yourself will have taken the time to post such  a clear and 
excellent series of solutions. [...]
THANK YOU THANK YOU THANK YOU!
I just wanted to thank you for the information [on this page]. After noticing  that my laptop's CD/DVD drive started exhibiting 
the dreaded "choppy playback"  from nowhere (probably caused by trying to read a poorly burned homework assignment 
handed out by one of my professors a dozen times) I found your advice after a  quick search on how to correct the problem. 
After a few minutes of reading, using  the provided script, and rebooting, my drive successfully reverted back to DMA mode 
from PIO.
Just wanted to give my thanks and have myself counted among the satisfied visitors who were able to fix the issue without any 
problems. I especially appreciated  the down ­to­earth explanations for and solution to the playback choppiness. CDs/DVDs  play 
like a dream again, and that really makes my day.
I also wanted to thank you. I almost despaired. For no  discernible reason all movies from my DVD drive became jerky. 
Cleaning the  registry and scanning for viruses were also unsuccessful. I was already  resigned to the thought of returning the 
laptop to the manufacturer, because I  thought the drive was broken. Luckily there is the Internet and dedicated  people like 
you, who help with good tips.
Many thanks for your work; the article is truly excellent. You're my savior,  unthinkable now that I had almost reinstalled the 
computer.
I hope that many, who have the same problem, find your article.
Thank you very much for your online help to my  DMA problem (DMA reverts to PIO). I had been banging my head against the  
wall for a few weeks before I found your site. The .vbs program worked  perfectly to fix my infuriating iTunes & audio distortion 
problems. For  this, I have donated $10 to your site.

Discussion
To add a comment, you have to have an account and be logged on. If you don't have an account yet, 
please click on: Create new account

Your vote:  n
i  n
j
k
l
m j  n
k
l
m j  n
k
l
m j  n
k
l
m j 
k
l
m
Average: 3.9 (148 votes)

Submit rating   

tsstcorp cd/dvdw ts­l532m will not burn 
correctly dl in windows as well as no fault 
mode ›

Login  or  register  to post comments  355736 reads   

doesnt work
Mon, 2008­09­29 17:47 — msteel  
the quick is not available i get a message saying it doesnt work!
Login  or  register  to post comments   

Problem kept coming back
Thu, 2008­09­25 04:02 — dmcscorp  
It turns out that rebooting my computer was temporarilly fixing the stuttering problem I was having. 
The actual culprit was mcshield.exe. That evil little program was hijacking 99% of my cpu on a 
steady cycle. I installed AVG Anti­virus free, uninstalled McAfee Antivirus (which worked fine for 2 
years) and everything seems good again.
Login  or  register  to post comments   

Seems to work great
Wed, 2008­09­24 17:38 — dmcscorp  
Thank you, thank you, thank you. I was at a complete loss for the past few days then I came 
across your site and I can now listen to music, watch my porn, browse and type without any 
problems. I was getting ready to scrap everything and start all over. If this lasts for the next few 
days I will definitely make a donation to the cause. You people rock!
Login  or  register  to post comments   

Thanks for reporting
Wed, 2008­09­24 19:01 — admin  
It's good to hear about successes. The problem is still at large, so this web site keeps being 
needed.
Login  or  register  to post comments   

Re­enabling DMA
Fri, 2008­09­19 14:10 — john1951  
Playing through my laptop's DVD/CD reader has been exhibiting exactly the symptoms that this 
help note addresses; that is stuttering on sound and vision on playing all dvds/cds, yet ripped and 
played from the hard drive or direct streaming worked fine. I have been homing in on the PIO/DMA 
issue described in the note for some time as it was the only analysis that seemed to make any 
sense, but the fix of uninstalling the secondary IDE channel didn't have any affect. However, I 
eventually spotted that device 1 on the primary IDE channel was stuck in PIO and ran the quick fix 
rather than the step by step approach. This solved the problem. Many thanks for the problem 
analysis and solution.
Login  or  register  to post comments   
Thanks for reporting
Fri, 2008­09­19 19:32 — admin  
Yes, the quick fix is very convenient and safe. It can also be repeated quickly, should the 
problem crop up again.
Login  or  register  to post comments   

PIO to DMA ­ solution
Tue, 2008­09­02 17:18 — djuro bojic  
People, I have tried a lot of stuff to fix it and the best solution was straight in front of my eyes!!!! 
Just uninstall drivers of the DVD/CD ROM device and reboot the computer. When it starts again it 
will install the drivers automatically and return to DMA mode by itself!!!!
I was so stupid, messing with Registry etc.
Login  or  register  to post comments   

Yes, that works
Tue, 2008­09­02 17:44 — admin  
As described in the article. But the easiest and quickest fix is still the little "Quick solution" 
program described at the top.
Login  or  register  to post comments   

FINALLY fixed! Switch primary with secondary IDE cables!!
Fri, 2008­08­15 20:25 — ripples  
Wow, after many hours I finally have a fix for my PIO­only Maxtor hard drive. I think this actually all 
started when I reformatted and installed Windows XP again. So I have been living with this 
chronically and just have gotten used to it.
Anyway, I tried everything­­the vb code didn't allow me to boot up (expected since my HD was the 
only one), uninstalling the IDE drivers didn't work, updating drivers didn't do anything, trying to 
install the microsoft fixes didnt do anything, manually toggling from PIO to DMA if availble, etc etc 
etc.
The thing that finally worked was switching my hard drive from the primary IDE to the secondary 
IDE. (and my CDR and DVD which were on secondary now are on primary) After booting up this 
simple fix instantly corrected the problem and now I'm running at DMA 5. By the way, if people are 
looking for an easy way to check HD performance, there is a freeware program called "HD Tune" 
(search google) that works really well. It also can check for physical damage.
Anyway, thanks for the ideas here and hopefully if someone has a problem similar to mine they 
can try cable swapping and not go through that incredible hassle.
Login  or  register  to post comments   

Check cables, etc.
Fri, 2008­08­15 22:16 — admin  
Thanks for reporting back! Your solution, though perhaps working well, is not quite 
satisfactory, because it leaves the nagging question whether something may still be wrong 
with the primary IDE channel. It could be the cable or one of the plugs. It could be a wrong 
master­slave jumper position. It could be an improper sequence on the cable.
In theory the master device has to have the master­slave jumper plugged into the master 
position, and it has to be connected to the end connector of the data cable. A slave device, if 
present, has to have the master­slave jumper in the slave position and be connected to the 
middle connector on the cable.
But then I've seen all kinds of odd problems that were fixed by merely swapping something 
around. In fact I wouldn't be surprised if you put everything back to how it was before, and it 
would keep working just fine. (No guarantees though.) If you feel like it, you could try. If indeed 
it worked, I would suspect a poor contact that was fixed by the corrosion ­cleaning friction of 
pulling and replugging the contacts.
But it could still be something else, and you could have found the best solution.
Thanks also for the HD Tune hint.
Login  or  register  to post comments   

Another one saved...
Fri, 2008­08­15 18:08 — dugger  
Another time your post saved a poor man looking for a solution!! In my case, everything started 
with a friend of mine telling me his windows xp has a crackling sound. I took a look at this pc, and 
found with Process Explorer that the Hardware Interrupts were taking a lot of CPU Kernel time, 
and everything was slowed down to pain. Reading a tons of web pages and forums, I found no 
solutions. I started haunting the device which driver would be the responsible of the interrupts cpu 
hard work, but with no luck. Fortunately I found your post, and checked immediately that the ATA 
primary device (the one with the OS disk on it!) was running in PIO mode!! A­ha! Found it!! And 
your quick solution, the vb script worked great way! Now everything is back ok! 
Thank you very much. Your the right one!!
Login  or  register  to post comments   
Thanks for reporting back
Fri, 2008­08­15 20:23 — admin  
Thanks to everyone above and below for reporting the good things!
Yes, the VB script is a very quick solution. Should the problem reappear one day, you can 
quickly repeat the procedure.
Login  or  register  to post comments   

thank you
Fri, 2008­08­01 02:49 — fuzzy monsters  
thank you so much
this has been the bane of my existence for the past two weeks, the lag issues in photoshop CS3 
have also been solved
thank you thank you
Login  or  register  to post comments   

Big Thankyou!!!
Fri, 2008­07­18 17:20 — lxsed  
Microsoft never ceases to amaze.... ;­(
Thank you for this clear and most helpful advice.
Details:
A week ago, experienced drastic system­wide slow­down, preceded by no out­of ordinary event.
Spent two days staright monitoring processes, scanning for viruses, spyware, defragmenting, 
cleaning­up, loosing sleep and tearing hair out in clumps ­ no results. 
I have alredy decided to wipe the system and re­build from scratch, and would have done so, were 
I not to stumble across this article.
Primary IDE controller ­ Master disk with Boot partition(Win XP) ­ sure enough PIO! 
Manually applied the registry changes.
Rebooted.
Back to UDMA­5!
Whatever the primary cause of the switch to PIO may have been..... .....surface scan of the 
Master disk passed OK, so I can sleep well again.
Alex
Login  or  register  to post comments   

Trap still open
Fri, 2008­07­18 18:59 — admin  
Yes, the trap is still wide open and catching victims in numbers that are hard to imagine. Glad 
you got out.
Login  or  register  to post comments   

DMA falling back to PIO
Fri, 2008­07­11 09:06 — joe909001  
I did this using the manual method. It worked a treat. Thanks very much. I can now keep the rest 
of my hair. What bit i've got. Thanks again.
Login  or  register  to post comments   

Glad to hear
Fri, 2008­07­11 10:27 — admin  
I keep wondering how many computer users never find out and just live with a crippled 
computer.
Login  or  register  to post comments   

Resetting checksum fixed me ­ symptom was stuttering audio 
Fri, 2008­07­11 02:18 — FredMay  
My symptom was stuttering choppy audio and video on my laptop playing files located on my hard 
drive. The problem just appeared, although there was an unusual BSOD that had happened in the 
recent history. Reinstalled audio drivers, media player, motherboard drivers, removed unused 
programs, uninstalled Norton Anti­virus, re­loaded codecs, and much much more ­ all to no avail. 
Spent days of work. I did not want to send the laptop to the repair depot ­ for them to reformat my 
drive and reload Windows, which would have solved the problem. Then ­ I finally noticed that the 
disk was using PIO and wondered why it was not DMA. I was not sure at all which was better. My 
first Google search found this page. I found the registry count Checksum was high and reset it to 
zero. Next reboot, the drive automatically chose DMA, not PIO. The audio and video stutter was 
completely fixed!. Thank you kindly. I am now considering that there may still be a looming 
problem with the hard drive, and might be well advised to image a replacement drive. Thanks again!
Login  or  register  to post comments   
Thanks for reporting!
Fri, 2008­07­11 07:18 — admin  
Nice success story. Thanks!
Just observe the drive's behavior over time. If it keeps falling back to PIO, then there's 
something wrong. It may well be the drive, but it could also be the data cable connectors or 
the controller on the motherboard.
But maybe it behaves from now on and all is well.
Login  or  register  to post comments   

WARNING for DeepFreeze users
Mon, 2008­06­30 02:25 — Spsp1981  
A little of history first, I came to this thread while looking for possible 
causes/solutions to a sound playback problem. Whenever I tried to listen to music / 
watch a video, the system slowed down. Using Process Explorer, I found out that it 
was because of "Interrupts" (Hardware interrupts) taking up the CPU. When I read 
this post, seemed a good possible cause, I checked my devices properties and one 
of my hard disk was in PIO mode. So that, I tried the registry fix explained, but after 
rebooting my 3 hard disks and the DVD drive were detected as new hardware. Suddenly, after the 
last drive was installed, my display turned off (Power saving mode) and the system stopped 
responding. As this has happened to me before due to a problem with the nVidia VGA driver, I 
rebooted in VGA mode but a BAD_POOLER_[something] BSOD (some other messages also 
appeared, many of them didn't even mention a cause) prevented me from trying anything. Luckly 
Safe mode did work and after a serie of try and error tests, I find out that DeepFreeze was the 
problem. Seems that DeepFreeze does not consider the hard disk to be the same after 
redetection. So, after several research and tries and errors, I was able to make my PC work again 
and here I explain how:

If you have DeepFreeze Standard installed, probably you entered in thawed mode to make 
the changes. The problem comes when you try to restart the PC, new IDE channels and 
HDs are detected but the PC no longer works showing some BSODs and/or the display 
turns off a few seconds after loading the desktop (Exactly when the DF's tray icon should 
appear). There are only 2 options I can advice, first one is the obvious one: uninstall DF 
prior to making this fixes. Second one is when IT'S TOO LATE: here's an article that 
explains how to manually remove DF without reformating your computer: 
http://usuarios.arnet.com.ar/fliamarconato/pages/etutorial6.html 
"NOTE: I'm not responsible and/or affiliated to the above mentioned site and tutorial. I just 
luckily found it."  

Login  or  register  to post comments   

Thanks
Mon, 2008­06­30 09:26 — admin  
Thanks for this important information!
Installing questionable software, particularly software that intrudes deeply into the operating 
system, can cause serious, sometimes intractable problems.
Login  or  register  to post comments   

Excellent
Thu, 2008­06­26 14:23 — macHelp  
Clear
Concise
Accurate
If only all info was even half as good !
Thanks.
Login  or  register  to post comments   

Thank You, Thank You, Thank You ! ! !
Thu, 2008­05­22 09:34 — greenylad  
Have spent days trying to find out why my system was slow and any media playback was very 
stuttering and poor. used this to find that my primary IDE was in PIO, ran the simple script and 
hey presto, all is fine and it's back in DMA 5 ultra.
What a fatastic site.
Book marked for future and a small donation on it's way :­) :­)
Peter
Login  or  register  to post comments   

You are the Mannn!
Sun, 2008­05­11 16:24 — amircoh28  
Thank you so much. you helped me a lot.
Login  or  register  to post comments   

You are awesome
Tue, 2008­04­22 02:05 — immortalsuby  
I love you.
I spent hours upon hours, combined with months of a slow hard drive, trying to isolate and fix this 
problem. Your page told me exactly how to solve it and it worked great. DMA 5 again!
forgot to add...
Donation sent. Thanks again! :D
Login  or  register  to post comments   

thank you so so much!!! i am
Sun, 2008­04­20 07:11 — soadserj  
thank you so so much!!! i am so happy i can finally watch DVDs again!!! i sent you a little 
donation. i wish i could afford more, but you guys still are the best!
Login  or  register  to post comments   

DMA is back!!!
Thu, 2008­04­10 03:04 — dc9driver  
Nice little script!!! Did the trick perfectly. A little donation coming your way :)
Thanks.
LJ
Login  or  register  to post comments   

Thank you all!
Thu, 2008­04­10 16:00 — admin  
A little donation is, of course, always very welcome.
Login  or  register  to post comments   

For those with the ALi M5229 IDE Controller
Sun, 2008­03­30 16:36 — Arran  

Occasionally a chip set or controller driver is buggy, so check with the manufacturer for 
updates.
2007­03­01 – Francois Eraud reports one such case in a Sony laptop, regarding an ALI 
M5229 chip set controller, solved with driver version 4.008.

I spent ages suffering with choppy sound playback within windows and it seemed to be due to 
hard drive activity.. I wasn't wrong, I tried an older smaller hard drive and it jumped straight in to 
dma mode.. My new 160gb drive was stuck in pio (pio has high cpu usage which was resulting in 
my chopping sounds)... So I did a search and found this site... Helped me out loads...
Anyway mine was due to the chipset as said above in the quotation... I managed to hunt down 
these VERY rare drivers....
http://wwwcsif.cs.ucdavis.edu/~leeey/a7a266/IDE4008.exe
If you're concerned about downloading a random file from some randomer then here is all the 
details...
http://wwwcsif.cs.ucdavis.edu/~leeey/a7a266/
I believe this will sort the problem for those with the ALi M5229 IDE Controller... Doesnt matter 
what brand of computer you have.
Thanks
Login  or  register  to post comments   

ALI M5229 responsible for DMA failing to PIO for Samsung drive
Sun, 2008­05­11 15:10 — GigiDuru  
I newly bought a Samsung 160GB drive on an old system as a secondary drive. It failed from 
the very beginning to PIO, with the following errors shown in system log (event viewer):
Event Type: Error
Event Source: atapi
Event Category: None
Event ID: 9
Date: 5/11/2008
Time: 5:02:49 PM
User: N/A
Computer: SUNSHINE
Description:
The device, \Device\Ide\IdePort2, did not respond within the timeout period.
And yes, Arran, you were right.
I first tried the registry modifications, but it did not work. Of course, all the HW testing was 
tried as well (moving/changing between IDE cables, and so on...).
This (http://wwwcsif.cs.ucdavis.edu/~leeey/a7a266/IDE4008.exe) did the trick. It is a rare 
drive, indeed :)
THanks a lot!
Bye,
Gigi
Login  or  register  to post comments   

Thanks a lot for these finds
Sun, 2008­03­30 18:25 — admin  
This is very useful information for users with this controller chip.
Login  or  register  to post comments   

THANK YOU!!! :D
Mon, 2008­03­24 19:28 — WilhelmR  
THANK YOU!!! :D
Login  or  register  to post comments   

DMA Reset
Fri, 2008­03­14 00:09 — efabrizio  
Thank You, Thank You, Thank You. Worked like a charm !
Login  or  register  to post comments   

Thanks for reporting back!
Fri, 2008­03­14 10:45 — admin  
Glad it worked.
Login  or  register  to post comments   

Amazing
Sun, 2008­03­09 09:04 — Gremlin  
It's been so long since I'd even looked at HDD modes that it never occured to me to check if it was 
in PIO mode or not, I checked and hey presto, there it was, in PIO mode. After reading your post 
fully, I used one of your suggestions, (removal of offending drive in the Registry) rebooted, and now 
it's now no longer in PIO mode, its DMA Mode 6.
Thank you, as in the previous posters case, you saved me buying a new HDD.
:­)
Login  or  register  to post comments   

You're welcome
Sun, 2008­03­09 10:11 — admin  
If you like, you can donate a small fraction of the money earmarked for the new drive here 
(see "Donations" at the top). 
Login  or  register  to post comments   

Thank you
Sun, 2008­02­24 22:58 — chernobyl  
Hi, I just wanted to say thanks. This article actually saved me from buying a new hard disk!
Login  or  register  to post comments   

Nice to hear this
Sun, 2008­02­24 23:22 — admin  
Thanks for reporting back!
Login  or  register  to post comments   

DMA reverts to PIO
Mon, 2008­02­11 17:20 — tippy  
I had this problem and it turned out to be a failing DVD burner, which gave up the ghost this 
morning...In it's final death throes, it came up with CRC errors.Good idea to swap out any drive on 
a channel that starts acting flaky.Hope this helps someone.
Login  or  register  to post comments   

Hardware error
Mon, 2008­02­11 18:48 — admin  
Thanks! This is a good reminder that recurring errors and recurring fallback to PIO can 
indicate a hardware error.
DVD drives fail fairly often, hard disks also fail sometimes. Cables can break, contacts can 
work themselves loose, and even controller chips occasionally fail.
All of these failures can lead to PIO fallback.
Login  or  register  to post comments   

Thank you, It solved a problem ...
Fri, 2008­02­01 10:48 — dmpriso  
with a Dell Inspiron Notebook and Windows XP. It was extremely slow and stuttering, and 
according to Process Explorer, "Hardware Interrupts" were consuming lots of CPU time especially 
when accessing the harddisk.
Your script helped.
But it's interesting ­ the notebook does have a built­in intel SATA controller for the HD, but 
resetting the PIO mode for the Primary IDE Channel helped, or does your script reset the PIO 
mode for all devices?
Login  or  register  to post comments   

Script resets all channels
Fri, 2008­02­01 12:04 — admin  
Glad it worked for you.
Yes, the script resets all channels. Since this is a harmless operation, it is easiest and best 
to reset all of them.
You can download the script and look at it. It is a relatively simple Visual Basic Script 
program that goes through the registry and removes certain settings.
Login  or  register  to post comments   

Thanks again, it helped a
Fri, 2008­02­01 12:59 — dmpriso  
Thanks again, it helped a lot and solved a problem I wasn't able to track down exactly for 
weeks.
Login  or  register  to post comments   

PIO
Tue, 2008­01­29 03:01 — Marieaa65  
Thank you Thank you, I hit < Here> and it fix my stuttering on my D L 
Dvdplayer, I have tryed to get the company I bought it from they could not figure 
it out, Works so great now, sound is perfect.
Login  or  register  to post comments   

Enjoy!
Tue, 2008­01­29 07:33 — admin  
This problem is apparently hitting millions of people. Glad you could solve it.
Login  or  register  to post comments   

Still PIO
Fri, 2008­01­18 07:48 — bert02  
ok i have read everything on this page and my pioneer dvd burner 112 is still in pio
bios is enabled
i uninstall ide ata/atapi channel and it loads as pio still
tried all registry fixes, and that app still doesnt work
was working fine b4 so it has the correct cable
any other help?
Login  or  register  to post comments   

May still be a hardware error
Fri, 2008­01­18 09:16 — admin  
Cable contacts can corrode, work themselves loose or even break. Try taking the cable out 
and reconnecting it to reseat the connectors. Reseat the power connector as well.
A bit more likely is that the drive itself broke. DVD burners often break too.
My bet is, if you connect a new drive with a new cable and then apply the fix, it will work.
Can you try that for a test? Borrow another drive with cable or take the computer to a shop 
and let them test it?
One can never be entirely sure, because it could still be the motherboard that broke (a chip 
turning sour, for example), or it could be an uncommon software problem, but I think those 
causes are less likely.
Login  or  register  to post comments   

Wow, you made my day! Thanks!
Fri, 2008­01­04 13:49 — wyldstallyns  
I reinstalled my secondary IDE channel as you instructed, and you solved my problem!! I just 
purchased $300.00 monitor speakers for Christmas. I was so excited to accustom my ears to 
them with various CDs, but lo and behold ­ my DVD­R drive was chopping the audio to shreds.  
I've been trying to find a solution for days, and your's worked! Thank you, thank you, thank you.
In fact, I created a profile here JUST so I could thank you! 
Take care.
Mike
Login  or  register  to post comments   

Once you have an account,
Fri, 2008­01­04 16:41 — admin  
you might as well come back. How about the lighter side? (:­)
Glad the problem could be solved.
Login  or  register  to post comments   

Thank you so much!
Fri, 2007­12­14 02:39 — rvn  
Quick solution of DMA=>PIO problem saved an urgent project. Man, I owe you money :­)
Oh, I found Donations at the top right corner ))
Login  or  register  to post comments   

1 2 next › last »  

Comment viewing options
Threaded list ­ expanded   Date ­ newest first   50 comments per page  
Save settings  
Select your preferred way to display the comments and click "Save settings" to activate your changes.

Copyright © 2002­2008 Hans­Georg Michna | Impressum | Powered by Drupal 
All rights reserved, including the rights to rearrange, edit, abridge, delete. 

You might also like