Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 07-31-2005, 08:32 PM   #1
Registered: Jun 2005
Distribution: Slackware, OpenBSD, Debian
Posts: 117

Rep: Reputation: 16
Hard drive dma causes crc errors

I have been chasing the cause of crc errors for a couple of months and finally 'solved' my problem by turning off dma in my hard drives using hdparm -d0 /dev/hda and /hdb. I'm looking for a better solution. My system details are:

Mandrake 10.2 (Mandriva LE2005)
2.6.11-12mdk kernel
Soyo SY-K7VMP2 motherboard with KM400 chipset, 8235 Southbridge
hda = WDC WD800BB-00CAA1
hdb = IBM IC35L040AVER07-0
cpu = AthlonXP 2800+ clocked at 2083 as recommended
FSB = 333 MHz
ram = 3 X 256MB 333MHz DDR
Power supply = Enermax EG465P-VE-FC

This crc problem surfaced when I installed this motherboad, cpu, ram and power supply. I found that dowloading, copying or othewise manipulating a 57MB source file would sometimes result in crc errors as evidenced by incorrect md5sums. I've since tried to download a couple of 650MB ISO images and the md5sums are wrong 100% of the time unless I set using_dma = off and then the md5sums are correct 100% of the time. I have the two files on my laptop so transfer by my wireless network makes experimenting quicker.

I have tried three IDE cables a flat 80 conductor master/slave, a flat 80 conductor cable select and a round ATA133 master/slave, with the drives jumpered accordingly and still get the errors. I have dressed these cables carefully and in different configurations.

I have tried setting UDMA at various levels using hdparm -d1 -X6* /dev/hd* and still get the errors.

I have tried turning off UDMA in the BIOS leaving using_dma = on and still get the errors.

I have tried setting multicount to 4 instead of the default 16 to address a documented issue with the Western Digital drive and still get the errors if using_dma = on.

If it matters, hda contains my Mandrake 10.2 root partition as well as a Mandrake 10.1 partition and a Gentoo partition. hdb contains a Windows partition and Mandrake 9.2 partition. Both have a swap partition.

I have tried copying the ISO from the laptop to my 9.2 partition on /dev/hdb with using_dma = on and there were errors so the problem is with both drives.

Prior to the hardware upgrade, I was using all partitions except the 10.2 partition without errors, but I don't know if using_dma was on or off. Before installing 10.2, I ran memtest-1.26 on several occasions without error. Similarly, cpuburn.

My sensors say the motherboard is 35 degrees and ACPI reports a cpu temperature of 44 degrees.

Any suggestions would be welcome. Thank you.
Old 08-02-2005, 03:56 PM   #2
LQ Newbie
Registered: Jun 2005
Distribution: Slack 10.1
Posts: 22

Rep: Reputation: 15
I have a similiar issue with DMA timing out.

IBM 115GB /dev/hda WinXp (IDE 1 Master)
WDC 160GB /dev/hdb Slack 10.1 (IDE 1 Slave)
Maxtor 40GB /dev/hde Personal Files (IDE 3 ; raid 0)

AThlonXP 1.6 GHZ Soyo KT266A

Hope you find a solution.
Old 08-13-2005, 01:33 PM   #3
Registered: Jun 2005
Distribution: Slackware, OpenBSD, Debian
Posts: 117

Original Poster
Rep: Reputation: 16
The solution to my problem was to change the motherboard jumper from 166MHz to 133MHz bus. This, of course, slows the CPU to 1666MHz (2200+). The DRAM settings are unchanged. Apparently, either Soyo, or VIA overstated the motherboard or chip set capability under Linux.
Old 08-25-2005, 09:20 AM   #4
Registered: Jun 2005
Distribution: Slackware, OpenBSD, Debian
Posts: 117

Original Poster
Rep: Reputation: 16
I found a solution that allows the system to run with the motherboard jumpered to 166MHz resulting in the CPU and RAM operating at manufacturers specs. I disabled the on-board IDE controller in the BIOS and am using a Promise Ultra133 tx2 PCI-IDE controller. One week of use has produced zero errors.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 06:06 AM
can't turn DMA on my hard drive slzckboy Linux - General 6 09-24-2005 02:26 PM
DMA Mode of Hard Drive Ace2005 Linux - Hardware 6 07-21-2005 08:23 AM
DMA errors on SATA drive in Gentoo 2004.0 using VT8237 chipset darkinnit Linux - Hardware 11 05-19-2004 11:21 AM
dma CRC errors Micropocalypse Linux - Hardware 1 03-09-2004 05:38 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:01 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration