Re: ide-cd.c, "MEDIUM_ERROR" handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux