Re: ATA mkIII first official patches - please test!

From: Søren Schmidt <sos_at_DeepCore.dk>
Date: Mon, 07 Feb 2005 16:18:54 +0100
Randy Bush wrote:
>>diff -u -r1.20 ata-all.c
>>--- ata-all.c   2005/02/03 17:02:31     1.20
>>+++ ata-all.c   2005/02/07 14:27:57
>>_at__at_ -630,7 +630,7 _at__at_
>> void
>> ata_udelay(int interval)
>> {
>>-    if (1 || interval < (1000000/hz) || ata_delayed_attach)
>>+    if (interval < (1000000/hz) || ata_delayed_attach)
>>        DELAY(interval);
>>     else
>>        tsleep(&interval, PRIBIO, "ataslp", interval/(1000000/hz));
>>
> 
> 
> no fix
> 
> hangs in ad0: TIMEOUT - WRITE DMA retrying (2 retries left) LBA=7434015
> 
> disk light on solid. no response to anything

no idea

Since I cannot debug this, I have no way of finding out whats wrong.
I will look at it when ACPI allows me to use suspend/resume again, until 
then I'll concentrated on things that I can work on...

-- 

-Søren
Received on Mon Feb 07 2005 - 14:19:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC