Western Digital hard drive and DMA
OK, I have heard that other people have been having this problem for a while now, but I havent been able to find much about what causes it. I have a Western Digital hard drive in my computer (60GB, 5400 RPM) I can use it just fine with no DMA, but it runs much faster with DMA. However, when I use DMA, all my data is slowly corrupted, and I begin having to re-install packages all the time. After about a month, my system deteriorates to the point where I have to reinstall slackware. I have no idea why this is happening, but I know some people who have had the same experience under Linux with Western Digital hard drives, but not with other brands. I am assuming this is a problem with Western Digital's implimentation of DMA, but shouldnt it do something to prevent errors?
Thanks.
Signature · 6 lines
Adam Jaskiewicz [email protected] http://middlearth.d2g.com:31415 talk: [email protected] -- Never tell a lie unless it is absolutely convenient.
Quoted 11 lines
OK, I have heard that other people have been having this problem for a while now, but I havent been able to find much about what causes it. I have a Western Digital hard drive in my computer (60GB, 5400 RPM) I can use it just fine with no DMA, but it runs much faster with DMA. However, when I use DMA, all my data is slowly corrupted, and I begin having to re-install packages all the time. After about a month, my system deteriorates to the point where I have to reinstall slackware. I have no idea why this is happening, but I know some people who have had the same experience under Linux with Western Digital hard drives, but not with other brands. I am assuming this is a problem with Western Digital's implimentation of DMA, but shouldnt it do something to prevent errors?
What is the chipset of the interface it's on?
John.
Quoted 3 lines · Adam Jaskiewicz
OK, I have heard that other people have been having this problem for a while now, but I havent been able to find much about what causes it. I have a Western Digital hard drive in my computer (60GB, 5400 RPM) I can use it just
[snip]
What brand of IDE controller does your computer have? WD drives often don't get along with VIA IDE controllers. (I think very recent WD drives might have fixed this, but I'm not sure.)
Also, I'm pretty sure that a 60GB WD drive is too new to be affected by the DMA problems that their older drives had. I'd look at other factors like the cables (they are 80-conductor, and 18" or shorter, right?), the IDE controller (bad controllers can do this), or the power supply (that was the cause for the case of data corruption that I most recently investigated).
-Barry K. Nathan <[email protected]>
Quoted 12 lines · [email protected] said:
Quoted 11 lines
OK, I have heard that other people have been having this problem for a while now, but I havent been able to find much about what causes it. I have a Western Digital hard drive in my computer (60GB, 5400 RPM) I can use it just fine with no DMA, but it runs much faster with DMA. However, when I use DMA, all my data is slowly corrupted, and I begin having to re-install packages all the time. After about a month, my system deteriorates to the point where I have to reinstall slackware. I have no idea why this is happening, but I know some people who have had the same experience under Linux with Western Digital hard drives, but not with other brands. I am assuming this is a problem with Western Digital's implimentation of DMA, but shouldnt it do something to prevent errors?
Quoted 1 line
What is the chipset of the interface it's on?
Use DMA for a week or so, and / is mangled beyond recognition (seems to happen with read-only access too). Chipset is intel (sr440bx board, PIIX4E IDE). Have heard of similar problems with DMA on WD drives, but got no details.
Signature · 4 lines
Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
Quoted 4 lines · Horst von Brand
Use DMA for a week or so, and / is mangled beyond recognition (seems to happen with read-only access too). Chipset is intel (sr440bx board, PIIX4E IDE). Have heard of similar problems with DMA on WD drives, but got no details.
Old old (we are talking 340MB era here) WD had some DMA problems in a few cases. We know about it and blacklist such drives. I'm aware of a few "UDMA doesnt work" type incompatibilities with WD drives but not with PIIX and always UDMA crc errors
Quoted 2 lines · Alan Cox
Old old (we are talking 340MB era here) WD had some DMA problems in a few cases. We know about it and blacklist such drives. I'm aware of a
shouldn't these drives be _way_ past their mtbf by now and into the "wow its still working" stage. not that its an argument against blacklisting... (far from it!)
j.
Signature · 1 line
toyota power: http://indigoid.net/
Quoted 11 lines · Adam Jaskiewicz
OK, I have heard that other people have been having this problem for a while now, but I havent been able to find much about what causes it. I have a Western Digital hard drive in my computer (60GB, 5400 RPM) I can use it just fine with no DMA, but it runs much faster with DMA. However, when I use DMA, all my data is slowly corrupted, and I begin having to re-install packages all the time. After about a month, my system deteriorates to the point where I have to reinstall slackware. I have no idea why this is happening, but I know some people who have had the same experience under Linux with Western Digital hard drives, but not with other brands. I am assuming this is a problem with Western Digital's implimentation of DMA, but shouldnt it do something to prevent errors?
This _could_ be your power supply.
I had problems with two IBM 22GXP drives attached to a Tyan dual slot1 board based on the BX chipset. The system seemed fine other than drives would spin down and spin up occasionally and the /var/log/messages output would indicate DMA "drive not ready" errors.
I can't remember why I finally did it, but after replacing the power supply, the system operated fine. The original was 3 years old, a generic to begin with. (I've become a big fan of Antec power supplies and cases now that I've upgraded to Athlon class CPUs.)
Andre's drivers (which your output shows you are using on 2.4.17) have been very good on this type of equipment, IMHO. But software can't overcome failing or poor quality hardware and the age of the BX chipset suggests this is probably and older computer as well.
This is just a guess, but something you can try and investigate on your own right now..
-- ---------------------------------------------------------------------------- Maxwell Spangler
Program Writer
Greenbelt, Maryland, U.S.A.
Washington D.C. Metropolitan Area
Maxwell Spangler <[email protected]> said:
[...]
Quoted 4 lines
I can't remember why I finally did it, but after replacing the power supply, the system operated fine. The original was 3 years old, a generic to begin with. (I've become a big fan of Antec power supplies and cases now that I've upgraded to Athlon class CPUs.)
This is the second power supply here (original died on me), corruption with the old and the new one. I very much doubt both are broken the same way. Problems started with 2.4 or thereabouts.
WDC WD135AA, 15GiB; PIIX4E (intel sr440bx mobo, updated bios)
Signature · 4 lines
Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513