All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Andersen <andersen@codepoet.org>
To: Bill Davidsen <davidsen@tmr.com>,
	Stephen Samuel <samuel@bcgreen.com>,
	linux-kernel@vger.kernel.org, Andre Hedrick <andre@linux-ide.org>
Subject: Re: A CD with errors (scratches etc.) blocks the whole system while reading damadged files
Date: Thu, 25 Apr 2002 23:42:41 -0600	[thread overview]
Message-ID: <20020426054241.GA21799@codepoet.org> (raw)
In-Reply-To: <3CC738AD.50905@bcgreen.com> <Pine.LNX.3.96.1020424232237.4586B-100000@gatekeeper.tmr.com> <20020426040457.GO574@matchmail.com>

On Thu Apr 25, 2002 at 09:04:57PM -0700, Mike Fedyk wrote:
> 1)
> Two drives each on a seperate cable, but on the same chipset:
> /dev/hda (hard drive) (chipset1)
> /dev/hdc (cd-rom) (chipset1)
> 
> Put broken CD into /dev/hdc, and read somehow (dd, cat, whatever), now try
> to read from /dev/hda.  This (according to this thread) should be damn slow
> and you will have a very hard time to use this system while it is trying to
> read the CD.

This has not been my experience.  Reading from hda continues to
work as expected.  But the process reading from hdc stays stuck
in D state for a _long_ time....  A kill -9 takes like 10 minutes
before it gets around to actually killing anything.

> 2)
> Two drives, each on a seperate cable and on different chipsets:
> /dev/hda (hard drive) (chipset1)
> /dev/hde (cd-rom) (chipset2)
> 
> Put broken CD into /dev/hde, read it again, and try to read from /dev/hda.
> All should be good, with blue skies, and a responsive system.

Sure.  Same as above.

> Also, can someone say for sure (Andre) that this is a hardware limitation,
> not a Linux IDE locking problem, and with no possibility of a software
> work-around? 

There is a certain amount of delay when a drive hits a bad
sector.  But Linux handles things pretty badly IMHO, and could 
do a much better job.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

  reply	other threads:[~2002-04-26  5:42 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-18 13:13 A CD with errors (scratches etc.) blocks the whole system while reading damadged files Dr. Death
2002-04-19 14:14 ` Richard B. Johnson
2002-04-19 14:22   ` Kent Borg
2002-04-19 14:46     ` Richard B. Johnson
2002-04-19 14:50     ` A CD with errors (scratches etc.) blocks the whole system while reading damaged files Stephen Satchell
2002-04-19 14:28   ` A CD with errors (scratches etc.) blocks the whole system while reading damadged files Darrell Wright
2002-04-19 14:36   ` dr john halewood
2002-04-19 18:00   ` Oliver Xymoron
2002-04-23 22:34   ` Bill Davidsen
2002-04-24 12:31     ` Richard B. Johnson
2002-04-24 19:16       ` Bill Davidsen
2002-04-24 19:52         ` Richard B. Johnson
2002-04-24 22:58         ` Stephen Samuel
2002-04-25  3:33           ` Bill Davidsen
2002-04-26  4:04             ` Mike Fedyk
2002-04-26  5:42               ` Erik Andersen [this message]
2002-04-26  7:35               ` Andre Hedrick
2002-04-25 20:50                 ` Pavel Machek
2002-04-28  2:18                   ` Andre Hedrick
2002-04-26 15:48                 ` Mike Fedyk
2002-04-29 21:46                 ` Bill Davidsen
2002-05-02  3:45                   ` Mike Fedyk
2002-05-02  8:26                     ` Stephen Samuel
2002-05-02  8:49                       ` Xavier Bestel
2002-05-02  8:43                         ` Zwane Mwaikambo
2002-05-02  9:12                           ` Xavier Bestel
2002-05-02 15:48                         ` Mike Fedyk
2002-05-03  7:14                           ` Xavier Bestel
2002-05-02 15:40                       ` Mike Fedyk
2002-05-02 17:15                         ` Stephen Samuel
2002-04-26 15:23               ` Stephen Samuel
2002-04-26 10:16         ` Zwane Mwaikambo
2002-04-19 20:01 ` Erik Andersen
2002-04-21 15:18   ` Denis Vlasenko
2002-04-21 22:54   ` Hans-Peter Jansen
2002-04-22  5:38     ` Andre Hedrick
2002-04-22 14:49   ` Roger Larsson
  -- strict thread matches above, loose matches on Subject: below --
2002-04-30 21:18 Eric M

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=20020426054241.GA21799@codepoet.org \
    --to=andersen@codepoet.org \
    --cc=andre@linux-ide.org \
    --cc=davidsen@tmr.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=samuel@bcgreen.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.