Re: A CD with errors (scratches etc.) blocks the whole system while reading damadged files

From: Bill Davidsen (davidsen@tmr.com)
Date: Tue Apr 23 2002 - 17:34:55 EST


On Fri, 19 Apr 2002, Richard B. Johnson wrote:

> On Thu, 18 Apr 2002, Dr. Death wrote:
>
> > Problem:
> >
> > I use SuSE Linux 7.2 and when I create md5sums from damaged files on a
> > CD, the WHOLE system freezes or is ugly slow untill md5 has passed the
> > damaged part of the file !
> >
>
> So what do you suggest? You can see from the logs that the device
> is having difficulty reading your damaged CD. You can do what
> Windows-95 does (ignore the errors and pretend everything is fine),
> or what Windows-98 and Windows-2000/Prof does (blue-screen, and re-boot),
> or you can try like hell to read the files like Linux does. What do you
> suggest?

Several things come to mind:
1 - don't dedicate the entire machine to retrying the error such that
    everything else runs slowly if at all.
2 - if the hardware returns an uncorrectable sector error that should be
    passed back to the user process rather than retried. An unconditional
    deep retry on an error the hardware labels as uncorrectable is not
    desirable, and not better than the Windows in most cases.

I took a bottle cap to one of the morning's AOL CDs and then tried to read
it. It's really not just annoying, it's pretty much useless. If you were
staging software off a CD on a running server, your clients would NOT be
happy!

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- 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/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:36 EST