public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Zinx Verituse <zinx@epicsol.org>
Cc: lkml <linux-kernel@vger.kernel.org>, Jens Axboe <axboe@suse.de>
Subject: Re: ide-cd.c, "MEDIUM_ERROR" handling
Date: Tue, 18 Apr 2006 12:04:40 +0100	[thread overview]
Message-ID: <1145358280.18736.13.camel@localhost.localdomain> (raw)
In-Reply-To: <20060418011839.GA10619@atlantis.chaos>

On Llu, 2006-04-17 at 20:18 -0500, Zinx Verituse wrote:
> I recently bought a DVD drive which appears to not retry enough when it's
> having trouble reading a disc 

Different to everything else I've ever met. You might want to check if
its got PC firmware or is actually from a set of drives that were meant
to be supplied in DVD players and similar.

> With this code enabled, no retries are made, and the kernel sees medium errors
> and returns bad data to the application reading; without it, the kernel retries
> transparently and reads the data perfectly.  So, I think the comment is
> assuming decent hardware, which unfortunately isn't always what we have :/

Use ide-scsi or the new libata drivers, either will do retries on medium
errors.

Alan

  reply	other threads:[~2006-04-18 10:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-18  1:18 ide-cd.c, "MEDIUM_ERROR" handling Zinx Verituse
2006-04-18 11:04 ` Alan Cox [this message]
2006-04-18 15:20 ` Gunther Mayer
2006-04-18 16:54 ` Erik Andersen

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=1145358280.18736.13.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zinx@epicsol.org \
    /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