From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Andre Hedrick <andre@linux-ide.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] IDE cleanup (1.612) broke all fdisks I have...
Date: Fri, 6 Sep 2002 12:30:59 +0200 [thread overview]
Message-ID: <10244EC5BEF@vcnet.vc.cvut.cz> (raw)
On 5 Sep 02 at 15:53, Andre Hedrick wrote:
>
> I know you are active in 2.5, and I would like to tap your resouces and
> ideas. Would it be possible to put things behind and move forward, as
> Halloween is near? TIA!
I have no problem, I did not CC-ed you because of it looked to me like
pure 2.5.x problem. And besides that, my interest in IDE is currently
limited to get working system so I can continue in ncpfs and matroxfb
hacking ;-)
If you are interested in long story, then here it comes...
On Sunday afternoon my primary channel (Promise 20265) started magically
dying while starting Netware6 as a guest in VMware. After poking here
and there I found that simple 'cat Netware6.vmdk > /dev/null' kills the
system: cat in D state, IDE doing nothing.
So I tried 2.5.32, 2.5.31, 2.5.29-c476 and 2.4.19-pre7, and behavior was
all same - cat-ting Netware6.vmdk killed system, regardles of your/Martins
IDE, or kernel version.
Then an Idea appeared: I did "hdparm -d 0 /dev/hde", and then I did
"cat Netware6.vmdk > /dev/null" - and, voila, Unrecoverable error
reading sector XXXXXX appeared.
Well, so disk died, and there are missing some timeouts or error recovery
in the pdc driver while using UDMA on 20265. I hoped that I'll look into
that, but...
... I booted Windows, and started Windows Data Lifeguard tools. They told
me that disk has really problem, so I run extended test and let it
reallocate bad sector. It told me that everything was fine, so I rerun
it again, and it again found (same) bad sector, and told me that something
went wrong. So I concluded that disk is really dead, rebooted windows and...
... my MBR was full of crap. Then I brought disk to the work, downloaded
Western's DOS based tool, and it repaired disk without a glitch. So
my current idea is that WDL version I have relocated sector 0 instead
of bad sector :-( Grr... Now back to the my problems ;-) gpart recovered
partitions, and everything was nice.
Yesterday new disks arrived, and I found that I cannot partition that,
as cfdisk reports unreadable disk although I specified -h/-s/-c on
the command line. fdisk worked, though, after using extended options
to set c/h/s params, but fixed kernel and simple cfdisk UI is better
(although cfdisk does not allow to set extended partition as bootable
one, so I had to do that in fdisk anyway).
So now when I have working system back, I can actually look at promise
driver what's wrong there. Unfortunately, as DOS diag tool repaired
my drive, it looks like that even if I'll find where bug lives, it
will not be easy to verify it...
And because of I now have my HDD in the removable bay internally connected
using 40w cable (it is about 2 inches of 40w cable, but apparently
it is enough to get some echos or bad impendance or...) to the 80w one,
kernel found 80w cable and decided to use 88.8MB/s on my i845. It was
unreliable, so I did 'hdparm -X 66 /dev/hdc', and now disk works OK, but
atapci reports cycle time 7ns, transfer rate 266.6MB/s. But it looks more
like atapci problem than IDE driver problem, as disk really works fine.
I'll look at all problems reported here (except WDL... I do not have
their sources, maybe they fixed it already in newer versions, and I have
no way to test it again until new bad sector appears), but I cannot say
in what timeframe... Probably this year ;-)
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
next reply other threads:[~2002-09-06 10:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-06 10:30 Petr Vandrovec [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-05 18:13 [PATCH] IDE cleanup (1.612) broke all fdisks I have Petr Vandrovec
2002-09-05 22:53 ` Andre Hedrick
2002-09-05 23:39 ` Alexander Viro
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=10244EC5BEF@vcnet.vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=andre@linux-ide.org \
--cc=linux-kernel@vger.kernel.org \
/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