Oscar wrote:

>El s�b, 09-03-2002 a las 19:07, Kicho escribi�:
>
>>
>>Hello everibody, I get a problem with DMA and Mandrake 8.1
>>
>>dmesg show:
>>
>>/dev/ide/host0/bus1/target0/lun0:hdc: timeout waiting for DMA
>>hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest }
>>
>>I believe that is a commom error from serie 8.x.
>>When I mount some partition from the disk, transfer rate being at 1.1 Kbps
>>
>>Anyone can send me a way to fix this problem?
>>
>>If it is not a commmom problem and if it is not information enough, please
>>contact me and I can send information about hdparm, complete dmesg,
>>hardware instalation and configuration, bios settings, etc
>>
>>please I realy need help
>>
>>Thanks
>>
>>
>>----
>>
>
>I have the same problem (but not always), and I don't know how can we
>fix it, but you can run 'several times' the hdparam -d1 /dev/yourdisk at
>few seconds interval until the dma flag is set correctly (you can watch
>F12 console to see it. In my computer, the flag is set after 2-3
>attempts.).
>saludos
>�scar.
>
>
>------------------------------------------------------------------------
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>
That is a common error with out of spec drives and we see it frequently 
from WD drives.

And yes, ultra DMA isn't completely implemented in the WD hardware, 
especially in the CRC for UDMA 66 or higher, and that is true on ALL 
OSes.  I saw one linux distro dodging this by setting UDMA on and lying 
blatantly that it was working while the disk ran at 1.6Mb/s on hdparm -t 
 (Obviously it was set to PIO4).  Setting hdparm to

hdparm -X34 /dev/hda

ran it at 9.34 Mb/s while at

hdparm -X68 /dev/hda

the same device ran at 1.6Mb/s

The linux-ide drivers have been very tight for a while, with the need to 
support UDMA from 16.6 to 133, so it is unsurprising that a few 
manufacturers who have taken advantage of windows sloppiness in that 
area are failing to provide drives that run well under linux which after 
all (gasp) insists that drives fall within specs.

The solution?  Well you can dredge up drakopt and run it once, and it 
will set up an optimized speed for you that should work all the time.  I 
never had the time to make it pretty, but it works.  Or you can 
experiment with hdparm and plug the files sought in rc.sysinit with the 
appropriate data.  The kernel's autotune does not work well with disks 
that are near the borderline for intermittent problems.  In fact, it 
doesn't work well at all in 8.0 but somewhat better in 8.1.

Civileme




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to