From: Mike Fedyk <mfedyk@matchmail.com>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Andre Hedrick <andre@linux-ide.org>,
Stephen Samuel <samuel@bcgreen.com>,
linux-kernel@vger.kernel.org
Subject: Re: A CD with errors (scratches etc.) blocks the whole system while reading damadged files
Date: Wed, 1 May 2002 20:45:30 -0700 [thread overview]
Message-ID: <20020502034530.GT574@matchmail.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10204260028140.10216-100000@master.linux-ide.org> <Pine.LNX.3.96.1020429173812.26335B-100000@gatekeeper.tmr.com>
On Mon, Apr 29, 2002 at 05:46:28PM -0400, Bill Davidsen wrote:
> On Fri, 26 Apr 2002, Andre Hedrick wrote:
>
> >
> > Basically it is a global design flaw from the beginning, and since I have
> > only 2.4 to address it is a real nasty! Short version, each subdriver
> > personally does not do unique error handling.
>
> I'm snipping because obviously lots of folks are reading the previous
> posts. Since you clearly can see the issue, I will let this thread rest in
> hopes that we will have a patch to try and that it will make the whole
> problem shrink if not vanish.
>
> It seems the casual assumption that anyone who has a problem must be
> putting both devices on the same cable has been laid to rest, time to wait
> for new data and/or patches. I will try again next weekend to test the
> same problem using a totally separate (Promise) controller for the CD.
I found a CD that was having trouble reading, and put it on a 12x cd-rom
drive at /dev/hdc (hda - d = PIIX3). The hard drive is on the Promise
controller (hde - h = Promise 20262). Currently there are only two drives
in this system.
I ran:
while true; do find / -xdev -type f -print0 |xargs -0 cat > /dev/null; done
vmstat 1 > /dev/tty9
Then I ran `dd conv=noerror < /dev/hdc > /dev/null` and saw many resets and errors.
Now while this is happening and I'm listening to the hard drive tick away,
and hear the cd-rom drive trying to read the CD, and watching the vmstat
output. All is working great and smooth.
Now, I moved the cd-rom drive over to the promise controller (/dev/hdg,
that's on the *same* controller, but *different* cables (remember, there's
no hope if it's on the same cable as that's an IDE hardware design issue))
and reran the above test, and it was smooth too.
This is with 2.4.19-pre6-vm33, I haven't tested with other kernels.
I'll be adding 3 zip100s, 1 zip250, 1 cd-rw, and 1 ls-120 drive to this
system over the next few days as time permits, so I'll do more testing and
report. As you can see, it'll be a big issue on this system if one drive
dominates the entire system.
Can someone else test some other kernel versions/trees? I'd like this to see more
systematic testing so we can see what exactly triggers the problem.
Oh BTW, I have a cmd649 ide controller I can test too, and in a month or three
I'll be able to test on a via chipset (but with an intel processor though).
Mike
lspci:
00:07.1 IDE interface: Intel Corp. 82371SB PIIX3 IDE [Natoma/Triton II]
00:0b.0 Unknown mass storage controller: Promise Technology, Inc. 20262 (rev 01)
hde: IBM-DPTA-372730, ATA DISK drive
hdg: TOSHIBA CD-ROM XM-5702B, ATAPI CD/DVD-ROM drive
next prev parent reply other threads:[~2002-05-02 3:45 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
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 [this message]
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=20020502034530.GT574@matchmail.com \
--to=mfedyk@matchmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox