lkml.org 
[lkml]   [1999]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch] recover lost ticks

On Wed, 17 Mar 1999, Andrea Arcangeli wrote:

> hdc: irq timeout: status=0xc0 { Busy }
> hdc: ATAPI reset complete
> hdc: irq timeout: status=0xc0 { Busy }
> end_request: I/O error, dev 16:00 (hdc), sector 969244
> hdc: status error: status=0x48 { DriveReady DataRequest }
> hdc: drive not ready for command
> hdc: ATAPI reset complete
> recover_lost_timer: lost 1 ticks from 40135f64

could you try the attached patch, does it fix the bug? While busy waits
during IDE resets are done with generic interrupts enabled, i have a
theory why it still might delay other interrupts. (but it might be
something else too)

-- mingo

--- linux/drivers/block/ide.c.orig Wed Mar 17 15:41:26 1999
+++ linux/drivers/block/ide.c Wed Mar 17 15:41:43 1999
@@ -912,6 +912,7 @@
ide_error(drive, "status timeout", stat);
return 1;
}
+ udelay(2);
}
__restore_flags(flags); /* local CPU only */
}



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.108 / U:1.864 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site