From: Andreas Trottmann <andreas.trottmann@aart.ch>
Subject: Re: non-DMA CMD646 driver
Date: Thu, 11 Dec 1997 01:45:12 +0100 [thread overview]
Message-ID: <b73f9efb218c0f73fd332f1b9056d732.axp-list@archive.invalid> (raw)
In-Reply-To: <348EC044.4487@i6.informatik.rwth-aachen.de>
On Wed, Dec 10, 1997 at 05:16:04PM +0100, Kai Schuetz wrote:
> I've hacked together suppot of the CMD 646 and CMD643 chips PIO-Mode
> tweaking which is especially useful for owners of PC164, SX164 or LX164
> Alpha-Boards.
>
> Linear-Read transfer speed rose from 1.5Mb/s to ~5Mb/s !
I tried it on my Miata (Personal Workstation 433a). It *did* boost
performance (hdparm went up from 800 KB/sec to >6 MB/sec), but after I
put on some IDE load it seemed to lock up something quite heavily:
This is what I did:
tar -cf - /mnt/cd >/dev/null &
tar -cf - /usr/local/spare >/dev/null &
(where the CD-ROM is an ATAPI one on /dev/hdb and /usr/local/spare is on
some a Maxtor 71260 AT disk on /dev/hdc). It worked for half a minute,
but then started to cause some trouble:
Dec 11 01:19:02 clockwork kernel: hdc: irq timeout: status=0xd0 { Busy }
Dec 11 01:19:32 clockwork kernel: ide1: reset timed-out, status=0xd0
Dec 11 01:19:32 clockwork kernel: hdc: status timeout: status=0xd0 { Busy }
Dec 11 01:19:32 clockwork kernel: hdc: drive not ready for command
Dec 11 01:20:02 clockwork kernel: ide1: reset timed-out, status=0xd0
Dec 11 01:20:02 clockwork kernel: hdc: status timeout: status=0xd0 { Busy }
Dec 11 01:20:02 clockwork kernel: end_request: I/O error, dev 16:05,
sector 32786
Dec 11 01:20:02 clockwork kernel: hdc: drive not ready for command
Dec 11 01:20:02 clockwork kernel: hdc: status timeout: status=0xd0 { Busy }
... then, it went on a bit like this...
Dec 11 01:31:04 clockwork kernel: ide1: reset: master: error (0x00?)
Dec 11 01:31:04 clockwork kernel: hdc: status error: status=0x58 {
DriveReady SeekComplete DataRequest }
Dec 11 01:31:04 clockwork kernel: hdc: drive not ready for command
Dec 11 01:31:04 clockwork kernel: hdc: set_geometry_intr: status=0x80 {
Busy }
Dec 11 01:31:13 clockwork kernel: ide1: reset: success
... here, the HD made some quite frightening sound :-) ...
Dec 11 01:31:23 clockwork kernel: hdc: irq timeout: status=0xd0 { Busy }
Dec 11 01:31:53 clockwork kernel: ide1: reset timed-out, status=0xd0
Dec 11 01:31:53 clockwork kernel: hdc: status timeout: status=0xd0 { Busy }
Dec 11 01:31:53 clockwork kernel: hdc: drive not ready for command
Both tar processes hung with status D (which means "uninterruptable
sleep", IIRC), but after ten minutes or so, I was able to kill them. Both
devices are still not accessible, and it still seems to be constantly
resetting the dive.
I think I'll reboot and look if the HD is still OK :-))
> hdparm -m16 -c1 -p5 /dev/hda
> hdparm -p9 /dev/hda
> hdparm -p7 /dev/hda
That's exactly what I did.
> Just take a 2.1.* kernel (I took linux-2.1.67-BEFORE-MEGAMERGE.tar.gz
> from David Mosberger Tang) and apply the attached diff to cmd640.c in
> drivers/block.
Oops... I didn't even read this before trying it! I just patched it into
my 2.0.32 kernel (Linus' 2.0.32 sources plus Jay's
alpha-patches-2.0.32-0.1) and got only one reject concerning the
changement from "cmd640" to "cmd%s" in the kprintf()s, so I thought it was
safe... could this be causing the problems?
> Please also not I feel not responsible for any loss of data/problems
> due to the patch,
Of course! And don't take this mail as a flame -- I just tried your patch
and am reporting a problem, hoping it can be of help to you. Also, I'd
really like to see my IDE sped up a bit.
If you miss any details in this report (it's getting late and I want to
have more sleep this night than the two hours I had last night...) don't
hesitate to ask.
--
Andreas Trottmann <andreas.trottmann@aart.ch>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next parent reply other threads:[~1997-12-11 0:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <348EC044.4487@i6.informatik.rwth-aachen.de>
1997-12-11 0:45 ` Andreas Trottmann [this message]
1997-12-11 16:27 non-DMA CMD646 driver Kai Schuetz
[not found] <19971211014512.26161@vision.aart.ch>
1997-12-11 0:50 ` Andreas Trottmann
-- strict thread matches above, loose matches on Subject: below --
1997-12-10 16:16 Kai Schuetz
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox