Re: [patch] recover lost ticks

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Wed, 17 Mar 1999 15:42:49 +0100 (CET)


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/