[lkml]   [2002]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: A CD with errors (scratches etc.) blocks the whole system while reading damadged files
    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?

    The problem is not that reading the disk is slow, it's that it brings the
    system to its knees. There are many valid scenarios where non-root users
    should be able to put CDs in a machine and they shouldn't be able to DoS
    it by doing so.

    Fact is the SCSI layer's error handling has been on the list of things in
    dire need of replacement for years and this is one of the many symptoms.

    "Love the dolphins," she advised him. "Write by W.A.S.T.E.."

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:25    [W:0.022 / U:2.672 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site