Re: IDE DVD reading & error handling

Alan Cox (alan@lxorguk.ukuu.org.uk)
04 Mar 2003 22:59:08 +0000


On Tue, 2003-03-04 at 18:20, Mathias Kretschmer wrote:
> Is there a way to optimize the IDE layer to handle DVD
> read errors more gracefully ?

I think its perfectly doable to set the maximum retries per
device. Have a look at the current ide_error() and the error: handler
in the relevant ide drivers (notably ide-cd).

> I wonder if it would be possible to tune the IDE layer by i.e.
> reducing the number of retries and disabling the controller reset, etc.

A lot of the time you have to go through the controller reset. However
cutting the retries down and having good readahead management on the
I/O thread ought to still cope with that.

As to drives I'm using a mix of drives. Old 1x and 2x speed DVD drives
are very cheap so its a good way to get multiple regions cheaply, and
saves breaking the DMCA in the US 8)

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