public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mathias Kretschmer <mathias@lemur.sytes.net>
To: linux-kernel@vger.kernel.org
Subject: IDE DVD reading & error handling
Date: Tue, 04 Mar 2003 13:20:26 -0500	[thread overview]
Message-ID: <3E64EE6A.90208@lemur.sytes.net> (raw)

Hello,

Is there a way to optimize the IDE layer to handle DVD
read errors more gracefully ?

Most used DVDs (borrowed from a local library, etc.) seem to have some 
defects. Those cause the IDE layer to get stuck for quite a while, 
interrupting the movie playback. It might be better to just return an 
error for that sector and let the player software continue.

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.

I haven't fiddle with the below numbers, yet. Just wondering if that
could improve the situation, or if there are any other tricks that one 
could play here ?

/*
  * Probably not wise to fiddle with these
  */
#define ERROR_MAX       8       /* Max read/write errors per sector */
#define ERROR_RESET     3       /* Reset controller every 4th retry */
#define ERROR_RECAL     1       /* Recalibrate every 2nd retry */

Cheers,

Mathias

PS: Also which DVD ROM do people recommended in general ?
     Which one seems to have a decent error correction scheme
     not just a high read speed?


             reply	other threads:[~2003-03-04 18:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-04 18:20 Mathias Kretschmer [this message]
2003-03-04 22:59 ` IDE DVD reading & error handling Alan Cox
2003-03-04 22:55   ` Mathias Kretschmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E64EE6A.90208@lemur.sytes.net \
    --to=mathias@lemur.sytes.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathias.kretschmer@verizon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox